Difference between revisions of "Template:Infobox pharaoh"
Jump to navigation
Jump to search
imported>INkubusse m (+ mk iw) |
imported>Jonesey95 (Fix too small font per MOS:FONTSIZE.) |
||
| (41 intermediate revisions by 22 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | <includeonly>{{Infobox | |
| − | + | | bodyclass = vcard nowraplinks | |
| − | + | | bodystyle = font-size:90%;width:24.44em<!--(90% of 24.44em ≈ 22.0em)-->; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | <!------------------ Headings, image ----------------------> | |
| − | + | | aboveclass = fn | |
| − | + | | abovestyle = background:#decd87;font-size:130%; | |
| − | + | | above = {{{Name|{{{name}}}}}} | |
| − | |||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | | | + | | subheaderclass = nickname |
| − | | | + | | subheader = {{{Alt|{{{alt_name|}}}}}} |
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |}} | ||
| − | |||
| − | |||
| − | |||
| − | [[ | + | | imageclass = photo |
| − | </noinclude> | + | | image = {{#invoke:InfoboxImage|InfoboxImage |image={{{Image|{{{image|}}}}}} |size={{{ImageSize|{{{image_size|}}}}}} |sizedefault=frameless |upright=1 |alt={{{Image_alt|{{{image_alt|}}}}}} |title={{{Caption|{{{caption|}}}}}} }} |
| + | | caption = {{{Caption|{{{caption|}}}}}} | ||
| + | |||
| + | <!-------------------- Info fields ------------------------> | ||
| + | | headerstyle = background:#decd87;font-size:105%; | ||
| + | | labelstyle = padding-right:0.65em<!--(to ensure sufficient gap between any (long/unwrapped) label and subsequent data on the same line)--> | ||
| + | |||
| + | | header1 = {{#if:{{{role|}}} |{{{role}}} |[[Pharaoh]] <!--where else?: of [[Ancient Egypt|Egypt]]-->}} | ||
| + | |||
| + | | label2 = [[Egyptian chronology|Reign]] | ||
| + | | data2 = {{#if:{{{Reign|{{{reign|}}}}}} |{{{Reign|{{{reign}}}}}} {{#if:{{{Dynasty|{{{dynasty|}}}}}}|<span class="org">({{{Dynasty|{{{dynasty}}}}}})</span>}} }} | ||
| + | |||
| + | | label3 = [[Coregency]] | ||
| + | | data3 = {{{Coregency|{{{coregency|}}}}}} | ||
| + | |||
| + | | label4 = Predecessor | ||
| + | | data4 = {{{Predecessor|{{{predecessor|}}}}}} | ||
| + | |||
| + | | label5 = Successor | ||
| + | | data5 = {{{Successor|{{{successor|}}}}}} | ||
| + | |||
| + | <!------------------- Royal titulary ----------------------> | ||
| + | | data6 = | ||
| + | {{Hidden | ||
| + | | style = width:100%;margin:0;border:0;padding:0; | ||
| + | | headerstyle = background:#decd87;padding:0.1em; {{#if:{{{titulary_notes|{{{notes|}}}}}} | |display:block;margin-bottom:0.3em;}} | ||
| + | | header = {{bigger|[[Ancient Egyptian royal titulary|Royal titulary]]}}<!--(resized here rather than via headerstyle otherwise [show/hide] link also resized)--> | ||
| + | | 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|}}}}}}''}} | ||
| + | |||
| + | | heading2 = {{#if:{{{Prenomen|{{{prenomen|}}}}}} |[[Ancient Egyptian royal titulary#Throne name (praenomen)|Prenomen (Praenomen)]]}} | ||
| + | | content2 = {{#if:{{{Prenomen|{{{prenomen|}}}}}} | | ||
| + | <table width="100%"> | ||
| + | {{#if:{{{prenomen_translation|}}} |<tr><td style="font-size:125%;">'''''{{{Prenomen|{{{prenomen}}}}}}'''''</td></tr> <tr><td>"{{{prenomen_translation}}}" {{{prenomen_translation_ref|}}}</td></tr> |<tr><td>{{{Prenomen|{{{prenomen}}}}}}</td></tr>}} | ||
| + | {{#if:{{{PrenomenHiero|{{{prenomen_hiero|}}}}}} |<tr><td class="center"> {{Infobox pharaoh/Prenomen |Prenomen={{{PrenomenHiero|{{{prenomen_hiero}}}}}}}} </td></tr>}} | ||
| + | </table> }} | ||
| + | |||
| + | | heading3 = {{#if:{{{Nomen|{{{nomen|}}}}}} |[[Ancient Egyptian royal titulary|Nomen]]}} | ||
| + | | content3 = {{#if:{{{Nomen|{{{nomen|}}}}}} | | ||
| + | <table width="100%"> | ||
| + | {{#if:{{{nomen_translation|}}} |<tr><td style="font-size:125%;">'''''{{{Nomen|{{{nomen}}}}}}'''''</td></tr> <tr><td>"{{{nomen_translation}}}" {{{nomen_translation_ref|}}}</td></tr> |<tr><td>{{{Nomen|{{{nomen|}}}}}}</td></tr>}} | ||
| + | {{#if:{{{NomenHiero|{{{nomen_hiero|}}}}}} |<tr><td class="center"> {{Infobox pharaoh/Nomen |Nomen={{{NomenHiero|{{{nomen_hiero}}}}}}}} </td></tr>}} | ||
| + | </table> }} | ||
| + | |||
| + | | heading4 = {{#if:{{{Horus|{{{horus|}}}}}} |[[Ancient Egyptian royal titulary#Horus name|Horus name]]}} | ||
| + | | content4 = {{#if:{{{Horus|{{{horus|}}}}}} | | ||
| + | <table width="100%"> | ||
| + | {{#if:{{{horus_translation|}}} |<tr><td style="font-size:125%;">'''''{{{Horus|{{{horus}}}}}}'''''</td></tr> <tr><td>"{{{horus_translation}}}" {{{horus_translation_ref|}}}</td></tr> |<tr><td>{{{Horus|{{{horus|}}}}}}</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> }} | ||
| + | |||
| + | | heading5 = {{#if:{{{Nebty|{{{nebty|}}}}}} |[[Ancient Egyptian royal titulary#Nebty ("two ladies") name|Nebty name]]}} | ||
| + | | content5 = {{#if:{{{Nebty|{{{nebty|}}}}}} | | ||
| + | <table width="100%"> | ||
| + | {{#if:{{{nebty_translation|}}} |<tr><td style="font-size:125%;">'''''{{{Nebty|{{{nebty|}}}}}}'''''</td></tr> <tr><td>"{{{nebty_translation}}}" {{{nebty_translation_ref|}}}</td></tr> |<tr><td>{{{Nebty|{{{nebty|}}}}}}</td></tr>}} | ||
| + | {{#if:{{{NebtyHiero|{{{nebty_hiero|}}}}}} |<tr><td class="center"> {{Infobox pharaoh/Nebty |Nebty={{{NebtyHiero|{{{nebty_hiero}}}}}}}} </td></tr>}} | ||
| + | </table> }} | ||
| + | |||
| + | | heading6 = {{#if:{{{Golden|{{{golden|}}}}}} |[[Ancient Egyptian royal titulary#Horus of Gold|Golden Horus]]}} | ||
| + | | content6 = {{#if:{{{Golden|{{{golden|}}}}}} | | ||
| + | <table width="100%"> | ||
| + | {{#if:{{{golden_translation|}}} |<tr><td style="font-size:125%;">'''''{{{Golden|{{{golden}}}}}}'''''</td></tr> <tr><td>"{{{golden_translation}}}" {{{golden_translation_ref|}}}</td></tr> |<tr><td>{{{Golden|{{{golden}}}}}}</td></tr>}} | ||
| + | {{#if:{{{GoldenHiero|{{{golden_hiero|}}}}}} |<tr><td class="center"> {{Infobox pharaoh/Golden |Golden={{{GoldenHiero|{{{golden_hiero}}}}}}}} </td></tr>}} | ||
| + | </table> }} | ||
| + | }} }} | ||
| + | |||
| + | <!---------------- Info fields (cont'd) -------------------> | ||
| + | | label7 = Consort{{#if:{{{spouses|{{{consorts|}}}}}}|s}} | ||
| + | | data7 = {{#if:{{{spouses|{{{consorts|}}}}}}|{{{spouses|{{{consorts|}}}}}}|{{{Spouse|{{{spouse|{{{consort|}}}}}}}}}}} | ||
| + | |||
| + | | label8 = Children | ||
| + | | data8 = {{{Children|{{{children|}}}}}} | ||
| + | |||
| + | | label9 = Father | ||
| + | | data9 = {{{Father|{{{father|}}}}}} | ||
| + | |||
| + | | label10 = Mother | ||
| + | | data10 = {{{Mother|{{{mother|}}}}}} | ||
| + | |||
| + | | label11 = Born | ||
| + | | data11 = {{if empty|{{{Born|}}}|{{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}}}} | ||
| + | |||
| + | | label12 = Died | ||
| + | | data12 = {{if empty|{{{Died|}}}|{{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}}} | ||
| + | |||
| + | | label13 = Burial | ||
| + | | data13 = {{{Burial|{{{burial|}}}}}} | ||
| + | |||
| + | | label14 = Monuments | ||
| + | | data14 = {{{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> | ||
Latest revision as of 02:51, 20 February 2020
| 30px | 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. |