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

From blackwiki
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 ---------------------->
data6  =
+
data7 =      {{Sidebar |bodystyle={{subsidebar bodystyle}} |navbar=off
{{Hidden
 
  | style = width:100%;margin:0;border:0;padding:0;
 
  | headerstyle = font-size:150%;background:#decd87;padding:0.1em; {{#if:{{{titulary_notes|{{{notes|}}}}}} | |display:block;margin-bottom:0.3em;}}<!--(resize [show/hide] link)-->
 
  | header = <span style="font-size:75%;">[[Ancient Egyptian royal titulary|Royal titulary]]</span><!--(now resized header smaller to emphasize [show/hide] link)-->
 
  | 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 {{smaller|&nbsp;(Praenomen)}}]]}}
 
       | heading2 = {{#if:{{{Prenomen|{{{prenomen|}}}}}} |[[Ancient Egyptian royal titulary#Throne name (praenomen)|Prenomen {{smaller|&nbsp;(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) ------------------->
| label7 = Consort{{#if:{{{spouses|{{{consorts|}}}}}}|s}}
+
| label9 = Consort{{#if:{{{spouses|{{{consorts|}}}}}}|s}}
data7 = {{#if:{{{spouses|{{{consorts|}}}}}}|{{{spouses|{{{consorts|}}}}}}|{{{Spouse|{{{spouse|{{{consort|}}}}}}}}}}}
+
data9 = {{#if:{{{spouses|{{{consorts|}}}}}}|{{{spouses|{{{consorts|}}}}}}|{{{Spouse|{{{spouse|{{{consort|}}}}}}}}}}}
  
| label8 = Children
+
| label10 = Children
data8 = {{{Children|{{{children|}}}}}}
+
data10 = {{{Children|{{{children|}}}}}}
  
| label9 = Father
+
| label11 = Father
data9 = {{{Father|{{{father|}}}}}}
+
data11 = {{{Father|{{{father|}}}}}}
  
| label10 = Mother
+
| label12 = Mother
data10 = {{{Mother|{{{mother|}}}}}}  
+
data12 = {{{Mother|{{{mother|}}}}}}  
  
| label11 = Born
+
| label13 = Born
data11 = {{if empty|{{{Born|}}}|{{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}}}}
+
data13 = {{if empty|{{{Born|}}}|{{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}}}}
  
| label12 = Died
+
| label14 = Died
data12 = {{if empty|{{{Died|}}}|{{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}}}
+
data14 = {{if empty|{{{Died|}}}|{{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}}}
  
| label13 = Burial
+
| label15 = Burial
data13 = {{{Burial|{{{burial|}}}}}}
+
data15 = {{{Burial|{{{burial|}}}}}}
  
| label14 = Monuments
+
| label16 = Monuments
data14 = {{{Monuments|{{{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

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