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

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
(fix docs to match template code)
imported>Vanisaac
m (→‎Tracking categories: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 +
 
{{Generic template 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
+
  |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 19: Line 21:
 
| role          =  <!-- Defaults to: [[Pharaoh]] -->
 
| role          =  <!-- Defaults to: [[Pharaoh]] -->
 
| reign          =
 
| reign          =
| dynasty        =
 
 
| coregency      =
 
| coregency      =
 
| predecessor    =
 
| predecessor    =
Line 39: 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 50: Line 54:
 
===Parameters===
 
===Parameters===
 
All optional other than ''name''.
 
All optional other than ''name''.
{{Aligned table |class=wikitable |style=line-height:1.15em;
+
{| class="wikitable"
|col1style=font-style:italic;padding-right:1.0em;
+
|-  
|row1style=background:whitesmoke;text-align:center;font-weight:bold;
+
! Parameter !! Function
| {{noitalic|Parameter}} | Function
+
|-
 
+
| <code>name </code>|| Name by which pharaoh commonly known
| '''name'''  | Name by which pharaoh commonly known
+
|-
| alt_name     | Alternative names
+
| <code>alt_name </code>|| Alternative names
| image       | Infobox image (headshot, if possible)
+
|-
| image_alt   | Alternative text for the image
+
| <code>image </code>|| Infobox image (headshot, if possible)
| caption     | Caption for the image
+
|-
| align       | Template's position: left, center or right
+
| <code>image_alt </code>|| Alternative text for the image
| nomen       | Pharaoh's nomen; use {{tag|hiero}} format, followed by transliteration, followed by translation
+
|-
| pronomen     | Pharaoh's pronomen (see above)
+
| <code>caption </code>|| Caption for the image
| golden       | Pharaoh's Golden Horus name
+
|-
| nebty       | Pharaoh's Nebty name
+
| <code>align </code>|| Template's position: left, center or right
| horus       | Pharaoh's Horus
+
|-
| reign       | Dates of pharaoh's reign (use alternatives, if known)
+
| <code>nomen </code>|| Pharaoh's nomen; use {{tag|hiero}} format, followed by transliteration, followed by translation
| predecessor | Name of pharaoh's predecessor
+
|-
| successor   | Name of pharaoh's successor
+
| <code>pronomen </code>|| Pharaoh's pronomen (see above)
| consorts ''(''consort'')''<br/>spouses ''(''spouse'')'' | Names of pharaoh's consorts/spouses
+
|-
| children     | Names of pharaoh's children
+
| <code>golden </code>|| Pharaoh's Golden Horus name
| dynasty     | Name of pharaoh's dynasty
+
|-
| coregency   | [[coregency]] (if applicable)
+
| <code>nebty </code>|| Pharaoh's Nebty name
| father       | Name of pharah's father (if known)
+
|-
| mother       | Name of pharah's mother (if known)
+
| <code>horus </code>|| Pharaoh's Horus
| birth_date   | Year of pharaoh's birth
+
|-
| death_date   | Year of pharaoh's death
+
| <code>reign </code>|| Dates of pharaoh's reign (use alternatives, if known)
| burial       | Place where pharaoh buried and/or pharaoh's tomb/body found
+
|-
| monuments   | Names of any significant monuments dedicated to the pharaoh
+
| <code>predecessor </code>|| Name of pharaoh's predecessor
| role         | Defaults to "[[Pharaoh]]"
+
|-
| golden_hiero | Pharaoh's hieroglyphic Golden Horus name (see above)
+
| <code>successor </code>|| Name of pharaoh's successor
| nebty_hiero | Pharaoh's hieroglyphic Nebty name (see above)
+
|-
| horus_hiero | Pharaoh's hieroglyphic Horus (see above)
+
| <code> consorts</code> or <code>consort</code><br/><code>spouses</code> or <code>spouse</code> || Names of pharaoh's consorts/spouses
 
+
|-
}}
+
| <code>children </code>|| Names of pharaoh's children
 +
|-
 +
| <code>dynasty </code>|| Name of pharaoh's dynasty
 +
|-
 +
| <code>coregency </code>|| [[coregency]] (if applicable)
 +
|-
 +
| <code>father </code>|| Name of pharah's father (if known)
 +
|-
 +
| <code>mother </code>|| Name of pharah's mother (if known)
 +
|-
 +
| <code>birth_date </code>|| Year of pharaoh's birth
 +
|-
 +
| <code>birth_place </code>|| Place of pharaoh's birth (if known)
 +
|-
 +
| <code>death_date </code>|| Year of pharaoh's death
 +
|-
 +
| <code>death_place </code>|| Place of pharaoh's death (if known)
 +
|-
 +
| <code>burial </code>|| Place where pharaoh buried and/or pharaoh's tomb/body found
 +
|-
 +
| <code>monuments </code>|| Names of any significant monuments dedicated to the pharaoh
 +
|-
 +
| <code>role </code>|| Defaults to "[[Pharaoh]]"
 +
|-
 +
| <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