Difference between revisions of "Template:Ship"

From Conservapedia
Jump to navigation Jump to search
m
m
 
(4 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
{{!}}[[image:{{{flag|}}}|50px|center]]
 
{{!}}[[image:{{{flag|}}}|50px|center]]
 
{{#if:{{{flag-caption|}}} | <!--then:-->
 
{{#if:{{{flag-caption|}}} | <!--then:-->
−
<small><center>{{{flag-caption|}}}</center></small> | <!--else-->
 
−
}}
 
−
<!----Jack--------------->
 
−
{{#if:{{{jack|}}} | <!--then:-->
 
−
{{!}}width=40%{{!}} '''Jack'''
 
−
{{!}}[[image:{{{flag|}}}|50px|center]]
 
−
{{#if:{{{jack-caption|}}} | <!--then:-->
 
 
<small><center>{{{flag-caption|}}}</center></small> | <!--else-->
 
<small><center>{{{flag-caption|}}}</center></small> | <!--else-->
 
}}
 
}}
Line 26: Line 19:
 
{{!}}'''Flag'''
 
{{!}}'''Flag'''
 
{{!}}{{{flag-raw}}} | <!--else-->
 
{{!}}{{{flag-raw}}} | <!--else-->
−
}}
 
−
{{!-}}
 
−
<!----Type----------------->
 
−
{{#if:{{{type|}}} | <!--then:-->
 
−
{{!}}width=40%{{!}} '''Type'''
 
−
{{!}} {{{type|}}} | <!--else-->
 
 
}}
 
}}
 
{{!-}}
 
{{!-}}
Line 50: Line 37:
 
{{!}}width=40%{{!}} '''Shipyard'''
 
{{!}}width=40%{{!}} '''Shipyard'''
 
{{!}} {{{built|}}} | <!--else-->
 
{{!}} {{{built|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Type----------------->
 +
{{#if:{{{type|}}} | <!--then:-->
 +
{{!}}width=40%{{!}} '''Type'''
 +
{{!}} {{{type|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
Line 76: Line 69:
 
}}
 
}}
 
{{!-}}
 
{{!-}}
−
<!----Decommissioned----------->
+
<!----Decommissioned------------>
 
{{#if:{{{decommissioned|}}} | <!--then:-->
 
{{#if:{{{decommissioned|}}} | <!--then:-->
 
{{!}}width=40%{{!}} '''Decommissioned'''
 
{{!}}width=40%{{!}} '''Decommissioned'''
 
{{!}} {{{decommissioned|}}} | <!--else-->
 
{{!}} {{{decommissioned|}}} | <!--else-->
−
}}
 
−
{{!-}}
 
−
<!----Retired------------>
 
−
{{#if:{{{retired|}}} | <!--then:-->
 
−
{{!}}width=40%{{!}} '''Retired'''
 
−
{{!}} {{{retired|}}} | <!--else-->
 
 
}}
 
}}
 
{{!-}}
 
{{!-}}
Line 136: Line 123:
 
{{!}} '''Armament'''
 
{{!}} '''Armament'''
 
{{!}} {{{armament|}}} | <!--else-->
 
{{!}} {{{armament|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Aircraft------------>
 +
{{#if:{{{aircraft|}}} | <!--then:-->
 +
{{!}} '''Aircraft'''
 +
{{!}} {{{aircraft|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
Line 167: Line 160:
 
  {{Parm|flag-caption |Caption for flag  |no | }}
 
  {{Parm|flag-caption |Caption for flag  |no | }}
 
  {{Parm|flag-raw    |Flag              |no | }}
 
  {{Parm|flag-raw    |Flag              |no | }}
−
{{Parm|jack        |Jack              |no | }}
 
−
{{Parm|type        |Type              |no | destroyer, frigate etc. and class of ship}}
 
 
  {{Parm|port        |Home port        |no | }}
 
  {{Parm|port        |Home port        |no | }}
 
  {{Parm|owner        |owner            |no | commercial owner}}
 
  {{Parm|owner        |owner            |no | commercial owner}}
 
  {{Parm|built        |Shipyard          |no | }}
 
  {{Parm|built        |Shipyard          |no | }}
 +
{{Parm|type        |Type              |no | destroyer, frigate etc.}}
 
  {{Parm|authorized  |Authorized        |no | }}
 
  {{Parm|authorized  |Authorized        |no | }}
 
  {{Parm|keellaid    |Keel laid        |no | }}
 
  {{Parm|keellaid    |Keel laid        |no | }}
 
  {{Parm|launched    |Launched          |no | date launched}}
 
  {{Parm|launched    |Launched          |no | date launched}}
 
  {{Parm|commissioned |Commissioned      |no | }}
 
  {{Parm|commissioned |Commissioned      |no | }}
−
  {{Parm|decommissioned |Decommissioned     |no | }}
+
  {{Parm|decommissioned |Decommissioned  |no | date decommisioned }}
−
  {{Parm|retired      |Retired          |no | date decommisioned }}
 
 
  {{Parm|status      |Status            |no | }}
 
  {{Parm|status      |Status            |no | }}
 
  {{Parm|displ        |Displacement      |no | }}
 
  {{Parm|displ        |Displacement      |no | }}
Line 186: Line 177:
 
  {{Parm|test        |Test depth        |no | for submarines}}
 
  {{Parm|test        |Test depth        |no | for submarines}}
 
  {{Parm|armament    |Armament          |no | if appropriate}}
 
  {{Parm|armament    |Armament          |no | if appropriate}}
 +
{{Parm|aircraft    |Aircraft          |no | }}
 
  {{Parm|crew        |Crew              |no | }}
 
  {{Parm|crew        |Crew              |no | }}
 
  {{Parm|troops      |Troops            |no | if appropriate}}
 
  {{Parm|troops      |Troops            |no | if appropriate}}
Line 205: Line 197:
 
| authorized=
 
| authorized=
 
| keellaid=
 
| keellaid=
 +
| commissioned=
 
| launched=
 
| launched=
−
| commissioned=
 
−
| decommissioned=
 
 
| retired=
 
| retired=
 
| status=
 
| status=
Line 218: Line 209:
 
| test=
 
| test=
 
| armament=
 
| armament=
 +
| aircraft=
 
| crew=
 
| crew=
 
| troops=
 
| troops=

Latest revision as of 05:52, April 19, 2010

Ship
Career
Characteristics

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 image name only
caption Caption of image no
flag Flag no country of registry. Image name only.
flag-caption Caption for flag no
flag-raw Flag no
port Home port no
owner owner no commercial owner
built Shipyard no
type Type no destroyer, frigate etc.
authorized Authorized no
keellaid Keel laid no
launched Launched no date launched
commissioned Commissioned no
decommissioned Decommissioned no date decommisioned
status Status no
displ Displacement no
length Length no
beam Beam no
draft Draft no
speed Speed no speed in knots
test Test depth no for submarines
armament Armament no if appropriate
aircraft Aircraft no
crew Crew no
troops Troops no if appropriate
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=
| caption=
| flag=
| flag-caption=
| owner=
| built=
| authorized=
| keellaid=
| commissioned=
| launched=
| retired=
| status=
| type=
| displ=
| length=
| beam=
| draft=
| speed=
| test=
| armament=
| aircraft=
| crew=
| troops=
| pass=
|}
}}