Difference between revisions of "Template:Ship"

From Conservapedia
Jump to navigation Jump to search
(Expanded and reformatted)
m (formatting)
Line 3: Line 3:
 
|-
 
|-
 
<!----------Image---------->
 
<!----------Image---------->
−
{{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|280px280px]]|}}
+
{{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|250px250px]]|}}
 
{{!-}}
 
{{!-}}
 
<!----Flag--------------->
 
<!----Flag--------------->
Line 36: Line 36:
 
{{!-}}
 
{{!-}}
 
<!----Displacement--------->
 
<!----Displacement--------->
−
{{#if:{{{disp|}}} | <!--then:-->
+
{{#if:{{{displ|}}} | <!--then:-->
 
{{!}}width=40%{{!}} '''Displacement'''
 
{{!}}width=40%{{!}} '''Displacement'''
−
{{!}} {{{disp|}}} | <!--else-->
+
{{!}} {{{displ|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}

Revision as of 05:00, 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
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

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=
| built=
| launched=
| retired=
| type=
| displ=
| length=
| beam=
| draft=
| speed=
| test=
| armament=
| crew=
|}
}}