Difference between revisions of "Template:Ship"
Jump to navigation
Jump to search
| Line 3: | Line 3: | ||
|- | |- | ||
<!----------Image----------> | <!----------Image----------> | ||
| − | {{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|250px]]|}} | + | {{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|250px{{#if:{{{caption|}}}|{{!}}frame{{!}}{{{caption}}}|}}]]|}} |
{{!-}} | {{!-}} | ||
|colspan="2" align="center" style="color: MidnightBlue; font-size: 100%; height: 18px; background: LightBlue no-repeat scroll top left;"| '''Career''' | |colspan="2" align="center" style="color: MidnightBlue; font-size: 100%; height: 18px; background: LightBlue no-repeat scroll top left;"| '''Career''' | ||
| Line 150: | Line 150: | ||
{{Parm|name |Name of ship |no | defaults to page name}} | {{Parm|name |Name of ship |no | defaults to page name}} | ||
{{Parm|image |Picture of ship |no | image name only}} | {{Parm|image |Picture of ship |no | image name only}} | ||
| + | {{Parm|caption |Caption of image |no | }} | ||
{{Parm|flag |Flag |no | country of registry. Image name only.}} | {{Parm|flag |Flag |no | country of registry. Image name only.}} | ||
{{Parm|flag-caption |Caption for flag |no | }} | {{Parm|flag-caption |Caption for flag |no | }} | ||
Revision as of 16:17, December 4, 2008
| 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=
| flag=
| flag-caption=
| owner=
| built=
| launched=
| retired=
| status=
| type=
| displ=
| length=
| beam=
| draft=
| speed=
| test=
| armament=
| crew=
| troops=
| pass=
|}
}}