Difference between revisions of "Template: Infobox monarch"
From A Wiki of Ice and Fire
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|}}}}} | ||
− | | | + | | label8 = {{Infobox label|s=Predecessor|p=Predecessors|{{{predecessor|}}}}} |
− | | | + | | data8 = {{Infobox value|class=plainlist|{{{predecessor|}}}}} |
− | | | + | | label9 = {{Infobox label|s=Heir|p=Heirs|{{{heir|}}}}} |
− | | | + | | data9 = {{Infobox value|class=plainlist|{{{heir|}}}}} |
− | | | + | | label10 = {{Infobox label|s=Successor|p=Successors|{{{successor|}}}}} |
− | | | + | | data10 = {{Infobox value|class=plainlist|{{{successor|}}}}} |
<!-- Personal Information Section --> | <!-- Personal Information Section --> | ||
− | | | + | | header11 = {{#if: {{{alias|}}} {{{dateofbirth|}}}{{{placeofbirth|}}}{{{dateofdeath|}}}{{{placeofdeath|}}}{{{dateofburial|}}}{{{placeofburial|}}} {{{race|}}}{{{culture|}}}| Personal Information}} |
− | | | + | | label12 = {{Infobox label|s=Alias|p=Aliases|{{{alias|}}}}} |
− | | | + | | data12 = {{Infobox value|class=plainlist|{{{alias|}}}}} |
− | | | + | | label13 = Born |
− | | | + | | data13 = {{#if:{{{dateofbirth|}}}|{{#if:{{{placeofbirth|}}}|In {{{dateofbirth}}}, at {{{placeofbirth}}}|In {{{dateofbirth}}}}}|{{#if:{{{placeofbirth|}}}|At {{{placeofbirth}}}|}}|}} |
− | | | + | | label14 = Died |
− | | | + | | data14 = {{#if:{{{dateofdeath|}}}|{{#if:{{{placeofdeath|}}}|In {{{dateofdeath}}}, at {{{placeofdeath}}}|In {{{dateofdeath}}}}}|{{#if:{{{placeofdeath|}}}|At {{{placeofdeath}}}|}}|}} |
− | | | + | | label15 = Buried |
− | | | + | | data15 = {{#if:{{{dateofburial|}}}|{{#if:{{{placeofburial|}}}|In {{{dateofburial}}}, at {{{placeofburial}}}|In {{{dateofburial}}}}}|{{#if:{{{placeofburial|}}}|At {{{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
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.
The above documentation is transcluded from Template:Infobox monarch/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |