Difference between revisions of "Template:Infobox pharaoh/sandbox"
Jump to navigation
Jump to search
imported>Trappist the monk (smaller) |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 33: | Line 33: | ||
| data5 = {{{Successor|{{{successor|}}}}}} | | data5 = {{{Successor|{{{successor|}}}}}} | ||
| + | | header6 = <span>[[Ancient Egyptian royal titulary|Royal titulary]]</span><!--(now resized header smaller to emphasize [show/hide] link)--> | ||
<!------------------- Royal titulary ----------------------> | <!------------------- Royal titulary ----------------------> | ||
| − | | | + | | data7 = {{Sidebar |bodystyle={{subsidebar bodystyle}} |navbar=off |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | {{Sidebar |bodystyle={{subsidebar bodystyle}} |navbar=off | ||
| − | |||
| − | |||
| − | |||
| heading2 = {{#if:{{{Prenomen|{{{prenomen|}}}}}} |[[Ancient Egyptian royal titulary#Throne name (praenomen)|Prenomen {{smaller| (Praenomen)}}]]}} | | heading2 = {{#if:{{{Prenomen|{{{prenomen|}}}}}} |[[Ancient Egyptian royal titulary#Throne name (praenomen)|Prenomen {{smaller| (Praenomen)}}]]}} | ||
| content2 = {{#if:{{{Prenomen|{{{prenomen|}}}}}} | | | content2 = {{#if:{{{Prenomen|{{{prenomen|}}}}}} | | ||
| Line 65: | Line 56: | ||
{{#if:{{{HorusHiero|{{{horus_hiero|}}}}}} |<tr><td class="center"> {{Infobox pharaoh/Serekh |prefix={{#if:{{{horus_prefix|}}}|{{{horus_prefix}}}|<hiero>G5</hiero>}} |Horus={{{HorusHiero|{{{horus_hiero}}}}}}}} </td></tr>}} | {{#if:{{{HorusHiero|{{{horus_hiero|}}}}}} |<tr><td class="center"> {{Infobox pharaoh/Serekh |prefix={{#if:{{{horus_prefix|}}}|{{{horus_prefix}}}|<hiero>G5</hiero>}} |Horus={{{HorusHiero|{{{horus_hiero}}}}}}}} </td></tr>}} | ||
</table> }} | </table> }} | ||
| + | |||
| + | }} | ||
| + | | data8 = | ||
| + | {{Hidden | ||
| + | | style = width:100%;margin:0;border:0;padding:0; | ||
| + | | header = additional names | ||
| + | | contentstyle = border-bottom:2px solid #decd87; | ||
| + | | content = | ||
| + | {{Sidebar |bodystyle={{subsidebar bodystyle}} |navbar=off | ||
| + | |basestyle=background:#e9deaf; |contentclass=nowrap |contentstyle=padding-top:0.2em;padding-bottom:0.8em; | ||
| + | | content1 = {{#if:{{{titulary_notes|{{{notes|}}}}}} |''{{{titulary_notes|{{{notes|}}}}}}''}} | ||
| heading5 = {{#if:{{{Nebty|{{{nebty|}}}}}} |[[Ancient Egyptian royal titulary#Nebty ("two ladies") name|Nebty name]]}} | | heading5 = {{#if:{{{Nebty|{{{nebty|}}}}}} |[[Ancient Egyptian royal titulary#Nebty ("two ladies") name|Nebty name]]}} | ||
| Line 82: | Line 84: | ||
<!---------------- Info fields (cont'd) -------------------> | <!---------------- Info fields (cont'd) -------------------> | ||
| − | | | + | | label9 = Consort{{#if:{{{spouses|{{{consorts|}}}}}}|s}} |
| − | | | + | | data9 = {{#if:{{{spouses|{{{consorts|}}}}}}|{{{spouses|{{{consorts|}}}}}}|{{{Spouse|{{{spouse|{{{consort|}}}}}}}}}}} |
| − | | | + | | label10 = Children |
| − | | | + | | data10 = {{{Children|{{{children|}}}}}} |
| − | | | + | | label11 = Father |
| − | | | + | | data11 = {{{Father|{{{father|}}}}}} |
| − | | | + | | label12 = Mother |
| − | | | + | | data12 = {{{Mother|{{{mother|}}}}}} |
| − | | | + | | label13 = Born |
| − | | | + | | data13 = {{if empty|{{{Born|}}}|{{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}}}} |
| − | | | + | | label14 = Died |
| − | | | + | | data14 = {{if empty|{{{Died|}}}|{{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}}} |
| − | | | + | | label15 = Burial |
| − | | | + | | data15 = {{{Burial|{{{burial|}}}}}} |
| − | | | + | | label16 = Monuments |
| − | | | + | | data16 = {{{Monuments|{{{monuments|}}}}}} |
}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox pharaoh with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox pharaoh]] with unknown parameter "_VALUE_"|ignoreblank=y| Alt | alt_name | birth_date | birth_place | Born | burial | Burial | caption | Caption | children | Children | consort | consorts | coregency | Coregency | death_date | death_place | Died | dynasty | Dynasty | father | Father | golden | Golden | golden_hiero | golden_translation | golden_translation_ref | GoldenHiero | horus | Horus | horus_hiero | horus_prefix | horus_translation | horus_translation_ref | HorusHiero | image | Image | image_alt | Image_alt | image_size | ImageSize | monuments | Monuments | mother | Mother | name | Name | nebty | Nebty | nebty_hiero | nebty_translation | nebty_translation_ref | NebtyHiero | nomen | Nomen | nomen_hiero | nomen_translation | nomen_translation_ref | NomenHiero | notes | predecessor | Predecessor | prenomen | Prenomen | prenomen_hiero | prenomen_translation | prenomen_translation_ref | PrenomenHiero | reign | Reign | role | spouse | Spouse | spouses | successor | Successor | titulary_notes }}<noinclude>{{Documentation}}</noinclude> | }}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox pharaoh with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox pharaoh]] with unknown parameter "_VALUE_"|ignoreblank=y| Alt | alt_name | birth_date | birth_place | Born | burial | Burial | caption | Caption | children | Children | consort | consorts | coregency | Coregency | death_date | death_place | Died | dynasty | Dynasty | father | Father | golden | Golden | golden_hiero | golden_translation | golden_translation_ref | GoldenHiero | horus | Horus | horus_hiero | horus_prefix | horus_translation | horus_translation_ref | HorusHiero | image | Image | image_alt | Image_alt | image_size | ImageSize | monuments | Monuments | mother | Mother | name | Name | nebty | Nebty | nebty_hiero | nebty_translation | nebty_translation_ref | NebtyHiero | nomen | Nomen | nomen_hiero | nomen_translation | nomen_translation_ref | NomenHiero | notes | predecessor | Predecessor | prenomen | Prenomen | prenomen_hiero | prenomen_translation | prenomen_translation_ref | PrenomenHiero | reign | Reign | role | spouse | Spouse | spouses | successor | Successor | titulary_notes }}<noinclude>{{Documentation}}</noinclude> | ||
Latest revision as of 15:39, 25 March 2020
| This is the template sandbox page for Template:Infobox pharaoh (diff). See also the companion subpage for test cases. |
| This template uses Lua: |
- redirect Template:Parameter names example
Contents
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 consortspouses 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
Tracking categories
Ancient Egypt templates
Sidebars
Other templates
| The above documentation is transcluded from Template:Infobox pharaoh/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |