Template:Infobox king: Difference between revisions

From Guild of Archivists
(Created page with "<includeonly> {| class="info-sidebar" ! colspan="2" style="text-align: center;font-size:1.1em;" | {{{name}}} |- |colspan="2"|{{{image|}}} |- ! Race | {{{race|unknown}}} |- !cl...")
 
(SWM Genealogy changes)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
{{Infobox
{| class="info-sidebar"
| bodyclass = archivists
! colspan="2" style="text-align: center;font-size:1.1em;" | {{{name}}}
| title = {{{name|{{PAGENAME}}}}}
|-
| image = {{ #if: {{{image|}}} | [[File:{{{image}}}|200px]] }}
|colspan="2"|{{{image|}}}
| caption = {{{imagecaption|}}}
|-
! Race
| {{{race|unknown}}}
|-
!class="headline" colspan="2"| {{{ordinal}}} [[List of D'ni Kings|King of D'ni]]
|-
! Reign
| {{{reign}}}
|-
! Coronation
| {{{coronation-date}}}
|-
! Preceded by
| {{{predecessor|''none''}}}
|-
! Succeeded by
| {{{successor|''none''}}}
|-
!class="headline" colspan="2"| Personal details
|-
! Born
| {{{born|unknown}}}
|-
! Died
| {{{died|unknown}}}
|- {{#if: {{{father|}}} | | style="display: none;" }}
! Father
| {{{father}}}
|- {{#if: {{{mother|}}} | | style="display: none;" }}
! Mother
| {{{mother}}}
|- {{#if: {{{children|}}} | | style="display: none;" }}
! Children
| {{{children}}}
|-
! Name in [[D'ni (language)|D'ni]]
| <d'ni>{{{dni-name}}}</d'ni>
|}
</includeonly>
<noinclude>
==Usage==
Include this template when creating an article about a D'ni King. This is a specialized version of the generic [[Template:Sidebar-person]] template. Below is a list of all parameters and how they should be used.


{| class="wikitable"
| label1 = Race
! name
| data1 = {{{race|unknown}}}
| The name of the king as used in the page title.
 
|-
| header2 = {{{ordinal}}} [[List of D'ni Kings|King of D'ni]]
! image
 
| ''Optional''<br />An image of the king, if available. Be sure to caption the image with the game or other media it's from, and set the size to 200px.
| label3 = Reign
|-
| data3 = {{{reign}}}
! race
 
| The character's race. For characters of mixed lineage, list their races by approximate fraction (e.g. 1/2 [[D'ni (race)|D'ni]], 1/2 Human)
| label4 = Coronation
|-
| data4 = {{{coronation-date}}}
! ordinal
 
| Use this to indicate which king it is (e.g. "Twentieth").
| label5 = Preceded by
|-
| data5 = {{{predecessor|''none''}}}
! reign
 
| The beginning and ending dates of the king's rule.
| label6 = Succeeded by
|-
| data6 = {{{successor|''none''}}}
! coronation-date
 
| The date, with as much accuracy as possible, when the king was coronated.
| header7 = Personal details
|-
 
! predecessor
| label8 = Born
| Link to the previous king. If no predecessor is available, leave blank and "none" will be used.
| data8 = {{{born|unknown}}}
|-
 
! successor
| label9 = Died
| Link to the next king. If no successor is available, leave blank and "none" will be used.
| data9 = {{{died|unknown}}}
|-
 
! born
| label10 = Father
| The date of the person's birth. If left blank, "unknown" will be included automatically.
| data10 = {{ #if: {{{father|}}} | [[Father::{{{father|}}}]] }}
|-
 
! died
| label11 = Mother
| The date of the person's death. If left blank, "unknown" will be included automatically.
| data11 = {{ #if: {{{mother|}}} | [[Mother::{{{mother|}}}]] }}
|-
 
! father
| label12 = Spouse
| ''Optional''<br />The person's father, if known.
| data12 = {{ #if: {{{spouse|}}} | [[Spouse::{{{spouse|}}}]] }}
|-
 
! mother
| label13 = Children
| ''Optional''<br />The person's mother, if known.
| data13 = {{{children|}}}
|-
 
! children
| label14 = Name in [[D'ni (language)|D'ni]]
| ''Optional''<br />If this person had any children, list them here.
| data14 = <dni>{{{dni-name}}}</dni>
|-
}}<noinclude>
! dni-name
 
| Provide the text of the king's name using the [[Help:Using the D'ni font|D'ni font]] transliteration, and it will be included in D'ni text.
{{documentation}}
|}
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
</noinclude>
</noinclude>

Latest revision as of 22:25, 30 October 2019

Infobox king
Race unknown
{{{ordinal}}} King of D'ni
Reign {{{reign}}}
Coronation {{{coronation-date}}}
Preceded by none
Succeeded by none
Personal details
Born unknown
Died unknown
Name in D'ni {{{dni-name}}}
Template documentation[view] [edit] [history] [purge]

Usage[edit source]

Include this template when creating an article about a D'ni King. This is a specialized version of the generic {{Infobox person}} template. Below is a list of all parameters and how they should be used.

name Optional
The name of the king as used in the page title. By default this will use the page name if not provided.
image Optional
An image of the king, if available. Be sure to caption the image with the game or other media it's from, and set the size to 200px.
race The character's race. For characters of mixed lineage, list their races by approximate fraction (e.g. 1/2 D'ni, 1/2 Human)
ordinal Use this to indicate which king it is (e.g. "Twentieth").
reign The beginning and ending dates of the king's rule.
coronation-date The date, with as much accuracy as possible, when the king was coronated.
predecessor Link to the previous king. If no predecessor is available, leave blank and "none" will be used.
successor Link to the next king. If no successor is available, leave blank and "none" will be used.
born The date of the person's birth. If left blank, "unknown" will be included automatically.
died The date of the person's death. If left blank, "unknown" will be included automatically.
father Optional
The person's father, if known.
mother Optional
The person's mother, if known.
spouse Optional
The person's spouse, if known.
children Optional
If this person had any children, list them here.
dni-name Provide the text of the king's name using the D'ni font transliteration, and it will be included in D'ni text.