Difference between revisions of "Template: Infobox monarch"

From A Wiki of Ice and Fire
Jump to: navigation, search
Line 27: Line 27:
 
| label6 = {{Infobox label|s=Title|p=Titles|{{{othertitles|}}}}}
 
| label6 = {{Infobox label|s=Title|p=Titles|{{{othertitles|}}}}}
 
| data6 = {{Infobox value|class=plainlist|{{{othertitles|}}}}}
 
| data6 = {{Infobox value|class=plainlist|{{{othertitles|}}}}}
 +
| label7 = {{Infobox label|s=Allegiance|p=Allegiances|{{{allegiance|}}}}}
 +
| data7 = {{Infobox value|class=plainlist|{{{allegiance|}}}}}
  
| label7 = {{Infobox label|s=Predecessor|p=Predecessors|{{{predecessor|}}}}}
+
| label8 = {{Infobox label|s=Predecessor|p=Predecessors|{{{predecessor|}}}}}
| data7 = {{Infobox value|class=plainlist|{{{predecessor|}}}}}
+
| data8 = {{Infobox value|class=plainlist|{{{predecessor|}}}}}
| label8 = {{Infobox label|s=Heir|p=Heirs|{{{heir|}}}}}
+
| label9 = {{Infobox label|s=Heir|p=Heirs|{{{heir|}}}}}
| data8 = {{Infobox value|class=plainlist|{{{heir|}}}}}
+
| data9 = {{Infobox value|class=plainlist|{{{heir|}}}}}
| label9 = {{Infobox label|s=Successor|p=Successors|{{{successor|}}}}}
+
| label10 = {{Infobox label|s=Successor|p=Successors|{{{successor|}}}}}
| data9 = {{Infobox value|class=plainlist|{{{successor|}}}}}
+
| data10 = {{Infobox value|class=plainlist|{{{successor|}}}}}
  
 
<!-- Personal Information Section -->
 
