Difference between revisions of "ShoutWiki Hub:Sandbox"

ShoutWiki — express yourself and be heard!
Jump to navigation Jump to search
4,381 bytes added ,  01:05, 16 January 2020
no edit summary
|}
|}
 
<includeonly>{{Infobox
| title = {{#if:{{{monarch_name|}}}|| {{{name|{{PAGENAME}}}}} }}
| titlestyle = {{{titlestyle|}}}
| above = {{{monarch_name|}}}
| abovestyle = {{{abovestyle|background: #E0E8FF; text-align:center;}}}
 
| image = {{{image|[[Image:No_image.jpg|200px]]}}}
| caption = {{{image_caption|}}}
| imagestyle = {{{imagestyle|}}}
 
<!--
| bodyclass =
| titleclass =
| aboveclass =
| imageclass =
-->
| headerstyle = background-color:#B0C4DE;
<!-- Biographical Information Section -->
| header1 = Biographical Information
 
| label2 = Reign
| data2 = {{{reign|}}}
| label3 = Coronation
| data3 = {{{coronation|}}}
 
| label5 = Full Name
| data5 = {{{fullname|}}}
| label6 = Alias
| data6 = {{{alias|}}}
| label7 = Titles
| data7 = {{{othertitles|}}}
 
| label10 = Born in
| data10 = {{{dateofbirth|}}}{{#IF:{{{placeofbirth|}}}|{{#IF:{{{dateofbirth|}}}, at }}}} {{{placeofbirth|}}}
| label12 = Died in
| data12 = {{{dateofdeath|}}}{{#IF:{{{placeofdeath|}}}|{{#IF:{{{dateofdeath|}}}, at }}}} {{{placeofdeath|}}}
| label14 = Buried in
| data14 = {{{dateofburial|}}}{{#IF:{{{placeofburial|}}}|{{#IF:{{{dateofburial|}}}, at }}}} {{{placeofburial|}}}
| label16 = Culture
| data16 = {{{culture|}}}
 
<!-- Family Section -->
| header18 = {{#if: {{{royalhouse|}}}{{{predecessor|}}}{{{heir|}}}{{{successor|}}} {{{queen|}}}{{{consort|}}}{{{spouse|}}}{{{issue|}}} {{{father|}}}{{{mother|}}}| Family}}
 
| label19 = Royal House
| data19 = {{{royalhouse|}}}
| label20 = Predecessor
| data20 = {{{predecessor|}}}
| label21 = Heir
| data21 = {{{heir|}}}
| label22 = Successor
| data22 = {{{successor|}}}
 
| label23 = Queen
| data23 = {{{queen|}}}
| label24 = Consort
| data24 = {{{consort|}}}
| label25 = Betrothed
| data25 = {{{betrothed|}}}
| label26 = Spouse
| data26 = {{{spouse1|{{{spouse|}}}}}}<!-- for compatibility-->
| label27 = Issue
| data27 = {{{issue|}}}
 
| label28 = Father
| data28 = {{{father|}}}
| label29 = Mother
| data29 = {{{mother|}}}
 
| label30 = Personal arms
| data30 = {{{coat-of-arms|}}}
 
<!-- References Section -->
| header36 = {{#if: {{{TV_series|}}}{{{Played_by|}}}{{{Books|}}}|References}}
| label37 = Books
| data37 = {{{Books|}}}
| label38 = Played by
| data38 = {{{Played_by|}}}
| label39 = TV series
| data39 = {{{TV_series|}}}
}}</includeonly><noinclude>
 
<!-- Example -->
{{Monarch
| name = His name
| image caption = image caption
| reign = From Date to Date
| coronation = Date
| alias = text
| othertitles = Additional titles
| fullname = text
| predecessor = text
| successor = text
| heir = text
| queen = text
| consort = text
| betrothed = text
| spouse = text
| issue = list
| royalhouse = text
| father = text
| mother = text
| dateofbirth = Date
| placeofbirth = text
| dateofdeath = Date
| placeofdeath = text
| dateofburial = Date
| placeofburial = text
| culture = text
}}
 
==Usage==
Empty Template for easy copy/paste:
<pre>
{{Infobox monarch
| name =
| image =
| image_caption =
| reign =
| coronation =
| othertitles =
| alias =
| fullname =
| predecessor =
| successor =
| heir =
| queen =
| consort =
| betrothed =
| spouse =
| issue =
| royalhouse =
| father =
| mother =
| dateofbirth =
| placeofbirth =
| dateofdeath =
| placeofdeath =
| dateofburial =
| placeofburial =
| culture =
| coat-of-arms =
| Books =
| Played_by =
| TV_series =
}}
</pre>
 
Note:Parameters which assigned no value are not shown when the template is used.<br />
you can see a preview of the template with all of its fields on your right side.
 
<pre>
{{Infobox monarch
| name =
| image = Full Image syntax for example [[File:....|300px]].
| image_caption =
| reign = From {{Date|XXX}} to {{Date|XXX}} - Period during which he ruled
| coronation = {{Date|XXX}} - when he was crowned
| othertitles = additional titles
| alias =
| fullname =
| predecessor = the person who preceded him
| successor = the person who succeeded him
| queen =
| consort =
| betrothed =
| spouse =
| heir =
| issue = other children
| royalhouse =
| father =
| mother =
| dateofbirth = {{Date|XXX}}
| placeofbirth =
| dateofdeath =
| placeofdeath =
| dateofburial =
| placeofburial =
| culture = see [[:Category:Cultures]] for options.
| Books =
| Played_by =
| TV_series =
}}
</pre>
[[Category:Infobox templates|Monarch]]</noinclude>
22

edits