Difference between revisions of "Template:Ship"
Jump to navigation
Jump to search
m |
|||
| 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--> | <small><center>{{{flag-caption|}}}</center></small> | <!--else--> | ||
}} | }} | ||
| Line 26: | Line 19: | ||
{{!}}'''Flag''' | {{!}}'''Flag''' | ||
{{!}}{{{flag-raw}}} | <!--else--> | {{!}}{{{flag-raw}}} | <!--else--> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
{{!-}} | {{!-}} | ||
| Line 62: | Line 49: | ||
{{!}}width=40%{{!}} '''Keel laid''' | {{!}}width=40%{{!}} '''Keel laid''' | ||
{{!}} {{{keellaid|}}} | <!--else--> | {{!}} {{{keellaid|}}} | <!--else--> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
{{!-}} | {{!-}} | ||
| Line 76: | Line 57: | ||
}} | }} | ||
{{!-}} | {{!-}} | ||
| − | <!---- | + | <!----Launched-----------> |
| − | {{#if:{{{ | + | {{#if:{{{launched|}}} | <!--then:--> |
| − | {{!}}width=40%{{!}} ''' | + | {{!}}width=40%{{!}} '''Launched''' |
| − | {{!}} {{{ | + | {{!}} {{{launched|}}} | <!--else--> |
}} | }} | ||
{{!-}} | {{!-}} | ||
| Line 86: | Line 67: | ||
{{!}}width=40%{{!}} '''Retired''' | {{!}}width=40%{{!}} '''Retired''' | ||
{{!}} {{{retired|}}} | <!--else--> | {{!}} {{{retired|}}} | <!--else--> | ||
| + | }} | ||
| + | {{!-}} | ||
| + | <!----Type-----------------> | ||
| + | {{#if:{{{type|}}} | <!--then:--> | ||
| + | {{!}}width=40%{{!}} '''Type''' | ||
| + | {{!}} {{{type|}}} | <!--else--> | ||
}} | }} | ||
{{!-}} | {{!-}} | ||
| Line 167: | Line 154: | ||
{{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|port |Home port |no | }} | {{Parm|port |Home port |no | }} | ||
{{Parm|owner |owner |no | commercial owner}} | {{Parm|owner |owner |no | commercial owner}} | ||
| Line 174: | Line 159: | ||
{{Parm|authorized |Authorized |no | }} | {{Parm|authorized |Authorized |no | }} | ||
{{Parm|keellaid |Keel laid |no | }} | {{Parm|keellaid |Keel laid |no | }} | ||
| + | {{Parm|commissioned |Commissioned |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|status |Status |no | }} | ||
| + | {{Parm|type |Type |no | destroyer, frigate etc.}} | ||
{{Parm|displ |Displacement |no | }} | {{Parm|displ |Displacement |no | }} | ||
{{Parm|length |Length |no | }} | {{Parm|length |Length |no | }} | ||
| Line 205: | Line 190: | ||
| authorized= | | authorized= | ||
| keellaid= | | keellaid= | ||
| + | | commissioned= | ||
| launched= | | launched= | ||
| − | |||
| − | |||
| retired= | | retired= | ||
| status= | | status= | ||
Revision as of 18:35, July 20, 2009
| 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 | |
| authorized | Authorized | no | |
| keellaid | Keel laid | no | |
| commissioned | Commissioned | 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=
| caption=
| flag=
| flag-caption=
| owner=
| built=
| authorized=
| keellaid=
| commissioned=
| launched=
| retired=
| status=
| type=
| displ=
| length=
| beam=
| draft=
| speed=
| test=
| armament=
| crew=
| troops=
| pass=
|}
}}