Template:Infobox CoscEmperor: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 40: | Line 40: | ||
<!---------------- Info fields (cont'd) -------------------> | <!---------------- Info fields (cont'd) -------------------> | ||
| | | label8 = Consort | ||
| | | data8 = {{{Consort|{{{consort|}}}}}} | ||
| | | label9 = Children | ||
| | | data9 = {{{Children|{{{children|}}}}}} | ||
| | | label10 = Father | ||
| | | data10 = {{{Father|{{{father|}}}}}} | ||
| | | label11 = Mother | ||
| | | data11 = {{{Mother|{{{mother|}}}}}} | ||
| | | label12 = Born | ||
| | | data12 = {{if empty|{{{Born|}}}|{{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}}}} | ||
| | | label13 = Died | ||
| | | data13 = {{if empty|{{{Died|}}}|{{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}}} | ||
| | | label14 = Endowment | ||
| | | data14 = {{{Benig|{{{benig|}}}}}} | ||
| label15 = Religion | | label15 = Religion | ||
| data15 = {{{Religion|{{{religion|}}}}}} | | data15 = {{{Religion|{{{religion|}}}}}} | ||
| | | label16 = Burial | ||
| | | data16 = {{{Burial|{{{burial|}}}}}} | ||
| label16 = Monuments | | label16 = Monuments |
Revision as of 15:52, 23 January 2024
This template uses Lua: |
{{{name}}} | |
---|---|
{{{alt_name}}} | |
[[File:{{{image}}}|frameless|alt= {{{image_alt}}}|upright=1|{{{caption}}}]] | |
{{{role|Emperor}}} | |
Reign | {{{reign}}} |
Coregency | {{{coregency}}} |
Predecessor | {{{predecessor}}} |
Successor | {{{successor}}} |
Children | {{{children}}} |
Father | {{{father}}} |
Mother | {{{mother}}} |
Born | {{{birth_date}}} {{{birth_place}}} |
Died | {{{death_date}}} {{{death_place}}} |
Monuments | {{{monuments}}} |
Usage
This template is designed to display information about an Coscivian emperor, including their names in hieroglyphs.
Other than name, all parameters listed below are optional. To see a near-full example of the template's use within the encyclopedia, visit Ramesses II.
Full syntax
{{Infobox CoscEmperor | name = | epithet = | image = | image_alt = | caption = | role = <!-- Defaults to: [[Emperor]] --> | imperium = | dynästy = | reign = | coregency = | predecessor = | successor = | spouse = | children = | dynasty = | father = | mother = | birth_date = | birth_place = <!-- if known, otherwise omit --> | death_date = | death_place = <!-- if known, otherwise omit --> | benig = | religion = | burial = | monuments = }}
Parameters
All optional other than name.
Parameter | Function |
---|---|
name |
Name by which emperor commonly known |
alt_name |
Alternative names |
image |
Infobox image (headshot, if possible) |
image_alt |
Alternative text for the image |
caption |
Caption for the image |
align |
Template's position: left, center or right |
nomen |
Emperor's nomen; use <hiero>...</hiero> format, followed by transliteration, followed by translation
|
pronomen |
Emperor's pronomen (see above) |
golden |
Emperor's Golden Horus name |
nebty |
Emperor's Nebty name |
horus |
Emperor's Horus |
reign |
Dates of emperor's reign (use alternatives, if known) |
predecessor |
Name of emperor's predecessor |
successor |
Name of emperor's successor |
consorts or consort spouses or spouse |
Names of emperor's consorts/spouses |
children |
Names of emperor's children |
dynasty |
Name of emperor's dynasty |
coregency |
coregency (if applicable) |
father |
Name of pharah's father (if known) |
mother |
Name of pharah's mother (if known) |
birth_date |
Year of emperor's birth |
birth_place |
Place of emperor's birth (if known) |
death_date |
Year of emperor's death |
death_place |
Place of emperor's death (if known) |
burial |
Place where emperor buried and/or emperor's tomb/body found |
monuments |
Names of any significant monuments dedicated to the emperor |
role |
Defaults to "Emperor" |
golden_hiero |
Emperor's hieroglyphic Golden Horus name (see above) |
nebty_hiero |
Emperor's hieroglyphic Nebty name (see above) |
horus_hiero |
Emperor's hieroglyphic Horus (see above) |
Microformat
The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.
To include a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
hCard uses HTML classes including:
- adr
- agent
- bday
- birthplace
- category
- country-name
- deathdate
- deathplace
- extended-address
- family-name
- fn (required)
- given-name
- honorific-prefix
- honorific-suffix
- label
- locality
- n
- nickname
- note
- org
- role
- url
- vcard
Please do not rename or remove these classes nor collapse nested elements which use them.
Tracking categories
Ancient Egypt templates
Sidebars
Other templates