Difference between revisions of "Template:Infobox pharaoh"

From blackwiki
Jump to navigation Jump to search
imported>Fayenatic london
m (Sort key in categories)
imported>Jonesey95
(Fix too small font per MOS:FONTSIZE.)
 
(58 intermediate revisions by 25 users not shown)
Line 1: Line 1:
{| class="infobox" style="float:right;margin:0 0 1em 1em;font-size:90%;clear:right;width: 23em" cellspacing="5"
+
<includeonly>{{Infobox
!colspan="3" style="background: #d6d6ff; text-align: center; font-size: larger;" | '''{{{Name}}}'''
+
| bodyclass = vcard nowraplinks
|-
+
| bodystyle = font-size:90%;width:24.44em<!--(90% of 24.44em ≈ 22.0em)-->;
{{#if: {{{Alt|<noinclude>-</noinclude>}}} |
 
!colspan="3" style="background: #d6d6ff; text-align: center; font-size: smaller;" {{!}} '''{{{Alt}}}'''
 
}}
 
<!--|-
 
|colspan="3" style="text-align:center;" | '''{{{ROLE|[[Pharaoh{{!}}Pharaoh of Egypt]]}}}'''-->
 
|- style="text-align: center;"
 
| style="width: 30%;" | Preceded by:<br />'''{{{Predecessor}}}'''
 
| style="width: 40%;" | '''{{{ROLE|[[Pharaoh{{!}}Pharaoh of Egypt]]}}}''' {{#if: {{{Dynasty|<noinclude>-</noinclude>}}} |<br />''{{{Dynasty}}}''}}
 
| style="width: 30%;" | Succeeded by:<br />'''{{{Successor}}}'''
 
|-
 
|-
 
{{#if: {{{Image|<noinclude>-</noinclude>}}} |
 
{{!}} colspan="3" style="padding-bottom:1em;text-align:center;" {{!}} {{{Image}}}
 
{{!}}-
 
}}
 
|-
 
{{#if: {{{Reign|<noinclude>-</noinclude>}}} |
 
{{!}} style="vertical-align: top; text-align: right;" {{!}} '''[[Egyptian chronology|Reign]]'''
 
{{!}} colspan="3" style="text-align: left;" {{!}} {{{Reign}}}
 
{{!}}-
 
}}
 
|-
 
{{#if: {{{Pronomen|<noinclude>-</noinclude>}}} |
 
{{!}} style="vertical-align: top; text-align: right;" {{!}} '''[[Ancient Egyptian royal titulary#Throne name (praenomen)|Praenomen]]'''
 
{{!}} colspan="3" style="text-align: left;" {{!}} {{{Pronomen}}}
 
{{!}}-
 
}}
 
{{#if: {{{Nomen|<noinclude>-</noinclude>}}} |
 
{{!}} style="vertical-align: top; text-align: right;" {{!}} '''[[Ancient Egyptian royal titulary#Personal name (nomen)|Nomen]]'''
 
{{!}} colspan="3" style="text-align: left;" {{!}} {{{Nomen}}}
 
{{!}}-
 
}}
 
|-
 
{{#if: {{{Horus|<noinclude>-</noinclude>}}} |
 
{{!}} style="vertical-align: top; text-align: right;" {{!}} '''[[Ancient Egyptian royal titulary#Horus name|Horus<br/>name]]'''
 
{{!}} colspan="3" style="text-align: left;" {{!}} {{#if: {{{HorusHiero|<noinclude>-</noinclude>}}} |{{Pharaoh Infobox Serekh|Horus={{{HorusHiero}}}|prefix={{{HorusPrefix|<hiero>G5</hiero>}}} }} }}{{{Horus}}}
 
{{!}}-
 
}}
 
|-
 
{{#if: {{{Nebty|<noinclude>-</noinclude>}}} |
 
{{!}} style="vertical-align: top; text-align: right;" {{!}} '''[[Ancient Egyptian royal titulary#Nebty ("two ladies") name|Nebty<br/>name]]'''
 
{{!}} colspan="3" style="text-align: left;" {{!}} {{#if: {{{NebtyHiero|<noinclude>-</noinclude>}}} |{{Pharaoh Infobox Nebty|Nebty={{{NebtyHiero}}}}} }}{{{Nebty}}}
 
{{!}}-
 
}}
 
|-
 
{{#if: {{{Golden|<noinclude>-</noinclude>}}} |
 
{{!}} style="vertical-align: top; text-align: right;" {{!}} '''[[Ancient Egyptian royal titulary#Horus of Gold|Golden<br/>Horus]]'''
 
{{!}} colspan="3" style="text-align: left;" {{!}} {{#if: {{{GoldenHiero|<noinclude>-</noinclude>}}} |{{Pharaoh Infobox Golden|Golden={{{GoldenHiero}}}}} }}{{{Golden}}}
 
{{!}}-
 
}}
 
|-
 
{{#if: {{{Spouse|<noinclude>-</noinclude>}}} |
 
{{!}} style="vertical-align: top; text-align: right;" {{!}} '''Consort(s)'''
 
{{!}} colspan="3" style="text-align: left;" {{!}} {{{Spouse}}}
 
{{!}}-
 
}}
 
|-
 
{{#if: {{{Issues|<noinclude>-</noinclude>}}} |
 
{{!}} style="vertical-align: top; text-align: right;" {{!}} '''Issue'''
 
{{!}} colspan="3" style="text-align: left;" {{!}} {{{Issues}}}
 
{{!}}-
 
}}
 
<!--
 
|-
 
{{#if: {{{Dynasty|<noinclude>-</noinclude>}}} |
 
{{!}} style="vertical-align: top; text-align: right;" {{!}} '''[[List of Egyptian dynasties|Dynasty]]'''
 
{{!}} colspan="3" style="text-align: left;" {{!}} {{{Dynasty}}}
 
{{!}}-
 
}}
 
-->
 
|-
 
{{#if: {{{Father|<noinclude>-</noinclude>}}} |
 
{{!}} style="vertical-align: top; text-align: right;" {{!}} '''Father'''
 
{{!}} colspan="3" style="text-align: left;" {{!}} {{{Father}}}
 
{{!}}-
 
}}
 
|-
 
{{#if: {{{Mother|<noinclude>-</noinclude>}}} |
 
{{!}} style="vertical-align: top; text-align: right;" {{!}} '''Mother'''
 
{{!}} colspan="3" style="text-align: left;" {{!}} {{{Mother}}}
 
{{!}}-
 
}}
 
|-
 
{{#if: {{{Born|<noinclude>-</noinclude>}}} |
 
{{!}} style="vertical-align: top; text-align: right;" {{!}} '''Born'''
 
{{!}} colspan="3" style="text-align: left;" {{!}} {{{Born}}}
 
{{!}}-
 
}}
 
|-
 
{{#if: {{{Died|<noinclude>-</noinclude>}}} |
 
{{!}} style="vertical-align: top; text-align: right;" {{!}} '''Died'''
 
{{!}} colspan="3" style="text-align: left;" {{!}} {{{Died}}}
 
{{!}}-
 
}}
 
|-
 
{{#if: {{{Burial|<noinclude>-</noinclude>}}} |
 
{{!}} style="vertical-align: top; text-align: right;" {{!}} '''Burial'''
 
{{!}} colspan="3" style="text-align: left;" {{!}} {{{Burial}}}
 
{{!}}-
 
}}
 
|-
 
{{#if: {{{Monuments|<noinclude>-</noinclude>}}} |
 
{{!}} style="vertical-align: top; text-align: right;" {{!}} '''Major<br>Monuments'''
 
{{!}} colspan="3" style="text-align: left;" {{!}} {{{Monuments}}}
 
{{!}}-
 
}}
 
|}<noinclude>
 
== Usage ==
 
<pre>
 
{{Pharaoh Infobox
 
|Name=
 
|Image=
 
|Nomen=
 
|Pronomen=
 
|Golden=
 
|Nebty=
 
|Horus=
 
|Reign=
 
|Predecessor=
 
|Successor=
 
|Spouse=
 
|Issues=
 
|Dynasty=
 
|Father=
 
|Mother=
 
|Born=
 
|Died=
 
|Burial=
 
|Monuments=
 
|Alt=
 
|ROLE=
 
|GoldenHiero=
 
|NebtyHiero=
 
|HorusHiero=
 
|HorusPrefix=
 
|}}
 
</pre>
 
  
[[Category:Egyptian navigational boxes|Pharaoh]]
+
<!------------------ Headings, image ---------------------->
[[Category:People infobox templates|Pharaoh]]
+
| aboveclass = fn
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
+
| abovestyle = background:#decd87;font-size:130%;
 +
| above = {{{Name|{{{name}}}}}}
  
[[cs:Šablona:Infobox Faraon]]
+
| subheaderclass = nickname
[[es:Plantilla:Infobox Faraón]]
+
| subheader = {{{Alt|{{{alt_name|}}}}}}
[[mk:Шаблон:Инфокутија-Фараон]]
+
 
</noinclude>
+
| imageclass = photo
 +
| 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 &nbsp;(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}}}"&thinsp;{{{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}}}"&thinsp;{{{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}}}"&thinsp;{{{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}}}"&thinsp;{{{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}}}"&thinsp;{{{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

Template documentation[view] [edit] [history] [purge]
  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