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

From blackwiki
Jump to navigation Jump to search
imported>NERIUM
imported>Vanisaac
m (→‎Tracking categories: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(46 intermediate revisions by 15 users not shown)
Line 1: Line 1:
 +
{{Documentation subpage}}
 +
{{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 ==
This template is designed to display the information on Egyptian pharaohs, inclusing their names in Egyptian hieroglyphs. All but the name are optional, the parameters are as below (for a full example see Ramesses II).
 
  
Full syntax:
+
This template is designed to display information about an Egyptian pharaoh, including [[Ancient Egyptian royal titulary|their names]] in hieroglyphs.
<pre>
+
 
{{Pharaoh Infobox
+
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]].
|Name=
+
 
|Alt=
+
===Full syntax===
|Image=
+
<pre style="overflow:auto;">
|Caption=
+
{{Infobox pharaoh
|Reign=
+
| name          =
|Dynasty=
+
| alt_name      =
|Coregency=
+
| image          =
|Predecessor=
+
| image_alt      =
|Successor=
+
| caption        =
 +
| role          =  <!-- Defaults to: [[Pharaoh]] -->
 +
| reign          =
 +
| coregency      =
 +
| predecessor    =
 +
| successor      =
  
|Prenomen=
+
| notes          =
|PrenomenHiero=
+
| prenomen      =
|Nomen=
+
| prenomen_hiero =
|NomenHiero=
+
| nomen          =
|Golden=
+
| nomen_hiero    =
|GoldenHiero=
+
| horus          =
|Nebty=
+
| horus_prefix  = <!-- Defaults to: <hiero>G5</hiero> -->
|NebtyHiero=
+
| horus_hiero    =
|HorusPrefix=
+
| nebty          =
|Horus=
+
| nebty_hiero    =
|HorusHiero=
+
| golden        =
 +
| golden_hiero  =
  
|Spouse=
+
| spouse        =
|Children=
+
| children      =
|Father=
+
| dynasty        =
|Mother=
+
| father        =
|Born=
+
| mother        =
|Died=
+
| birth_date    =
|Burial=
+
| birth_place    = <!-- if known, otherwise omit -->
|Monuments=
+
| death_date    =
|}}
+
| death_place    = <!-- if known, otherwise omit -->
 +
| burial        =
 +
| monuments      =
 +
}}
 
</pre>
 
</pre>
  
Parameters used with this template:
+
===Parameters===
 +
All optional other than ''name''.
 +
{| class="wikitable"
 +
|-
 +
! Parameter !! Function
 +
|-
 +
| <code>name </code>|| Name by which pharaoh commonly known
 +
|-
 +
| <code>alt_name </code>|| Alternative names
 +
|-
 +
| <code>image </code>|| Infobox image (headshot, if possible)
 +
|-
 +
| <code>image_alt </code>|| Alternative text for the image
 +
|-
 +
| <code>caption </code>|| Caption for the image
 +
|-
 +
| <code>align </code>|| Template's position: left, center or right
 +
|-
 +
| <code>nomen </code>|| Pharaoh's nomen; use {{tag|hiero}} format, followed by transliteration, followed by translation
 +
|-
 +
| <code>pronomen </code>|| Pharaoh's pronomen (see above)
 +
|-
 +
| <code>golden </code>|| Pharaoh's Golden Horus name
 +
|-
 +
| <code>nebty </code>|| Pharaoh's Nebty name
 +
|-
 +
| <code>horus </code>|| Pharaoh's Horus
 +
|-
 +
| <code>reign </code>|| Dates of pharaoh's reign (use alternatives, if known)
 +
|-
 +
| <code>predecessor </code>|| Name of pharaoh's predecessor
 +
|-
 +
| <code>successor </code>|| Name of pharaoh's successor
 +
|-
 +
| <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 ==
 +
{{UF-hcard-person}}
 +
 
 +
== Tracking categories ==
 +
* {{clc|Pages using infobox pharaoh with unknown parameters}}
 +
 
 +
{{Ancient Egypt template list}}
 +
 
 +
<includeonly>{{Sandbox other||
 +
 
 +
[[Category:Royalty and nobility infobox templates|Pharaoh]]
 +
[[Category:Templates that add a tracking category]]
  
{{{align}}} — sets the position of the template: left, center or right.<br />
+
}}</includeonly>
{{{era}}} — sets the colours of the template by predefined era: see [[Template talk:Hiero]].<br />
 
{{{name}}} — the name in English for the header.<br />
 
{{{nomen}}} — the nomen in hieroglyphs with hiero tags.<br />
 
{{{Name}}} — sets the common name of the pharaoh (mandatory)<br />
 
{{{Image}}} — sets image for the info box (try and 'use a headshot', if possible) (optional)<br />
 
{{{Nomen}}} — sets the Nomen – use <hiero></hiero> format, then the transliteration, and then translation (optional)<br />
 
{{{Pronomen}}} — sets the Pronomen (See above) (optional)<br />
 
{{{Golden}}} — sets the text of the Golden Horus name (optional)<br />
 
{{{Nebty}}} — sets the text of the Nebty name (optional)<br />
 
{{{Horus}}} — sets the text of the Horus (optional)<br />
 
{{{Reign}}} — sets the dates of the reign (use alternatives, if known) (optional)<br />
 
{{{Predecessor}}} — sets the predecessor of the king (optional)<br />
 
{{{Successor}}} — sets the successor of the king (optional)<br />
 
{{{Spouse}}} — sets the consort(s) (optional)<br />
 
{{{Issues}}} — sets any children of the king (optional)<br />
 
{{{Dynasty}}} — sets the dynasty of the king (optional)<br />
 
{{{Father}}} — sets the father of the king, if known (optional)<br />
 
{{{Mother}}} — sets the mother of the king, if known (optional)<br />
 
{{{Born}}} — sets the year of birth (optional)<br />
 
{{{Died}}} — sets the year of death (optional)<br />
 
{{{Burial}}} — sets the place of burial, where the body was found, etc.(optional)<br />
 
{{{Monuments}}} — sets any major well known monuments of the king (optional)<br />
 
{{{Alt}}} — sets any alternatives of the name (optional)<br />
 
{{{ROLE}}} — sets the title of the box, defaults to Pharaoh of Egypt (optional)<br />
 
{{{GoldenHiero}}} — sets the hieroglyphic Golden Horus name (See above) (optional)<br />
 
{{{NebtyHiero}}} — sets the hieroglyphic Nebty name (See above) (optional)<br />
 
{{{HorusHiero}}} — sets the hieroglyphic Horus (See above) (optional)<br />
 
{{Template:Ancient Egyptian template navigation}}<includeonly>
 
[[Category:People infobox templates]]
 
[[cs:Šablona:Infobox Faraon]]
 
[[de:Vorlage:Infobox Pharao]]
 
[[es:Plantilla:Infobox Faraón]]
 
[[ja:Template:Pharaoh Infobox]]
 
[[mk:Шаблон:Инфокутија Фараон]]
 
[[ru:Шаблон:Фараон]]
 
[[vi:Tiêu bản:Pharaoh infobox]]
 
[[zh:Template:Pharaoh Infobox]]
 
</includeobly>
 

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