Template:Infobox royal/doc: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Documentation subpage}}
== Documentation ==
This template is used to provide an infobox for a royal figure.
To use this template, you can use the following format:
<pre>
{{Infobox royal
| name =
| image =
| caption =
| full_name =
| house =
| father =
| mother =
| spouse =
| issue =
| titles =
| birthdate =
| deathdate =
}}
</pre>
Explanation of fields:
* '''name''': The name of the royal figure.
* '''image''': The file name of an image of the royal figure. Please do not include the "File:" prefix.
* '''caption''': A short description of the image.
* '''full_name''': The full name of the royal figure.
* '''house''': The royal house to which the figure belongs.
* '''father''': The name of the royal figure's father.
* '''mother''': The name of the royal figure's mother.
* '''spouse''': The name of the royal figure's spouse.
* '''issue''': The names of the royal figure's children.
* '''titles''': The titles held by the royal figure.
* '''birthdate''': The date of birth of the royal figure.
* '''deathdate''': The date of death of the royal figure.
Each of these fields is optional and will not appear in the infobox if left blank.
{{Infobox royal
{{Infobox royal
| name = Name of Royal
| name = Name of Royal
Line 10: Line 50:
| issue = Kids
| issue = Kids
| titles = Titles
| titles = Titles
| birthdate = X.XX.XXXX AN<br>City, Place
| deathdate = X.XX.XXXX AN<br>City, Place
}}
}}

Latest revision as of 01:26, 5 December 2023

Documentation

This template is used to provide an infobox for a royal figure.

To use this template, you can use the following format:

{{Infobox royal
| name = 
| image = 
| caption = 
| full_name = 
| house = 
| father = 
| mother = 
| spouse = 
| issue = 
| titles = 
| birthdate =
| deathdate = 
}}

Explanation of fields:

  • name: The name of the royal figure.
  • image: The file name of an image of the royal figure. Please do not include the "File:" prefix.
  • caption: A short description of the image.
  • full_name: The full name of the royal figure.
  • house: The royal house to which the figure belongs.
  • father: The name of the royal figure's father.
  • mother: The name of the royal figure's mother.
  • spouse: The name of the royal figure's spouse.
  • issue: The names of the royal figure's children.
  • titles: The titles held by the royal figure.
  • birthdate: The date of birth of the royal figure.
  • deathdate: The date of death of the royal figure.

Each of these fields is optional and will not appear in the infobox if left blank.

Name of Royal
Caption
Full name Thjis is the full name
House House
Father Daddy
Mother Mommy
Spouse Spousey
Issue Kids
Titles Titles
Born X.XX.XXXX AN
City, Place
Died X.XX.XXXX AN
City, Place