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

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(simplification ({{Infobox pharaoh/parameter positions}}))
imported>Vanisaac
m (→‎Tracking categories: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
{{Infobox pharaoh/parameter positions}}
+
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 +
 
 +
{{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 | birth_place |death_date | death_place |burial |monuments
 +
}}
 
== Usage ==
 
== Usage ==
  
Line 17: Line 21:
 
| role          =  <!-- Defaults to: [[Pharaoh]] -->
 
| role          =  <!-- Defaults to: [[Pharaoh]] -->
 
| reign          =
 
| reign          =
| dynasty        =
 
 
| coregency      =
 
| coregency      =
 
| predecessor    =
 
| predecessor    =
Line 37: Line 40:
 
| spouse        =
 
| spouse        =
 
| children      =
 
| children      =
 +
| dynasty        =
 
| father        =
 
| father        =
 
| mother        =
 
| mother        =
 
| birth_date    =
 
| birth_date    =
 +
| birth_place    = <!-- if known, otherwise omit -->
 
| death_date    =
 
| death_date    =
 +
| death_place    = <!-- if known, otherwise omit -->
 
| burial        =
 
| burial        =
 
| monuments      =
 
| monuments      =
Line 46: Line 52:
 
</pre>
 
</pre>
  
{| class="wikitable"
+
===Parameters===
|+ Parameters used with this template
+
All optional other than ''name''.
 +
{| class="wikitable"  
 +
|-
 
! Parameter !! Function
 
! Parameter !! Function
|-
+
|-  
| name || sets the common name of the pharaoh (mandatory)
+
| <code>name </code>|| Name by which pharaoh commonly known
|-
+
|-  
| alt_name || sets any alternatives of the name (optional)
+
| <code>alt_name </code>|| Alternative names
|-
+
|-  
| image || sets image for the info box (try and 'use a headshot', if possible) (optional)
+
| <code>image </code>|| Infobox image (headshot, if possible)
|-
+
|-  
| image_alt || Alternative text for the image (optional)
+
| <code>image_alt </code>|| Alternative text for the image
|-
+
|-  
| caption || Caption for the image (optional)
+
| <code>caption </code>|| Caption for the image
|-
+
|-  
| align || sets the position of the template: left, center or right.
+
| <code>align </code>|| Template's position: left, center or right
|-
+
|-  
| era || sets the colours of the template by predefined era: see [[Template talk:Hiero]].
+
| <code>nomen </code>|| Pharaoh's nomen; use {{tag|hiero}} format, followed by transliteration, followed by translation
|-
+
|-  
| nomen || sets the Nomen – use {{tag|hiero}} format, then the transliteration, and then translation (optional)
+
| <code>pronomen </code>|| Pharaoh's pronomen (see above)
|-
+
|-  
| pronomen || sets the Pronomen (See above) (optional)
+
| <code>golden </code>|| Pharaoh's Golden Horus name
|-
+
|-  
| golden || sets the text of the Golden Horus name (optional)
+
| <code>nebty </code>|| Pharaoh's Nebty name
|-
+
|-  
| nebty || sets the text of the Nebty name (optional)
+
| <code>horus </code>|| Pharaoh's Horus
|-
+
|-  
| horus || sets the text of the Horus (optional)
+
| <code>reign </code>|| Dates of pharaoh's reign (use alternatives, if known)
|-
+
|-  
| reign || sets the dates of the reign (use alternatives, if known) (optional)
+
| <code>predecessor </code>|| Name of pharaoh's predecessor
|-
+
|-  
| predecessor || sets the predecessor of the king (optional)
+
| <code>successor </code>|| Name of pharaoh's successor
|-
+
|-  
| successor || sets the successor of the king (optional)
+
| <code> consorts</code> or <code>consort</code><br/><code>spouses</code> or <code>spouse</code> || Names of pharaoh's consorts/spouses
|-
+
|-  
| spouse || sets the consort(s) (optional)
+
| <code>children </code>|| Names of pharaoh's children
|-
+
|-  
| children || sets any children of the king (optional)
+
| <code>dynasty </code>|| Name of pharaoh's dynasty
|-
+
|-
| dynasty || sets the dynasty of the king (optional)
+
| <code>coregency </code>|| [[coregency]] (if applicable)
|-
+
|-  
| father || sets the father of the king, if known (optional)
+
| <code>father </code>|| Name of pharah's father (if known)
|-
+
|-  
| mother || sets the mother of the king, if known (optional)
+
| <code>mother </code>|| Name of pharah's mother (if known)
|-
+
|-  
| birth_date || sets the year of birth (optional)
+
| <code>birth_date </code>|| Year of pharaoh's birth
|-
+
|-
| death_date || sets the year of death (optional)
+
| <code>birth_place </code>|| Place of pharaoh's birth (if known)
|-
+
|-  
| burial || sets the place of burial, where the body was found, etc.(optional)
+
| <code>death_date </code>|| Year of pharaoh's death
|-
+
|-
| monuments || sets any major well known monuments of the king (optional)
+
| <code>death_place </code>|| Place of pharaoh's death (if known)
|-
+
|-  
| role || sets the title of the box, defaults to Pharaoh of Egypt (optional)
+
| <code>burial </code>|| Place where pharaoh buried and/or pharaoh's tomb/body found
|-
+
|-  
| golden_hiero || sets the hieroglyphic Golden Horus name (See above) (optional)
+
| <code>monuments </code>|| Names of any significant monuments dedicated to the pharaoh
|-
+
|-  
| nebty_hiero || sets the hieroglyphic Nebty name (See above) (optional)
+
| <code>role </code>|| Defaults to "[[Pharaoh]]"
|-
+
|-  
| horus_hiero || sets the hieroglyphic Horus (See above) (optional)
+
| <code>golden_hiero </code>|| Pharaoh's hieroglyphic Golden Horus name (see above)
|-
+
|-  
 +
| <code>nebty_hiero </code>|| Pharaoh's hieroglyphic Nebty name (see above)
 +
|-  
 +
| <code>horus_hiero </code>|| Pharaoh's hieroglyphic Horus (see above)
 
|}
 
|}
  
 
== Microformat ==
 
== Microformat ==
 
{{UF-hcard-person}}
 
{{UF-hcard-person}}
 +
 +
== Tracking categories ==
 +
* {{clc|Pages using infobox pharaoh with unknown parameters}}
  
 
{{Ancient Egypt template list}}
 
{{Ancient Egypt template list}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
 
 
[[Category:Royalty and nobility infobox templates|Pharaoh]]
 
[[Category:Royalty and nobility infobox templates|Pharaoh]]
}}
+
[[Category:Templates that add a tracking category]]
</includeonly>
+
 
 +
}}</includeonly>

Latest revision as of 20:54, 25 April 2020

  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          =
| 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
pronomen Pharaoh's pronomen (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

Template:UF-hcard-person

Tracking categories

Ancient Egypt templates

Sidebars

Other templates