Template:Ship-info: Difference between revisions
Jump to navigation
Jump to search
add hyphen |
m Modernize: align(table)->float:right, align(cell)->text-align, bgcolor/font->style [audit Batch C Wave 4] |
||
| Line 1: | Line 1: | ||
<includeonly>{| class="wikitable | <includeonly>{| class="wikitable" colSpan="2" width="200px" cellpadding="4" cellspacing="0" style="float:right" | ||
|- | |- | ||
| class="class" width="200px" colSpan="2" | | class="class" width="200px" colSpan="2" style="text-align:center; background:grey" | '''SHIP''' | ||
|- | |- | ||
| class="image" colspan="2" | | class="image" colspan="2" style="text-align:center" | {{#if: {{{image|}}} | ||
| {{sidebar image|{{{image}}}}} | | {{sidebar image|{{{image}}}}} | ||
| [[File:TenthFleet.png]] | | [[File:TenthFleet.png]] | ||
| Line 42: | Line 42: | ||
|- valign="top" | |- valign="top" | ||
{{#if: {{{image2|}}}| | {{#if: {{{image2|}}}| | ||
{{!}} class="image" colspan="2" | {{!}} class="image" colspan="2" style="text-align:center" {{!}} {{sidebar image|{{{image2}}}}}}} | ||
|- valign="top" | |- valign="top" | ||
{{#if: {{{altimage|}}}| | {{#if: {{{altimage|}}}| | ||
{{!}} class="image" colspan="2" | {{!}} class="image" colspan="2" style="text-align:center" {{!}} {{{altimage}}}}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
Revision as of 08:35, 12 July 2026
Usage
{{Ship-info
| image =
| name =
| hcn =
| class =
| type =
| affiliation =
| launched =
| armaments =
| status =
| image2 =
| altimage =
}}
Parameters
Parameters in bold are required fields. Not bold = optional.
| Parameter | Explanation |
|---|---|
| image | An image relevant to the ship. If no image is available, omit this parameter and [[File:TenthFleet.png]] will automatically be used. |
| name | Name of the vessel (in italics ('' '')). "HMS", etc. should NOT be italicized. Example: HMS Manticore. |
| hcn | The ship's hull classification number (ie: DD-200 or BC-590). If none, leave blank. |
| class | Class of ship this vessel belongs to (Nike, Roland, Raoul Courvosier, etc.). Specify only the class name (not [[name class|name]]). Italicized and [[linked]] automatically. |
| type | Type of ship. (Destroyer, Light Cruiser, Escort, Superdreadnought, etc.) [[Linked]] automatically. |
| affiliation | The affiliation of the ship. |
| launched | Date of ship's launch. |
| status | Was the ship last "active", "decommissioned", etc. |
| image2 / altimage | Second image relevant to the ship (optional). |
Example when done
| SHIP | |
| File:Nike class.jpg | |
| Name: | HMS Nike |
| Class: | Nike |
| Type: | battlecruiser |
| Affiliation: | |
| Status: | active |
| File:Nike class2.jpg | |
{{Ship-info
| image = Nike class.jpg
| name = HMS ''Nike''
| hcn = BC-590
| affiliation = {{rmn}}
| type = battlecruiser
| class = Nike
| status = active
| image2 = Nike class2.jpg
}}