Template:Infobox-peerage: Difference between revisions

From TenthFleet
Jump to navigation Jump to search
m Create Infobox-peerage: at-a-glance peerage-land sidebar (rank-tinted banner, arms, holder, nation, planet, parent, creation, coronet, seat, motto)
m Add status field (Defunct/Dissolved/Held in memoriam) with tinted banner
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
{{!}}-
{{!}}-
{{!}} class="tf-pbox-rank {{#switch:{{lc:{{{rank}}}}}|grand duchy|grand dukedom=tf-pk-gd|principality|fürstentum|furstentum=tf-pk-gd|duchy|dukedom=tf-pk-duke|earldom|county|countship|grafschaft=tf-pk-earl|barony|baronie|freiherrschaft=tf-pk-baron|steadholding|steading|steadholdership=tf-pk-stead|senator for life|senatorship=tf-pk-senator}}" colspan="2" {{!}} {{{rank}}}}}
{{!}} class="tf-pbox-rank {{#switch:{{lc:{{{rank}}}}}|grand duchy|grand dukedom=tf-pk-gd|principality|fürstentum|furstentum=tf-pk-gd|duchy|dukedom=tf-pk-duke|earldom|county|countship|grafschaft=tf-pk-earl|barony|baronie|freiherrschaft=tf-pk-baron|steadholding|steading|steadholdership=tf-pk-stead|senator for life|senatorship=tf-pk-senator}}" colspan="2" {{!}} {{{rank}}}}}
{{#if:{{{status|}}}|
{{!}}-
{{!}} class="tf-pbox-status {{#switch:{{lc:{{{status}}}}}|defunct|dissolved|extinct=tf-st-defunct|#default=tf-st-note}}" colspan="2" {{!}} {{{status}}}}}
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!}}-
{{!}}-
Line 11: Line 14:
{{#if:{{{holder|}}}|
{{#if:{{{holder|}}}|
{{!}}-
{{!}}-
{{!}} class="tf-pbox-l" {{!}} '''Holder:'''
{{!}} class="tf-pbox-l" {{!}} '''{{#if:{{{holder_label|}}}|{{{holder_label}}}|{{#switch:{{lc:{{{rank|}}}}}|steadholding|steading|steadholdership=Holder|senator for life|senatorship=Officeholder|#default=Peer}}}}:'''
{{!}} class="tf-pbox-r" {{!}} {{{holder}}}}}
{{!}} class="tf-pbox-r" {{!}} {{{holder}}}}}
{{#if:{{{nation|}}}|
{{#if:{{{nation|}}}|
Line 29: Line 32:
{{!}} class="tf-pbox-l" {{!}} '''Created:'''
{{!}} class="tf-pbox-l" {{!}} '''Created:'''
{{!}} class="tf-pbox-r" {{!}} {{{created}}}}}
{{!}} class="tf-pbox-r" {{!}} {{{created}}}}}
{{#if:{{{elevated|}}}|
{{!}}-
{{!}} class="tf-pbox-l" {{!}} '''{{{elevated_label|Elevated}}}:'''
{{!}} class="tf-pbox-r" {{!}} {{{elevated}}}}}
{{#if:{{{created_by|}}}|
{{#if:{{{created_by|}}}|
{{!}}-
{{!}}-
Line 58: Line 65:
== Usage ==
== Usage ==
<pre>{{Infobox-peerage
<pre>{{Infobox-peerage
| name        = County of McCovey Cove
| name        = McCovey Cove     (place only — the rank banner supplies "County";
| rank        = County       (Barony / Earldom / County / Dukedom / Grand Dukedom /
|                                  defaults to the page name if omitted)
|                               Steadholding / Senator for Life / Principality)
| rank        = County           (Barony / Earldom / County / Dukedom / Grand Dukedom /
|                                   Steadholding / Senator for Life / Principality)
| status      =                  (omit for active lands; Defunct / Dissolved / Held in memoriam)
| image        = McCoveyCove.png
| image        = McCoveyCove.png
| arms_caption = Arms of the County of McCovey Cove
| arms_caption = Arms of the County of McCovey Cove
| holder      = [[ADM]] Sir Michael Garcia (Earl)
| holder      = [[ADM]] Sir Michael Garcia
| nation      = [[Star Empire of Manticore]]
| nation      = [[Star Empire of Manticore]]
| planet      = [[honorverse:Manticore|Manticore]]
| planet      = [[honorverse:Manticore|Manticore]]
| parent      = Duchy of the Golden Gate
| parent      = Duchy of the Golden Gate   (omit for a Duchy / Grand Duchy / top-level peerage)
| created      = 27 May 2018 (Earldom 1 July 2023)
| created      = 27 May 2018 (as Baron, at [[MantiCon]] 2018)
| created_by  = [[MantiCon]] 2018
| elevated    = 1 July 2023 (to County, at [[MantiCon]] 2023)
| predecessor  =
| created_by  = [[Elizabeth III]]           (the granting sovereign)
| coronet      = Manticoran Earl
| coronet      = Manticoran Earl
| seat        = [[House of Lords]]
| seat        = [[House of Lords]]
Line 75: Line 84:
| website      = http://mccoveycove.org
| website      = http://mccoveycove.org
}}</pre>
}}</pre>
The <code>rank</code> value is shown verbatim and also tints the banner (Grand Dukedom/Dukedom = purple, Earldom/County = crimson, Barony = gold, Steadholding = green, Senator for Life = blue). All fields are optional; omit any that do not apply.
The <code>rank</code> banner is shown verbatim and tinted by tier (Grand Dukedom/Dukedom = purple, Earldom/County = crimson, Barony = gold, Steadholding = green, Senator for Life = blue). The holder's label follows the realm — '''Peer''' (Manticore/Andermani), '''Holder''' (Grayson Steadholder), or '''Officeholder''' (Havenite Senator-for-Life) — derived from <code>rank</code> (override with <code>holder_label</code>). Use <code>elevated</code> for a later promotion (label overridable via <code>elevated_label</code>, e.g. "Promoted"), and <code>created_by</code> for the granting sovereign. All fields optional; the "Part of" row is meant to be omitted for duchies and grand duchies.


[[Category:Templates]]
[[Category:Templates]]
[[Category:Sidebar templates|Infobox-peerage]]
[[Category:Sidebar templates|Infobox-peerage]]
</noinclude>
</noinclude>

Latest revision as of 17:06, 15 July 2026

⚠ UnofficialThe Tenth Fleet wiki is an unofficial repository of TRMN orders and records. Per TRMN policy, the official sources are the TRMN Forums (all orders and information) and Mantipedia (the official wiki).

Infobox-peerage is an at-a-glance sidebar for peerage "land" pages (baronies, earldoms/counties, dukedoms, grand dukedoms, Grayson steadholdings, Andermani and Havenite peerages). It matches the tf-cbox house style, with a rank banner tinted by peerage tier.

Usage

{{Infobox-peerage
| name         = McCovey Cove      (place only — the rank banner supplies "County";
|                                   defaults to the page name if omitted)
| rank         = County            (Barony / Earldom / County / Dukedom / Grand Dukedom /
|                                   Steadholding / Senator for Life / Principality)
| status       =                   (omit for active lands; Defunct / Dissolved / Held in memoriam)
| image        = McCoveyCove.png
| arms_caption = Arms of the County of McCovey Cove
| holder       = [[ADM]] Sir Michael Garcia
| nation       = [[Star Empire of Manticore]]
| planet       = [[honorverse:Manticore|Manticore]]
| parent       = Duchy of the Golden Gate   (omit for a Duchy / Grand Duchy / top-level peerage)
| created      = 27 May 2018 (as Baron, at [[MantiCon]] 2018)
| elevated     = 1 July 2023 (to County, at [[MantiCon]] 2023)
| created_by   = [[Elizabeth III]]           (the granting sovereign)
| coronet      = Manticoran Earl
| seat         = [[House of Lords]]
| motto        = Platinum in Peace, Silicon Carbide in War
| website      = http://mccoveycove.org
}}

The rank banner is shown verbatim and tinted by tier (Grand Dukedom/Dukedom = purple, Earldom/County = crimson, Barony = gold, Steadholding = green, Senator for Life = blue). The holder's label follows the realm — Peer (Manticore/Andermani), Holder (Grayson Steadholder), or Officeholder (Havenite Senator-for-Life) — derived from rank (override with holder_label). Use elevated for a later promotion (label overridable via elevated_label, e.g. "Promoted"), and created_by for the granting sovereign. All fields optional; the "Part of" row is meant to be omitted for duchies and grand duchies.