Template:Infobox pharaoh/sandbox
This is the template sandbox page for Template:Infobox pharaoh (diff). See also the companion subpage for test cases. |
This template uses Lua: |
{{{name}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{{alt_name}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||
[[File:{{{image}}}|frameless|alt= {{{image_alt}}}|upright=1|{{{caption}}}]] | ||||||||||||||||||||||||||||||||||||||||||||||||||
{{{role|Pharaoh}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||
Reign | {{{reign}}} ({{{dynasty}}}) | |||||||||||||||||||||||||||||||||||||||||||||||||
Coregency | {{{coregency}}} | |||||||||||||||||||||||||||||||||||||||||||||||||
Predecessor | {{{predecessor}}} | |||||||||||||||||||||||||||||||||||||||||||||||||
Successor | {{{successor}}} | |||||||||||||||||||||||||||||||||||||||||||||||||
Royal titulary | ||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||
additional names
| ||||||||||||||||||||||||||||||||||||||||||||||||||
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
[edit]This template is designed to display information about an Egyptian pharaoh, 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
[edit]{{Infobox pharaoh
| name =
| alt_name =
| image =
| image_alt =
| caption =
| role = <!-- Defaults to: [[Pharaoh]] -->
| reign =
| coregency =
| predecessor =
| successor =
| notes =
| prenomen =
| prenomen_hiero =
| nomen =
| nomen_hiero =
| horus =
| horus_prefix = <!-- Defaults to: <hiero>G5</hiero> -->
| horus_hiero =
| nebty =
| nebty_hiero =
| golden =
| golden_hiero =
| spouse =
| children =
| dynasty =
| father =
| mother =
| birth_date =
| birth_place = <!-- if known, otherwise omit -->
| death_date =
| death_place = <!-- if known, otherwise omit -->
| burial =
| monuments =
}}
Parameters
[edit]All optional other than name.
Parameter | Function |
---|---|
name |
Name by which pharaoh 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 |
Pharaoh's nomen; use <hiero>...</hiero> format, followed by transliteration, followed by translation
|
prenomen |
Pharaoh's prenomen (see above) |
golden |
Pharaoh's Golden Horus name |
nebty |
Pharaoh's Nebty name |
horus |
Pharaoh's Horus |
reign |
Dates of pharaoh's reign (use alternatives, if known) |
predecessor |
Name of pharaoh's predecessor |
successor |
Name of pharaoh's successor |
consorts or consort spouses or spouse |
Names of pharaoh's consorts/spouses |
children |
Names of pharaoh's children |
dynasty |
Name of pharaoh'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 pharaoh's birth |
birth_place |
Place of pharaoh's birth (if known) |
death_date |
Year of pharaoh's death |
death_place |
Place of pharaoh's death (if known) |
burial |
Place where pharaoh buried and/or pharaoh's tomb/body found |
monuments |
Names of any significant monuments dedicated to the pharaoh |
role |
Defaults to "Pharaoh" |
golden_hiero |
Pharaoh's hieroglyphic Golden Horus name (see above) |
nebty_hiero |
Pharaoh's hieroglyphic Nebty name (see above) |
horus_hiero |
Pharaoh's hieroglyphic Horus (see above) |
Microformat
[edit]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
[edit]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
[edit]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
[edit]Ancient Egypt templates
[edit]Sidebars
Other templates