Jump to content

Template:Infobox-chapter: Difference between revisions

From Mantipedia
Mantipedia>JNeitz
fix link
 
EJordan (talk | contribs)
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 5: Line 5:
| class="image" colspan="2" align="center" | {{#if: {{{crest|}}}
| class="image" colspan="2" align="center" | {{#if: {{{crest|}}}
| {{sidebar image|{{{crest}}}}}
| {{sidebar image|{{{crest}}}}}
| [[File:RMNFlash.png|250px]]
 
}}
}}
|- valign="top"
|- valign="top"
Line 17: Line 17:
{{#if: {{{hcn|}}}|
{{#if: {{{hcn|}}}|
{{!}} class="left" {{!}} '''[[HCN]]:'''
{{!}} class="left" {{!}} '''[[HCN]]:'''
{{!}} class="righta" {{!}} {{{hcn}}}}}
{{!}} class="righta" {{!}} {{{hcn}}}}} [[Category:{{{hcn}}}]]
|- valign="top"
|- valign="top"
{{#if: {{{city|}}}|
{{#if: {{{city|}}}|
{{!}} class="left" {{!}} '''[[Charter City]]:'''
{{!}} class="left" {{!}} '''Charter City:'''
{{!}} class="righta" {{!}} {{{city}}}}}
{{!}} class="righta" {{!}} {{{city}}}}}
|- valign="top"
|- valign="top"
{{#if: {{{class|}}}|
{{#if: {{{class|}}}|
{{!}} class="left" {{!}} '''Class:'''
{{!}} class="left" {{!}} '''Class:''' [[Category:{{{class}}}-class]]
{{!}} class="righta" {{!}} ''[[{{{class}}}-class|{{{class}}}]]}}''
{{!}} class="righta" {{!}} ''[[{{{class}}}-class|{{{class}}}]]}}''  
|- valign="top"
|- valign="top"
{{#if: {{{type|}}}|
{{#if: {{{type|}}}|
{{!}} class="left" {{!}} '''Type:'''
{{!}} class="left" {{!}} '''Type:'''
{{!}} class="righta" {{!}} [[{{{type}}}]]}}
{{!}} class="righta" {{!}} [[{{{type}}}]]}}  
|- valign="top"
|- valign="top"
{{#if: {{{affiliation|}}}|
{{#if: {{{affiliation|}}}|
Line 43: Line 43:
{{!}} class="righta" {{!}} {{{launched}}}}}
{{!}} class="righta" {{!}} {{{launched}}}}}
|- valign="top"
|- valign="top"
|- valign="top"
{{#ifeq:{{{status}}}|Active|[[Category:Chapters]]|""}}
{{#if: {{{status|}}}|
{{!}} class="left" {{!}} '''Status:'''
{{!}} class="righta" {{!}} {{{status}}}}}
|- valign="top"
|- valign="top"
{{#if: {{{reportsto|}}}|
{{#if: {{{reportsto|}}}|
{{!}} class="left" {{!}} '''Reporting to:'''
{{!}} class="left" {{!}} '''Reporting to:''' [[Category:{{{reportsto}}}]]
{{!}} class="righta" {{!}} [[{{{reportsto}}}]]}}
{{!}} class="righta" {{!}} [[{{{reportsto}}}]]}}
|- valign="top"
|- valign="top"
Line 66: Line 63:
{{!}} class="image" colspan="2" align="center" align="center" colspan="2" {{!}} {{{altimage}}}}}
{{!}} class="image" colspan="2" align="center" align="center" colspan="2" {{!}} {{{altimage}}}}}
|}
|}
[[Category:Chapters|{{{name}}}]]</includeonly><noinclude>
</includeonly><noinclude>


==Usage==
==Usage==
Line 95: Line 92:
|-
|-
|crest
|crest
| The ship's [[crest]] image. If no image is available, omit this parameter and <nowiki>[[File:RMNFlash.png]]</nowiki> will automatically be used.
| The ship's [[crest]] image. If no image is available, omit this parameter.
|-
|-
|image
|image
Line 140: Line 137:
|}
|}


==Example when done==
{{Infobox-chapter
| crest      = SD316Crest.png
| image      = SD316Elevation.png
| name        = HMS ''Medusa''
| hcn        = SD-316
| city        = San Francisco, CA, US
| affiliation = {{rmn}}
| type        = Superdreadnought
| class      = Medusa
| launched    = 14 NOV 2015
| co          = [[CAPTJG]] Erik Roberts, [[RMN]]
| status      = Active
| reportsto  = Battle Division 201
| fleet      = Tenth Fleet
| website    = http://hmsmedusa.org
| image2      = SD316Flash.png
}}
<br clear=all>
<pre>
{{Infobox-chapter
| crest      = SD316Crest.png
| image      = SD316Elevation.png
| name        = HMS ''Medusa''
| hcn        = SD-316
| city        = San Francisco, CA, US
| affiliation = {{rmn}}
| type        = Superdreadnought
| class      = Medusa
| launched    = 14 NOV 2015
| co          = [[CAPTJG]] Erik Roberts, [[RMN]]
| status      = Active
| reportsto  = Battle Division 201
| fleet      = Tenth Fleet
| website    = http://hmsmedusa.org
| image2      = SD316Flash.png
}}</pre>


[[Category:Sidebar templates|{{PAGENAME}}]]</noinclude>
[[Category:Sidebar templates]]</noinclude>

Latest revision as of 20:20, 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.