Template:Infobox pharaoh/doc: Difference between revisions
en>SuperSpica (Undid revision 1050703678 by SardarTwon (talk)) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:09, 18 January 2023
File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox pharaoh. It contains usage information, categories and other content that is not part of the original template page. |
File:Lua-Logo.svg | This template uses Lua: |
Script error: No such module "Parameter names example".
Usage
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
{{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
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
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