Template:Infobox CoscEmperor: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 21: | Line 21: | ||
| header1 = {{#if:{{{role|}}} |{{{role}}} |[[Emperor]] <!--where else?: of [[Coscivian civilisation|the Coscivians]]-->}} | | header1 = {{#if:{{{role|}}} |{{{role}}} |[[Emperor]] <!--where else?: of [[Coscivian civilisation|the Coscivians]]-->}} | ||
| label2 = [[Coscivian chronology| | | label2 = [[Coscivian chronology|Imperium]] | ||
| data2 = {{ | | data2 = {{{Imperium|{{{imperium|}}}}}} | ||
| label3 = [[ | | label3 = [[Coscivian chronology|Dynasty]] | ||
| data3 = {{{ | | data3 = {{{Dynasty|{{{dynasty|}}}}}} | ||
| label4 = | | label4 = [[Coscivian chronology|Reign]] | ||
| data4 = {{{ | | data4 = {{#if:{{{Reign|{{{reign|}}}}}} |{{{Reign|{{{reign}}}}}} {{#if:{{{Dynasty|{{{dynasty|}}}}}}|<span class="org">({{{Dynasty|{{{dynasty}}}}}})</span>}} }} | ||
| label5 = Successor | | label5 = [[Coregency]] | ||
| | | data5 = {{#if:{{{Coregency|{{{coregency|}}}}}} |{{{Coregency|{{{coregency}}}}}} | ||
| label6 = Predecessor | |||
| data6 = {{{Predecessor|{{{predecessor|}}}}}} | |||
| label7 = Successor | |||
| data7 = {{{Successor|{{{successor|}}}}}} | |||
<!---------------- Info fields (cont'd) -------------------> | <!---------------- Info fields (cont'd) -------------------> |
Revision as of 15:36, 23 January 2024
This template uses Lua: |
{{Infobox | bodyclass = vcard nowraplinks | bodystyle = font-size:90%;width:24.44em;
| aboveclass = fn | abovestyle = background:#FF69B4;font-size:130%;color:black; | above = {{{name}}}
| subheaderclass = nickname | subheader = {{{alt_name}}}
| imageclass = photo
| image = [[File:{{{image}}}|frameless|alt=
{{{image_alt}}}|upright=1|{{{caption}}}]]
| caption = {{{caption}}}
| headerstyle = background:#FF69B4;font-size:105%;color:black; | labelstyle = padding-right:0.65em
| header1 = {{{role|Emperor}}}
| label2 = Imperium | data2 =
| label3 = Dynasty | data3 = {{{dynasty}}}
| label4 = Reign | data4 = {{{reign}}} ({{{dynasty}}})
| label5 = Coregency | data5 = {{{coregency}}}
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