Difference between revisions of "Template:Infobox pharaoh/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (template name update)
imported>Sardanaphalus
(Generic template demo, subheading, Aligned table)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
{{Infobox pharaoh/parameter demo}}
+
{{Generic template demo
 +
|name |alt_name |image |image_alt=<br/>{{{image_alt}}} |caption |role={{{role{{!}}[[Pharaoh]]}}} |reign |dynasty |coregency |predecessor |successor |titulary_notes |prenomen |prenomen_hiero |nomen |nomen_hiero |horus <!--use default: |horus_prefix--> |horus_hiero |nebty |nebty_hiero |golden |golden_hiero |consorts={{longitem|{{{consorts}}}{{\}}{{{spouses}}}{{\}}{{{consort}}}{{\}}{{{spouse}}}}} |children |father |mother |birth_date |death_date |burial |monuments
 +
}}
 
== Usage ==
 
== Usage ==
  
Line 46: Line 48:
 
</pre>
 
</pre>
  
{| class="wikitable"
+
===Parameters===
|+ Parameters used with this template
+
All optional other than ''name''.
! Parameter !! Function
+
{{Aligned table |class=wikitable |style=line-height:1.15em;
|-
+
|col1style=font-style:italic;padding-right:1.0em;
| name || sets the common name of the pharaoh (mandatory)
+
|row1style=background:whitesmoke;text-align:center;font-weight:bold;
|-
+
| {{noitalic|Parameter}} | Function
| alt_name || sets any alternatives of the name (optional)
+
 
|-
+
| '''name'''  | Name by which pharaoh commonly known
| image || sets image for the info box (try and 'use a headshot', if possible) (optional)
+
| alt_name     | Alternative names
|-
+
| image       | Infobox image (headshot, if possible)
| image_alt || Alternative text for the image (optional)
+
| image_alt   | Alternative text for the image
|-
+
| caption     | Caption for the image
| caption || Caption for the image (optional)
+
| align       | Template's position: left, center or right
|-
+
| era         | Template's colour scheme (by predefined era; see [[Template talk:Hiero]])
| align || sets the position of the template: left, center or right.
+
| nomen        | Pharaoh's nomen; use {{tag|hiero}} format, followed by transliteration, followed by translation
|-
+
| pronomen    | Pharaoh's pronomen (see above)
| era || sets the colours of the template by predefined era: see [[Template talk:Hiero]].
+
| golden       | Pharaoh's Golden Horus name
|-
+
| nebty       | Pharaoh's Nebty name
| nomen || sets the Nomen – use {{tag|hiero}} format, then the transliteration, and then translation (optional)
+
| horus       | Pharaoh's Horus
|-
+
| reign       | Dates of pharaoh's reign (use alternatives, if known)
| pronomen || sets the Pronomen (See above) (optional)
+
| predecessor | Name of pharaoh's predecessor
|-
+
| successor   | Name of pharaoh's successor
| golden || sets the text of the Golden Horus name (optional)
+
| consorts ''(''consort'')''<br/>spouses ''(''spouse'')'' | Names of pharaoh's consorts/spouses
|-
+
| children     | Names of pharaoh's children
| nebty || sets the text of the Nebty name (optional)
+
| dynasty     | Name of pharaoh's dynasty
|-
+
| father       | Name of pharah's father (if known)
| horus || sets the text of the Horus (optional)
+
| mother       | Name of pharah's mother (if known)
|-
+
| birth_date   | Year of pharaoh's birth
| reign || sets the dates of the reign (use alternatives, if known) (optional)
+
| death_date   | Year of pharaoh's death
|-
+
| burial       | Place where pharaoh buried and/or pharaoh's tomb/body found
| predecessor || sets the predecessor of the king (optional)
+
| monuments   | Names of any significant monuments dedicated to the pharaoh
|-
+
| role         | Defaults to "[[Pharaoh]]"
| successor || sets the successor of the king (optional)
+
| golden_hiero | Pharaoh's hieroglyphic Golden Horus name (see above)
|-
+
| nebty_hiero | Pharaoh's hieroglyphic Nebty name (see above)
| spouse || sets the consort(s) (optional)
+
| horus_hiero | Pharaoh's hieroglyphic Horus (see above)
|-
+
 
| children || sets any children of the king (optional)
+
}}
|-
 
| dynasty || sets the dynasty of the king (optional)
 
|-
 
| father || sets the father of the king, if known (optional)
 
|-
 
| mother || sets the mother of the king, if known (optional)
 
|-
 
| birth_date || sets the year of birth (optional)
 
|-
 
| death_date || sets the year of death (optional)
 
|-
 
| burial || sets the place of burial, where the body was found, etc.(optional)
 
|-
 
| monuments || sets any major well known monuments of the king (optional)
 
|-
 
| role || sets the title of the box, defaults to Pharaoh of Egypt (optional)
 
|-
 
| golden_hiero || sets the hieroglyphic Golden Horus name (See above) (optional)
 
|-
 
| nebty_hiero || sets the hieroglyphic Nebty name (See above) (optional)
 
|-
 
| horus_hiero || sets the hieroglyphic Horus (See above) (optional)
 
|-
 
|}
 
  
 
== Microformat ==
 
== Microformat ==

Revision as of 17:13, 24 July 2014

  1. redirect Template: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          =
| dynasty        =
| 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       =
| father         =
| mother         =
| birth_date     =
| death_date     =
| burial         =
| monuments      =
}}

Parameters

All optional other than name. Script error: No such module "aligned table".

Microformat

Template:UF-hcard-person

Ancient Egypt templates

Sidebars

Other templates