Difference between revisions of "Template:Ship"

From Conservapedia
Jump to navigation Jump to search
m (formatting)
(added parameters)
Line 9: Line 9:
 
{{!}}width=40%{{!}} '''Flag'''
 
{{!}}width=40%{{!}} '''Flag'''
 
{{!}} {{{flag|}}} | <!--else-->
 
{{!}} {{{flag|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Line--------------->
 +
{{#if:{{{line|}}} | <!--then:-->
 +
{{!}}width=40%{{!}} '''Line'''
 +
{{!}} {{{line|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
Line 81: Line 87:
 
{{!}} '''Crew'''
 
{{!}} '''Crew'''
 
{{!}} {{{crew|}}} | <!--else-->
 
{{!}} {{{crew|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Passengers---------->
 +
{{#if:{{{pass|}}} | <!--then:-->
 +
{{!}} '''Passengers'''
 +
{{!}} {{{pass|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
Line 91: Line 103:
 
  {{Parm|image        |Picture of ship  |no | }}
 
  {{Parm|image        |Picture of ship  |no | }}
 
  {{Parm|flag        |Flag              |no | country of registry}}
 
  {{Parm|flag        |Flag              |no | country of registry}}
 +
{{Parm|line        |Line              |no | commercial owner}}
 
  {{Parm|built        |Shipyard          |no | }}
 
  {{Parm|built        |Shipyard          |no | }}
 
  {{Parm|launched    |Launched          |no | date launched}}
 
  {{Parm|launched    |Launched          |no | date launched}}
Line 103: Line 116:
 
  {{Parm|armament    |Armament          |no | }}
 
  {{Parm|armament    |Armament          |no | }}
 
  {{Parm|crew        |Crew              |no | }}
 
  {{Parm|crew        |Crew              |no | }}
 +
{{Parm|pass        |Passengers        |no | if appropriate}}
 
}}
 
}}
 
NOTE:  Omitted paramaters will not be displayed.
 
NOTE:  Omitted paramaters will not be displayed.
Line 113: Line 127:
 
| image=
 
| image=
 
| flag=
 
| flag=
 +
| line=
 
| built=
 
| built=
 
| launched=
 
| launched=
Line 125: Line 140:
 
| armament=
 
| armament=
 
| crew=
 
| crew=
 +
| pass=
 
|}
 
|}
 
<nowiki>}}</nowiki></pre>
 
<nowiki>}}</nowiki></pre>
 
</noinclude>
 
</noinclude>

Revision as of 05:38, July 16, 2007

Ship

Template: Ship
Use on Ship articles
Use for Infobox
Category template applies to page Ships
Template Parameters
(See using templates).
Name Purpose Required? Comment
name Name of ship no defaults to page name
image Picture of ship no
flag Flag no country of registry
line Line no commercial owner
built Shipyard no
launched Launched no date launched
retired Retired no date decommisioned
type Type no destroyer, frigate etc.
displ Displacement no
length Length no
beam Beam no
draft Draft no
speed Speed no speed in knots
test Test depth no
armament Armament no
crew Crew no
pass Passengers no if appropriate

NOTE: Omitted paramaters will not be displayed.

Sample Data Block

The following may be copied and pasted at the top of the page being edited.

{{Ship 
| name= 
| image=
| flag=
| line=
| built=
| launched=
| retired=
| type=
| displ=
| length=
| beam=
| draft=
| speed=
| test=
| armament=
| crew=
| pass=
|}
}}