Difference between revisions of "Template:Ship"

From Conservapedia
Jump to navigation Jump to search
(added parameters)
(added parameters)
Line 5: Line 5:
 
{{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|250px250px]]|}}
 
{{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|250px250px]]|}}
 
{{!-}}
 
{{!-}}
 +
|colspan="2" align="center" style="color: MidnightBlue; font-size: 100%; height: 18px; background: LightBlue no-repeat scroll top left;"| '''Career'''
 +
|-
 
<!----Flag--------------->
 
<!----Flag--------------->
 
{{#if:{{{flag|}}} | <!--then:-->
 
{{#if:{{{flag|}}} | <!--then:-->
Line 11: Line 13:
 
}}
 
}}
 
{{!-}}
 
{{!-}}
−
<!----Line--------------->
+
<!----Owner-------------->
−
{{#if:{{{line|}}} | <!--then:-->
+
{{#if:{{{owner|}}} | <!--then:-->
−
{{!}}width=40%{{!}} '''Line'''
+
{{!}}width=40%{{!}} '''Owner'''
−
{{!}} {{{line|}}} | <!--else-->
+
{{!}} {{{owner|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Port--------------->
 +
{{#if:{{{port|}}} | <!--then:-->
 +
{{!}}width=40%{{!}} '''Home port'''
 +
{{!}} {{{port|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
Line 41: Line 49:
 
}}
 
}}
 
{{!-}}
 
{{!-}}
 +
<!----Status--------------->
 +
{{#if:{{{status|}}} | <!--then:-->
 +
{{!}}width=40%{{!}} '''Status'''
 +
{{!}} {{{status|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
|colspan="2" align="center" style="color: MidnightBlue; font-size: 100%; height: 18px; background: LightBlue no-repeat scroll top left;"| '''Characteristics'''
 +
|-
 
<!----Displacement--------->
 
<!----Displacement--------->
 
{{#if:{{{displ|}}} | <!--then:-->
 
{{#if:{{{displ|}}} | <!--then:-->
Line 87: Line 103:
 
{{!}} '''Crew'''
 
{{!}} '''Crew'''
 
{{!}} {{{crew|}}} | <!--else-->
 
{{!}} {{{crew|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Troops-------------->
 +
{{#if:{{{troops|}}} | <!--then:-->
 +
{{!}} '''Troops'''
 +
{{!}} {{{troops|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
Line 103: Line 125:
 
  {{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|port         |Home port        |no | }}
 +
{{Parm|owner        |owner            |no | commercial owner}}
 
  {{Parm|built        |Shipyard          |no | }}
 
  {{Parm|built        |Shipyard          |no | }}
 
  {{Parm|launched    |Launched          |no | date launched}}
 
  {{Parm|launched    |Launched          |no | date launched}}
 
  {{Parm|retired      |Retired          |no | date decommisioned }}
 
  {{Parm|retired      |Retired          |no | date decommisioned }}
 +
{{Parm|status      |Status            |no | }}
 
  {{Parm|type        |Type              |no | destroyer, frigate etc.}}
 
  {{Parm|type        |Type              |no | destroyer, frigate etc.}}
 
  {{Parm|displ        |Displacement      |no | }}
 
  {{Parm|displ        |Displacement      |no | }}
Line 113: Line 137:
 
  {{Parm|draft        |Draft            |no | }}
 
  {{Parm|draft        |Draft            |no | }}
 
  {{Parm|speed        |Speed            |no | speed in knots }}
 
  {{Parm|speed        |Speed            |no | speed in knots }}
−
  {{Parm|test        |Test depth        |no | }}
+
  {{Parm|test        |Test depth        |no | for submarines}}
−
  {{Parm|armament    |Armament          |no | }}
+
  {{Parm|armament    |Armament          |no | if appropriate}}
 
  {{Parm|crew        |Crew              |no | }}
 
  {{Parm|crew        |Crew              |no | }}
 +
{{Parm|troops      |Troops            |no | if appropriate}}
 
  {{Parm|pass        |Passengers        |no | if appropriate}}
 
  {{Parm|pass        |Passengers        |no | if appropriate}}
 
}}
 
}}
Line 127: Line 152:
 
| image=
 
| image=
 
| flag=
 
| flag=
−
| line=
+
| owner=
 
| built=
 
| built=
 
| launched=
 
| launched=
 
| retired=
 
| retired=
 +
| status=
 
| type=
 
| type=
 
| displ=
 
| displ=
Line 140: Line 166:
 
| armament=
 
| armament=
 
| crew=
 
| crew=
 +
| troops=
 
| pass=
 
| pass=
 
|}
 
|}
 
<nowiki>}}</nowiki></pre>
 
<nowiki>}}</nowiki></pre>
 
</noinclude>
 
</noinclude>

Revision as of 06:09, July 16, 2007

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
flag Flag no country of registry
port Home port no
owner owner no commercial owner
built Shipyard no
launched Launched no date launched
retired Retired no date decommisioned
status Status no
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 for submarines
armament Armament no if appropriate
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=
| flag=
| owner=
| built=
| launched=
| retired=
| status=
| type=
| displ=
| length=
| beam=
| draft=
| speed=
| test=
| armament=
| crew=
| troops=
| pass=
|}
}}