Difference between revisions of "Template:Ship-info"

From TRMN
Jump to navigation Jump to search
(add hyphen)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| class="sidebar" align="right" colSpan="2" width="200px" cellpadding="4" cellspacing="0"
<includeonly>{| class="wikitable" align="right" colSpan="2" width="200px" cellpadding="4" cellspacing="0"
|-  
|-  
| class="class" width="200px" colSpan="2" | STARSHIP
| class="class" width="200px" colSpan="2" align="center" bgcolor="grey" | '''SHIP'''
|-
|-
| class="image" colspan="2" align="center" | {{#if: {{{image|}}}
| class="image" colspan="2" align="center" | {{#if: {{{image|}}}
Line 18: Line 18:
{{#if: {{{class|}}}|
{{#if: {{{class|}}}|
{{!}} class="left" {{!}} '''Class:'''
{{!}} class="left" {{!}} '''Class:'''
{{!}} class="righta" {{!}} ''[[{{{class}}} class|{{{class}}}]]}}''
{{!}} class="righta" {{!}} ''[[{{{class}}}-class|{{{class}}}]]}}''
|- valign="top"
|- valign="top"
{{#if: {{{type|}}}|
{{#if: {{{type|}}}|
Line 82: Line 82:
|-  
|-  
| type
| type
| Type of ship. ([[destroyer]], [[light cruiser]], [[escort]], [[superdreadnought]], etc.) <nowiki>[[Linked]]</nowiki> automatically.
| Type of ship. ([[Destroyer]], [[Light Cruiser]], Escort, [[Superdreadnought]], etc.) <nowiki>[[Linked]]</nowiki> automatically.
|-  
|-  
| affiliation
| affiliation

Latest revision as of 20:22, 27 July 2022


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. Flag RMN.png Royal Manticoran Navy, Flag GSN.png Grayson Space Navy, Imperial Andermani Navy, Republic of Haven Navy, private, independent, etc.
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: Flag RMN.png Royal Manticoran Navy
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
}}