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--> | ||
| + | }} | ||
| + | <!----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 160: | Line 167: | ||
{{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|type |Type |no | destroyer, frigate etc. and class of ship}} | ||
{{Parm|port |Home port |no | }} | {{Parm|port |Home port |no | }} | ||
Revision as of 18:35, July 20, 2009
{{#if: |
| Ship | |
|---|---|
| Career | |
| Flag | [[image:|50px|center]]
|
| 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 | |
| jack | Jack | no | |
| type | Type | no | destroyer, frigate etc. and class of ship |
| port | Home port | no | |
| owner | owner | no | commercial owner |
| built | Shipyard | no | |
| authorized | Authorized | no | |
| keellaid | Keel laid | no | |
| launched | Launched | no | date launched |
| commissioned | Commissioned | no | |
| decommissioned | Decommissioned | no | |
| retired | Retired | 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 |
| 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=
| launched=
| commissioned=
| decommissioned=
| retired=
| status=
| type=
| displ=
| length=
| beam=
| draft=
| speed=
| test=
| armament=
| crew=
| troops=
| pass=
|}
}}