Template:Infobox-chapter: Difference between revisions
No edit summary |
Restoring, with a few modifications |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{| class="sidebar" align="right" colSpan="2" width="250px" cellpadding="4" cellspacing="0" | ||
{| class="sidebar" align="right" colSpan="2" width="250px" cellpadding="4" cellspacing="0" | |||
|- | |- | ||
| class="class" width="250px" colSpan="2" align="center" | '''{{PAGENAME}}''' | | class="class" width="250px" colSpan="2" align="center" | '''{{PAGENAME}}''' | ||
|- | |- | ||
| class="image" colspan="2" align="center" {{ | | class="image" colspan="2" align="center" | {{#if: {{{crest|}}} | ||
|- valign="top" {!}} class="image" colspan="2" align="center" align="center" colspan="2" {{!}} | | {{sidebar image|{{{crest}}}}} | ||
|- valign="top"{{{name}}}| | |||
}} | |||
|- valign="top" | |||
{{#if: {{{image|}}}| | |||
{{!}} class="image" colspan="2" align="center" align="center" colspan="2" {{!}} {{sidebar image|{{{image}}}}}}} | |||
|- valign="top" | |||
{{#if: {{{name|}}}| | |||
{{!}} class="left" {{!}} '''Name:''' | {{!}} class="left" {{!}} '''Name:''' | ||
{{!}} class="righta" {{!}} {{{name}}} | {{!}} class="righta" {{!}} {{{name}}}}} | ||
|- valign="top" | |- valign="top" | ||
{{#if: {{{hcn|}}}| | |||
{{!}} class="left" {{!}} '''[[HCN]]:''' | {{!}} class="left" {{!}} '''[[HCN]]:''' | ||
{{!}} class="righta" {{!}} {{{hcn}}} | {{!}} class="righta" {{!}} {{{hcn}}}}} [[Category:{{{hcn}}}]] | ||
|- valign="top" | |- valign="top" | ||
{{!}} class="left" {{!}} ''' | {{#if: {{{city|}}}| | ||
{{!}} class="righta" {{!}} {{{city}}} | {{!}} class="left" {{!}} '''Charter City:''' | ||
{{!}} class="righta" {{!}} {{{city}}}}} | |||
|- valign="top" | |- valign="top" | ||
{{!}} class="left" {{!}} '''Class:''' | {{#if: {{{class|}}}| | ||
{{!}} class="righta" {{!}} ''[[{{{class}}}-class]]'' | {{!}} class="left" {{!}} '''Class:''' [[Category:{{{class}}}-class]] | ||
{{!}} class="righta" {{!}} ''[[{{{class}}}-class|{{{class}}}]]}}'' | |||
|- valign="top" | |- valign="top" | ||
{{#if: {{{type|}}}| | |||
{{!}} class="left" {{!}} '''Type:''' | {{!}} class="left" {{!}} '''Type:''' | ||
{{!}} class="righta" {{!}} [[{{{type}}}]] | {{!}} class="righta" {{!}} [[{{{type}}}]]}} | ||
|- valign="top" | |- valign="top" | ||
{{#if: {{{affiliation|}}}| | |||
{{!}} class="left" {{!}} '''Affiliation:''' | {{!}} class="left" {{!}} '''Affiliation:''' | ||
{{!}} class="righta" {{!}} {{{affiliation}}} | {{!}} class="righta" {{!}} {{{affiliation}}}}} | ||
|- valign="top" | |- valign="top" | ||
{{#if: {{{co|}}}| | |||
{{!}} class="left" {{!}} '''Commander:''' | {{!}} class="left" {{!}} '''Commander:''' | ||
{{!}} class="righta" {{!}} {{{co}}} | {{!}} class="righta" {{!}} {{{co}}}}} | ||
|- valign="top" | |- valign="top" | ||
{{#if: {{{launched|}}}| | |||
{{!}} class="left" {{!}} '''Launched:''' | {{!}} class="left" {{!}} '''Launched:''' | ||
{{!}} class="righta" {{!}} {{{launched}}} | {{!}} class="righta" {{!}} {{{launched}}}}} | ||
|- valign="top" | |- valign="top" | ||
{{ | {{#ifeq:{{{status}}}|Active|[[Category:Chapters]]|""}} | ||
|- valign="top" | |- valign="top" | ||
{{#if: {{{reportsto|}}}| | |||
{{!}} class="left" {{!}} '''Reporting to:''' | {{!}} class="left" {{!}} '''Reporting to:''' | ||
{{!}} class="righta" {{!}} [[{{{reportsto}}}]] | {{!}} class="righta" {{!}} [[{{{reportsto}}}]]}} | ||
|- valign="top" | |- valign="top" | ||
{{#if: {{{fleet|}}}| | |||
{{!}} class="left" {{!}} '''[[Fleet]]:''' | {{!}} class="left" {{!}} '''[[Fleet]]:''' | ||
{{!}} class="righta" {{!}} [[{{{fleet}}}]] | {{!}} class="righta" {{!}} [[{{{fleet}}}]]}} | ||
|- valign="top" | |- valign="top" | ||
{{#if: {{{website|}}}| | |||
{{!}} class="left" {{!}} '''Website:''' | {{!}} class="left" {{!}} '''Website:''' | ||
{{!}} class="righta" {{!}} [{{{website}}} {{{website}}}] | {{!}} class="righta" {{!}} [{{{website}}} {{{website}}}]}} | ||
|- valign="top" | |- valign="top" | ||
{{!}} class="image" colspan="2" align="center" align="center" colspan="2" {{!}} | {{#if: {{{image2|}}}| | ||
{{!}} class="image" colspan="2" align="center" align="center" colspan="2" {{!}} {{sidebar image|{{{image2}}}}}}} | |||
|- valign="top" | |||
{{#if: {{{altimage|}}}| | |||
{{!}} class="image" colspan="2" align="center" align="center" colspan="2" {{!}} {{{altimage}}}}} | |||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
| Line 75: | Line 92: | ||
|- | |- | ||
|crest | |crest | ||
| The ship's [[crest]] image. If no image is available, omit this parameter | | The ship's [[crest]] image. If no image is available, omit this parameter. | ||
|- | |- | ||
|image | |image | ||
| Line 120: | Line 137: | ||
|} | |} | ||
[[Category:Sidebar templates | [[Category:Sidebar templates]]</noinclude> | ||
Revision as of 20:11, 22 September 2026
Usage
{{Infobox-chapter
| crest =
| image =
| name =
| hcn =
| city =
| class =
| type =
| affiliation =
| co =
| launched =
| status =
| reportsto =
| fleet =
| website =
| image2 =
| altimage =
}}
Parameters
Parameters in bold are required fields. Not bold = optional.
| Parameter | Explanation |
|---|---|
| crest | The ship's crest image. If no image is available, omit this parameter. |
| image | An image relevant to the ship, such as the side elevation or the ship's class image. |
| name | Name of the vessel (in italics ('' '')). "HMS", etc. should NOT be italicized. Example: HMS Fearless. |
| hcn | The ship's hull number (ie: DD-486, BC-592, SD-200, etc). If none, leave blank. |
| city | The chapter's Charter city; essentially the official city of record for that chapter. Do not include any additional areas of patrol, only list a single city or other census-designated place. This will be verified and changed accordingly during edit patrols. |
| class | Class of ship this vessel belongs to (Star Knight, Nike, Invictus, etc.). Specify only the class name (not [[name class|name]]). Italicized and [[linked]] automatically. |
| type | Type of ship. (Destroyer, Light Cruiser, Escort, Battlecruiser, etc.) [[Linked]] automatically. |
| affiliation | The affiliation of the starship. {{rmn}}, {{gsn}}, {{ian}}, etc. |
| co | Name of the Ship's CO. Keep it short (ie: [[CAPTSG]] Dame Honor Harrington, [[RMN]]). Post-nominals will go into the main article. |
| launched | Date of ship's launch. |
| status | Is this ship currently "Active" or has it been "Decommissioned"? |
| reportsto | Which echelon force (fleet, task force, task group, squadron, etc) does this ship report to? Will be [[linked]] automatically. |
| fleet | Which fleet does this chapter belong to? |
| website | Type in the exact URL. Will be [[linked]] automatically. |
| image2 / altimage | Second or third image relevant to the ship (optional), might be the ship's shoulder flash patch or circular logo. |