Template:Infobox CoscEmperor: Difference between revisions
Created page with "<includeonly>{{Infobox | bodyclass = vcard nowraplinks | bodystyle = font-size:90%;width:24.44em<!--(90% of 24.44em ≈ 22.0em)-->; <!------------------ Headings, image -----..." |
mNo edit summary |
||
Line 5: | Line 5: | ||
<!------------------ Headings, image ----------------------> | <!------------------ Headings, image ----------------------> | ||
| aboveclass = fn | | aboveclass = fn | ||
| abovestyle = background:# | | abovestyle = background:#F5DEB3;font-size:130%;color:black; | ||
| above = {{{Name|{{{name}}}}}} | | above = {{{Name|{{{name}}}}}} | ||
Line 16: | Line 16: | ||
<!-------------------- Info fields ------------------------> | <!-------------------- Info fields ------------------------> | ||
| headerstyle = background:# | | headerstyle = background:#F5DEB3;font-size:105%;color:black; | ||
| labelstyle = padding-right:0.65em<!--(to ensure sufficient gap between any (long/unwrapped) label and subsequent data on the same line)--> | | labelstyle = padding-right:0.65em<!--(to ensure sufficient gap between any (long/unwrapped) label and subsequent data on the same line)--> | ||
Line 37: | Line 37: | ||
{{Hidden | {{Hidden | ||
| style = width:100%;margin:0;border:0;padding:0; | | style = width:100%;margin:0;border:0;padding:0; | ||
| headerstyle = background:# | | headerstyle = background:#F5DEB3;color:black;padding:0.1em; {{#if:{{{titulary_notes|{{{notes|}}}}}} | |display:block;margin-bottom:0.3em;}} | ||
| header = {{bigger|[[Ancient Coscivian imperial titulary|Imperial titulary]]}}<!--(resized here rather than via headerstyle otherwise [show/hide] link also resized)--> | | header = {{bigger|[[Ancient Coscivian imperial titulary|Imperial titulary]]}}<!--(resized here rather than via headerstyle otherwise [show/hide] link also resized)--> | ||
| contentstyle = border-bottom:2px solid #decd87; | | contentstyle = border-bottom:2px solid #decd87; |
Revision as of 15:01, 23 January 2024
This template uses Lua: |
{{{name}}} | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{{alt_name}}} | ||||||||||||||||||||||
[[File:{{{image}}}|frameless|alt= {{{image_alt}}}|upright=1|{{{caption}}}]] | ||||||||||||||||||||||
{{{role|Emperor}}} | ||||||||||||||||||||||
Reign | {{{reign}}} ({{{dynasty}}}) | |||||||||||||||||||||
Coregency | {{{coregency}}} | |||||||||||||||||||||
Predecessor | {{{predecessor}}} | |||||||||||||||||||||
Successor | {{{successor}}} | |||||||||||||||||||||
| ||||||||||||||||||||||
Consorts | {{{consorts}}} / {{{spouses}}} / {{{consort}}} / {{{spouse}}} | |||||||||||||||||||||
Children | {{{children}}} | |||||||||||||||||||||
Father | {{{father}}} | |||||||||||||||||||||
Mother | {{{mother}}} | |||||||||||||||||||||
Born | {{{birth_date}}} {{{birth_place}}} | |||||||||||||||||||||
Died | {{{death_date}}} {{{death_place}}} | |||||||||||||||||||||
Burial | {{{burial}}} | |||||||||||||||||||||
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