Difference between revisions of "Template:Ship"

From Conservapedia
Jump to navigation Jump to search
(Remove fixed size)
(Documenting)
Line 26: Line 26:
 
| {{{crew|}}}
 
| {{{crew|}}}
 
|}<noinclude>
 
|}<noinclude>
 +
{{TemplateDoc|pages=Ship articles|purpose=Infobox}}
 +
{{Parms|
 +
{{Parm|name|Name of ship|yes}}
 +
{{Parm|disp|Displacement|no}}
 +
{{Parm|length|Length|no}}
 +
{{Parm|beam|Beam|no}}
 +
{{Parm|draft|Draft|no}}
 +
{{Parm|speed|Speed|no}}
 +
{{Parm|test|Test depth|no}}
 +
{{Parm|armament|Armament|no}}
 +
}}
 +
NOTE:  Omitted paramaters will still display as blank fields.
 +
 
Usage: <nowiki>{{Ship|name=|disp=|length=|beam=|draft=|speed=|test=|armament=|crew=}}</nowiki>
 
Usage: <nowiki>{{Ship|name=|disp=|length=|beam=|draft=|speed=|test=|armament=|crew=}}</nowiki>
−
 
+
</noinclude>
−
Not all parameters have to be included: <nowiki>{{Ship|name=Name|crew=50}}</nowiki> works, too.</noinclude>
 

Revision as of 12:30, July 9, 2007

{{{name}}}
Displacement
Length
Beam
Draft
Speed
Test depth
Armament
Crew

Template: Ship
Use on Ship articles
Use for Infobox
Category template applies to page (none)
Template Parameters
(See using templates).
Name Purpose Required? Comment
name Name of ship yes
disp Displacement no
length Length no
beam Beam no
draft Draft no
speed Speed no
test Test depth no
armament Armament no

NOTE: Omitted paramaters will still display as blank fields.

Usage: {{Ship|name=|disp=|length=|beam=|draft=|speed=|test=|armament=|crew=}}