<!-- Personal Information Section -->
| header10 = {{#if: {{{alias|}}} {{{dateofbirth|}}}{{{placeofbirth|}}}{{{dateofdeath|}}}{{{placeofdeath|}}}{{{dateofburial|}}}{{{placeofburial|}}} {{{race|}}}{{{culture|}}}| Personal Information}}
+
| header11 = {{#if: {{{alias|}}} {{{dateofbirth|}}}{{{placeofbirth|}}}{{{dateofdeath|}}}{{{placeofdeath|}}}{{{dateofburial|}}}{{{placeofburial|}}} {{{race|}}}{{{culture|}}}| Personal Information}}
  
| label11 = {{Infobox label|s=Alias|p=Aliases|{{{alias|}}}}}
+
| label12 = {{Infobox label|s=Alias|p=Aliases|{{{alias|}}}}}
| data11 = {{Infobox value|class=plainlist|{{{alias|}}}}}
+
| data12 = {{Infobox value|class=plainlist|{{{alias|}}}}}
  
| label12 = Born  
+
| label13 = Born
| data12 = {{#if:{{{dateofbirth|}}}|{{#if:{{{placeofbirth|}}}|In&nbsp;{{{dateofbirth}}},&nbsp;at&nbsp;{{{placeofbirth}}}|In&nbsp;{{{dateofbirth}}}}}|{{#if:{{{placeofbirth|}}}|At&nbsp;{{{placeofbirth}}}|}}|}}
+
| data13 = {{#if:{{{dateofbirth|}}}|{{#if:{{{placeofbirth|}}}|In&nbsp;{{{dateofbirth}}},&nbsp;at&nbsp;{{{placeofbirth}}}|In&nbsp;{{{dateofbirth}}}}}|{{#if:{{{placeofbirth|}}}|At&nbsp;{{{placeofbirth}}}|}}|}}
| label13 = Died  
+
| label14 = Died
| data13 = {{#if:{{{dateofdeath|}}}|{{#if:{{{placeofdeath|}}}|In&nbsp;{{{dateofdeath}}},&nbsp;at&nbsp;{{{placeofdeath}}}|In&nbsp;{{{dateofdeath}}}}}|{{#if:{{{placeofdeath|}}}|At&nbsp;{{{placeofdeath}}}|}}|}}
+
| data14 = {{#if:{{{dateofdeath|}}}|{{#if:{{{placeofdeath|}}}|In&nbsp;{{{dateofdeath}}},&nbsp;at&nbsp;{{{placeofdeath}}}|In&nbsp;{{{dateofdeath}}}}}|{{#if:{{{placeofdeath|}}}|At&nbsp;{{{placeofdeath}}}|}}|}}
| label14 = Buried  
+
| label15 = Buried
| data14 = {{#if:{{{dateofburial|}}}|{{#if:{{{placeofburial|}}}|In&nbsp;{{{dateofburial}}},&nbsp;at&nbsp;{{{placeofburial}}}|In&nbsp;{{{dateofburial}}}}}|{{#if:{{{placeofburial|}}}|At&nbsp;{{{placeofburial}}}|}}|}}
+
| data15 = {{#if:{{{dateofburial|}}}|{{#if:{{{placeofburial|}}}|In&nbsp;{{{dateofburial}}},&nbsp;at&nbsp;{{{placeofburial}}}|In&nbsp;{{{dateofburial}}}}}|{{#if:{{{placeofburial|}}}|At&nbsp;{{{placeofburial}}}|}}|}}
  
 
| label16 = Race
 
| label16 = Race
Line 89: Line 91:
 
| label39 = TV series
 
| label39 = TV series
 
| data39 = {{{TV_series|}}}
 
| data39 = {{{TV_series|}}}
}}{{Main other|[[Category:Character pages in alphabetical order]]}}</includeonly><noinclude>
+
}}{{Main other|[[Category:Character pages in alphabetical order]]}}</includeonly><noinclude>{{Documentation}}</noinclude>
{{Documentation}}</noinclude>
 

Revision as of 06:41, 10 January 2023

Template documentation[view] [edit] [history] [purge]
None.svg {{{title}}}
{{{nickname}}} {{{firstname}}} IV {{{particle}}} {{{lastname}}}
{{{epithet}}}
None.svg
No portrait.svg
{{{image_caption}}}
Monarch
Reign {{{reign}}}
Coronation {{{coronation}}}
Full name {{{fullname}}}
Title {{{othertitles}}}
Allegiance {{{allegiance}}}
Predecessor {{{predecessor}}}
Heir {{{heir}}}
Successor {{{successor}}}
Personal Information
Alias {{{alias}}}
Born {{{dateofbirth}}}
{{{placeofbirth}}}
Died {{{dateofdeath}}}
{{{placeofdeath}}}
Buried {{{dateofburial}}}
{{{placeofburial}}}
Race {{{race}}}
Culture {{{culture}}}
Family
Dynasty {{{royalhouse}}}
Queen {{{queen}}}
Consort {{{consort}}}
Spouse {{{spouse}}}
Lover {{{lover}}}
Issue {{{issue}}}
Father {{{father}}}
Mother {{{mother}}}
Personal arms {{{coat-of-arms}}}
References
Book {{{Books}}}
Played by {{{Played_by}}}
TV series {{{TV_series}}}

Usage

Empty Template for easy copy/paste:

{{Infobox monarch
| title         = 
| nickname      = 
| firstname     = 
| regnalnumber  = <!-- write with digits, e.g. "4" instead of "IV" -->
| particle      = 
| lastname      = 
| epithet       = 
| arms          = None
| arms2         = <!-- not needed if identical to {{{arms}}} -->
| image         = 
| image_caption = 
| reign         = <!-- {{Date|xxx}} - {{Date|xxx}} -->
| coronation    = <!-- {{Date|xxx}} -->
| fullname      = 
| othertitles   = 
| allegiance    = 
| predecessor   = 
| heir          = 
| successor     = 
| alias         = 
| dateofbirth   = <!-- {{Date|xxx}} -->
| placeofbirth  = 
| dateofdeath   = <!-- {{Date|xxx}} -->
| placeofdeath  = 
| dateofburial  = <!-- {{Date|xxx}} -->
| placeofburial = 
| race          = 
| culture       = 
| royalhouse    = 
| queen         = 
| consort       = 
| spouse        = 
| lover         = 
| issue         = 
| father        = 
| mother        = 
| coat-of-arms  = 
| Books         = 
| Played_by     = 
| TV_series     = 
}}

Note: Parameters which are assigned no value are not shown when the template is used.
You can see a preview of the template with all of its fields on the right side.