Template:Infobox-RMA: Difference between revisions

From TenthFleet
Jump to navigation Jump to search
update format
m Bring Infobox-RMA up to tf-cbox house style (shared stylesheet)
 
Line 1: Line 1:
<includeonly>{| class="sidebar" align="right" colSpan="2" width="250px" cellpadding="4" cellspacing="0"
<includeonly><templatestyles src="Infobox-chapter/styles.css" />
|-
{| class="sidebar tf-cbox"
| class="class" width="250px" colSpan="2" align="center" | '''{{PAGENAME}}'''
|-
|-
| class="image" colspan="2" align="center" | {{#if: {{{patch|}}}
| class="tf-cbox-name tf-b-{{lc:{{{branch|rma}}}}}" colspan="2" | '''{{PAGENAME}}'''{{#if:{{{nickname|}}}|<span class="tf-cbox-hcn">"{{{nickname}}}"</span>}}
| {{sidebar image|{{{patch}}}}}
|-
| [[File:RMA PATCH regular.png|250px]]
| class="tf-cbox-img" colspan="2" | {{#if:{{{patch|}}}|[[File:{{{patch}}}|250px]]|[[File:RMA PATCH regular.png|250px]]}}
}}
{{#if:{{{name|}}}|
|- valign="top"
{{!}}-
{{#if: {{{name|}}}|
{{!}} class="tf-cbox-l" {{!}} '''Name:'''
{{!}} class="left" {{!}} '''Name:'''
{{!}} class="tf-cbox-r" {{!}} {{{name}}}}}
{{!}} class="righta" {{!}} {{{name}}}}}
{{#if:{{{hq|}}}|
|- valign="top"
{{!}}-
{{#if: {{{hq|}}}|
{{!}} class="tf-cbox-l" {{!}} '''Garrison/HQ:'''
{{!}} class="left" {{!}} '''Garrison/HQ:'''
{{!}} class="tf-cbox-r" {{!}} {{{hq}}}}}
{{!}} class="righta" {{!}} {{{hq}}}}}
{{#if:{{{strength|}}}|
|- valign="top"
{{!}}-
{{#if: {{{strength|}}}|
{{!}} class="tf-cbox-l" {{!}} '''Strength:'''
{{!}} class="left" {{!}} '''Strength:'''
{{!}} class="tf-cbox-r" {{!}} [[{{{strength}}}]]}}
{{!}} class="righta" {{!}} [[{{{strength}}}]]}}
{{#if:{{{type|}}}|
|- valign="top"
{{!}}-
{{#if: {{{type|}}}|
{{!}} class="tf-cbox-l" {{!}} '''Type:'''
{{!}} class="left" {{!}} '''Type:'''
{{!}} class="tf-cbox-r" {{!}} {{{type}}}}}
{{!}} class="righta" {{!}} {{{type}}}}}
{{#if:{{{co|}}}|
|- valign="top"
{{!}}-
{{#if: {{{co|}}}|
{{!}} class="tf-cbox-l" {{!}} '''Commander:'''
{{!}} class="left" {{!}} '''Commander:'''
{{!}} class="tf-cbox-r" {{!}} {{{co}}}}}
{{!}} class="righta" {{!}} {{{co}}}}}
{{#if:{{{colonel|}}}|
|- valign="top"
{{!}}-
{{#if: {{{colonel|}}}|
{{!}} class="tf-cbox-l" {{!}} '''Colonel of the Regiment:'''
{{!}} class="left" {{!}} '''Colonel of the Regiment:'''
{{!}} class="tf-cbox-r" {{!}} {{{colonel}}}}}
{{!}} class="righta" {{!}} {{{colonel}}}}}
{{#if:{{{established|}}}|
|- valign="top"
{{!}}-
{{#if: {{{established|}}}|
{{!}} class="tf-cbox-l" {{!}} '''Established:'''
{{!}} class="left" {{!}} '''Established:'''
{{!}} class="tf-cbox-r" {{!}} {{{established}}}}}
{{!}} class="righta" {{!}} {{{established}}}}}
{{#if:{{{status|}}}|
|- valign="top"
{{!}}-
{{#if: {{{status|}}}|
{{!}} class="tf-cbox-l" {{!}} '''Status:'''
{{!}} class="left" {{!}} '''Status:'''
{{!}} class="tf-cbox-r" {{!}} {{{status}}}}}
{{!}} class="righta" {{!}} {{{status}}}}}
{{#if:{{{motto|}}}|
|- valign="top"
{{!}}-
{{#if: {{{nickname|}}}|
{{!}} class="tf-cbox-l" {{!}} '''Motto:'''
{{!}} class="left" {{!}} '''Nickname(s):'''
{{!}} class="tf-cbox-r" {{!}} ''{{{motto}}}''}}
{{!}} class="righta" {{!}} {{{nickname}}}}}
{{#if:{{{reportsto|}}}|
|- valign="top"
{{!}}-
{{#if: {{{motto|}}}|
{{!}} class="tf-cbox-l" {{!}} '''Reporting to:'''
{{!}} class="left" {{!}} '''Motto:'''
{{!}} class="tf-cbox-r" {{!}} [[{{{reportsto}}}]]}}
{{!}} class="righta" {{!}} {{{motto}}}}}
{{#if:{{{website|}}}|
|- valign="top"
{{!}}-
{{#if: {{{reportsto|}}}|
{{!}} class="tf-cbox-l" {{!}} '''Website:'''
{{!}} class="left" {{!}} '''Reporting to:'''
{{!}} class="tf-cbox-r" {{!}} [{{{website}}} {{{website}}}]}}
{{!}} class="righta" {{!}} {{{reportsto}}}}}
{{#if:{{{guidon|}}}|
|- valign="top"
{{!}}-
{{#if: {{{website|}}}|
{{!}} class="tf-cbox-img" colspan="2" {{!}} [[File:{{{guidon}}}|250px]]}}
{{!}} class="left" {{!}} '''Website:'''
{{#if:{{{altimage|}}}|
{{!}} class="righta" {{!}} [{{{website}}} {{{website}}}]}}
{{!}}-
|- valign="top"
{{!}} class="tf-cbox-img" colspan="2" {{!}} {{{altimage}}}}}
{{#if: {{{guidon|}}}|
|}</includeonly><noinclude>
{{!}} class="image" colspan="2" align="center" align="center" colspan="2" {{!}} {{sidebar image|{{{guidon}}}}}}}
{{documentation}}
|- valign="top"
'''Infobox-RMA''' is the sidebar for [[Royal Manticoran Army]] unit pages, using the shared '''tf-cbox''' house style.
{{#if: {{{altimage|}}}|
== Usage ==
{{!}} class="image" colspan="2" align="center" align="center" colspan="2" {{!}} {{{altimage}}}}}
|}
[[Category:Chapters|{{{name}}}]]</includeonly><noinclude>
 
==Usage==
<pre>{{Infobox-RMA
<pre>{{Infobox-RMA
| patch       =  
| patch = | name = | nickname = | hq = | strength = | type =
| name       =
| co = | colonel = | established = | status = | motto =
| hq          =
| reportsto = | website = | guidon = | altimage =
| strength    =
| type        =
| established =  
| co          =
| colonel    =
| status      =
| nickname    =
| motto      =
| reportsto  =
| website    =
| guidon      =
| altimage    =
}}</pre>
 
==Parameters==
Parameters in '''bold''' are required fields. ''Not'' bold = optional.
{| border=1 cellpadding=4 cellspacing=0 style="margin: 0 0 1em 1em; border: 1px #aaaaaa solid; border-collapse: collapse; font-size: 95%;"
! Parameter
! Explanation
|-
|patch
| The unit's shoulder patch image. If no image is available, omit this parameter and <nowiki>[[File:RMA PATCH regular.png]]</nowiki> will automatically be used.
|-
| name
| Name of the unit
|-
| hq
| The chapter's [[Chapter#City_of_Charter|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 [[wikipedia:Census-designated_place|census-designated place]]. 
|-
| strength
| Current chapter strength. (Fireteam, Squad, Platoon, Company, Battalion, Regiment  etc.) <nowiki>[[Linked]]</nowiki> automatically.
|-
| type
| Unit role  (Armored, Infantry, Aerospace, etc.)
|-
| co
| Name of the Unit CO.  Keep it short (ie: <nowiki>[[COL]] Sir John Smith</nowiki>). Post-nominals will go into the main article
|-
| colonel
| [[Colonel of the Regiment]], if there is one.  For peers, use title only
|-
| established
| Date of unit's creation.
|-
| status
| Is this unit currently "Active" or has it been "Decommissioned"?
|-
| reportsto
| Which echelon force (brigade, division, Field Army) does this unit report to? 
|-
| nickname
| Unit nickname, if there is one
|-
| motto
| Unit motto, if there is one
|-
| website
| Type in the exact URL.  Will be <nowiki>[[linked]]</nowiki> automatically.
|-
| Guidon / altimage
| Second or third image relevant to the unit (optional), might be the guidon
|}
 
==Example when done==
{{Infobox-RMA
| patch      = Westmarch Rifles Patch.png
| name        = Westmarch Rifles
| hq         = Kenosha, WI, US
| strength   = regiment
| type       = Light Infantry
| established = 26 AUG 2022
| co         = [[CPT]] John Cauffman
| colonel     = The [[Duke]] of [[Westmarch]]
| status      = Active
| nickname    = The Rifles, The Westmarchers
| motto      = FORWARD
| reportsto  = [[image:2nd_Army.webp|26px]][[Fort Gryphon]]
| website    =
| guidon      = WESTMARCH_RIFLES_GUIDON.png
| altimage    =
}}
<br clear=all>
 
<pre>
{{Infobox-RMA
| patch      = Westmarch Rifles Patch.png
| name        = Westmarch Rifles
| hq          = Kenosha, WI, US
| strength    = regiment
| type        = Light Infantry
| established = 26 AUG 2022
| co          = [[CPT] John Cauffman
| colonel    = The [[Duke]] of [[Westmarch]]
| status     = Active
| nickname    = The Rifles, The Westmarchers
| motto       = FORWARD
| reportsto   = Fort Gryphon
| website     =  
| guidon     = WESTMARCH_RIFLES_GUIDON.png
| altimage   =
}}</pre>
}}</pre>
 
[[Category:Templates]]
[[Category:Sidebar templates|{{PAGENAME}}]]</noinclude>
[[Category:Sidebar templates|{{PAGENAME}}]]
</noinclude>

Latest revision as of 18:42, 15 July 2026


This template is not yet documented. Please create documentation here: Template:Infobox-RMA/doc

Infobox-RMA is the sidebar for Royal Manticoran Army unit pages, using the shared tf-cbox house style.

Usage

{{Infobox-RMA
| patch = | name = | nickname = | hq = | strength = | type =
| co = | colonel = | established = | status = | motto =
| reportsto = | website = | guidon = | altimage =
}}