Template:Kingdom: Difference between revisions

From Tolkien Gateway
mNo edit summary
m (Tweaked line breaks)
(17 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:300px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
<includeonly><table border="0" cellspacing="0" cellpadding="4" style="float: right; clear: right; margin: 0 0 .5em .5em; width: 252px; background: #F0F0F0; border-collapse: collapse; border: 1px solid #999999; font-size: 80%; line-height: 1.5;"> {{t|1=<tr><th colspan="2" style="padding: 0; background: #999999; color: white; font-weight: normal; font-size: 100%">{{{image|}}}</th></tr>|1{{{image|}}}=}} <tr><th colspan="2" style="color: white; background:#999999; font-size: 125%;">{{{name|{{#explode:{{PAGENAME}}| (|0}}}}}</th></tr> {{t|1=<tr><th colspan="2" style="background: #CCCCCC;">General information</th></tr>|1{{{pronun|}}}{{{othernames|}}}{{{location|}}}{{{capital|}}}{{{towns|}}}{{{regions|}}}=}} {{t|1=<tr style="vertical-align: top; border-top: 1px solid #999999;"><td>Pronunciation</td><td>{{{pronun}}}</td></tr>|1{{{pronun|}}}=}} {{t|1=<tr style="vertical-align: top; border-top: 1px solid #999999;"><td>Other&nbsp;names</td><td>{{{othernames}}}</td></tr>|1{{{othernames|}}}=}} {{t|1=<tr style="vertical-align: top; border-top: 1px solid #999999;"><td>Location</td><td>{{{location}}}</td></tr>|1{{{location|}}}=}} {{t|1=<tr style="vertical-align: top; border-top: 1px solid #999999;"><td>Capital</td><td>{{{capital|}}}</td></tr>|1{{{capital|}}}=}} {{t|1=<tr style="vertical-align: top; border-top: 1px solid #999999;"><td>Major&nbsp;towns</td><td>{{{towns|}}}</td></tr>|1{{{towns|}}}=}} {{t|1=<tr style="vertical-align: top; border-top: 1px solid #999999;"><td>Regions</td><td>{{{regions|}}}</td></tr>|1{{{regions|}}}=}} {{t|1=<tr><th colspan="2" style="background: #CCCCCC; border-top: 1px solid #999999;">People</th></tr>|1{{{population|}}}{{{language|}}}{{{govern1|}}}{{{govern2|}}}{{{govern3|}}}{{{currency|}}}{{{holiday|}}}=}} {{t|1=<tr style="vertical-align: top; border-top: 1px solid #999999;"><td>Population</td><td>{{{population|}}}</td></tr>|1{{{population|}}}=}} {{t|1=<tr style="vertical-align: top; border-top: 1px solid #999999;"><td>Language</td><td>{{{language|}}}</td></tr>|1{{{language|}}}=}} {{t|1=<tr style="vertical-align: top; border-top: 1px solid #999999;"><td>Governance</td><td>{{{govern1|}}}{{#if:{{{govern2|}}}|<br/>{{{govern2}}}}}{{#if:{{{govern3|}}}|<br/>{{{govern3|}}}}}</td></tr>|1{{{govern1|}}}=}} {{t|1=<tr style="vertical-align: top; border-top: 1px solid #999999;"><td>Currency</td><td>{{{currency|}}}</td></tr>|1{{{currency|}}}=}} {{t|1=<tr style="vertical-align: top; border-top: 1px solid #999999;"><td>Holiday</td><td>{{{holiday|}}}</td></tr>|1{{{holiday|}}}=}} {{t|1=<tr><th colspan="2" style="background: #CCCCCC; border-top: 1px solid #999999;">History</th></tr>|1{{{precededby|}}}{{{event1|}}}{{{event1date|}}}{{{event2|}}}{{{event2date|}}}{{{event3|}}}{{{event3date|}}}{{{event4|}}}{{{event4date|}}}{{{event5|}}}{{{event5date|}}}{{{followedby|}}}=}} {{t|1=<tr style="vertical-align: top; border-top: 1px solid #999999;"><td>Preceded&nbsp;by</td><td>{{{precededby|}}}</td></tr>|1{{{precededby|}}}=}} {{t|1=<tr style="vertical-align: top; border-top: 1px solid #999999;"><td>{{{event1|}}}</td><td>{{{event1date|}}}</td></tr>|1{{{event1|}}}{{{event1date|}}}=}} {{t|1=<tr style="vertical-align: top; border-top: 1px solid #999999;"><td>{{{event2|}}}</td><td>{{{event2date|}}}</td></tr>|1{{{event2|}}}{{{event2date|}}}=}} {{t|1=<tr style="vertical-align: top; border-top: 1px solid #999999;"><td>{{{event3|}}}</td><td>{{{event3date|}}}</td></tr>|1{{{event3|}}}{{{event3date|}}}=}} {{t|1=<tr style="vertical-align: top; border-top: 1px solid #999999;"><td>{{{event4|}}}</td><td>{{{event4date|}}}</td></tr>|1{{{event4|}}}{{{event4date|}}}=}} {{t|1=<tr style="vertical-align: top; border-top: 1px solid #999999;"><td>{{{event5|}}}</td><td>{{{event5date|}}}</td></tr>|1{{{event5|}}}{{{event5date|}}}=}} {{t|1=<tr style="vertical-align: top; border-top: 1px solid #999999;"><td>Followed&nbsp;by</td><td>{{{followedby|}}}</td></tr>|1{{{followedby|}}}=}}
<tr><td colspan="2"><div id="infoboxinternal">
 
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
</table></includeonly><noinclude>
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:#{{{BG1|999999}}};">{{{image|}}}</td></tr>
{{kingdom
<tr style="text-align:center; color:#ffffff; background:#{{{BG1|999999}}}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|CCCCCC}}};">'''Political information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Type&nbsp;of&nbsp;government</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
| image={{{image}}}
{{{type|}}}
| name={{{name}}}
</td></tr>|1{{{founding|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Head&nbsp;of&nbsp;State</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
| pronun={{{pronun}}}
{{{headofstate|}}}
| othernames={{{othernames}}}
</td></tr>|1{{{defacto|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Executive&nbsp;branch</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
| location={{{location}}}
{{{executive|}}}
| capital={{{capital}}}
</td></tr>|1{{{executive|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Legislative&nbsp;branch</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
| towns={{{towns}}}
{{{legislative|}}}
| regions={{{regions}}}
</td></tr>|1{{{legislative|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Judicial&nbsp;branch</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
| population={{{population}}}
{{{judicial|}}}
| language={{{language}}}
</td></tr>|1{{{judicial|}}}=}} {{t|1=|1{{{hides|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|CCCCCC}}};">'''Societal information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Capital</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
| govern1={{{govern1}}}
{{{capital|}}}
| govern2={{{govern2}}}
</td></tr>|1{{{capital|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Official&nbsp;language</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
| govern3={{{govern3}}}
{{{language|}}}
| currency={{{currency}}}
</td></tr>|1{{{language|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Location</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
| holiday={{{holiday}}}
{{{location|}}}
| precededby={{{precededby}}}
</td></tr>|1{{{location|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Currency</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
| event1={{{event1}}}
{{{currency|}}}
| event1date={{{event1date}}}
</td></tr>|1{{{currency|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">State&nbsp;religious&nbsp;body</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
| event2={{{event2}}}
{{{religious|}}}
| event2date={{{event2date}}}
</td></tr>|1{{{religious|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">National&nbsp;holiday</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
| event3={{{event3}}}
{{{holiday|}}}
| event3date={{{event3date}}}
</td></tr>|1{{{holiday|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Anthem</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
| event4={{{event4}}}
{{{anthem|}}}
| event4date={{{event4date}}}
</td></tr>|1{{{anthem|}}}=}} {{t|1=|1{{{hideh|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|CCCCCC}}};">'''Historical information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Formed&nbsp;from</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
| event5={{{event5}}}
{{{formed|}}}
| event5date={{{event5date}}}
</td></tr>|1{{{formed|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date&nbsp;of&nbsp;establishment</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
| followedby={{{followedby}}}
{{{established|}}}
}}
</td></tr>|1{{{established|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date&nbsp;of&nbsp;reorganization</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{reorganized|}}}
</td></tr>|1{{{reorganized|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date&nbsp;of&nbsp;fragmentation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{fragmented|}}}
</td></tr>|1{{{fragmented|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date&nbsp;of&nbsp;dissolution</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{dissolved|}}}
</td></tr>|1{{{dissolved|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date&nbsp;of&nbsp;restoration</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{restored|}}}
</td></tr>|1{{{era|}}}=}} </table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Kingdom|[Source]]]</td></tr></table><noinclude>
{{clear}}
===Usage instructions===
===Usage instructions===
Paste the following code at the beginning of the article, filing all relevant fields. If a field doesn't apply, just leave it blank.<br />
'''Note: This template has customizable colors for both primary and secondary headings. However, the heading colors will default to shades of gray; choose your colors appropriately.'''
<pre>
<pre>
<nowiki>
<nowiki>
{{kingdom
{{kingdom
| BG1 = <--primary heading coloring
| image=
| BG2 = <--secondary heading coloring
| name=
| image =  
| pronun=
| name =  
| othernames=
| type =  
| location=
| headofstate =  
| capital=
| executive =  
| towns=
| legislative =  
| regions=
| judicial =  
| population=
| capital =  
| language=
| language =  
| govern1=
| location =
| govern2=
| currency =  
| govern3=
| religious =  
| currency=
| holiday =  
| holiday=
| anthem =  
| precededby=
| formed =  
| event1=
| established =  
| event1date=
| reorganized =  
| event2=
| fragmented =  
| event2date=
| dissolved =  
| event3=
| restored =  
| event3date=
| event4=
| event4date=
| event5=
| event5date=
| followedby=
}}
}}
</nowiki>
</nowiki>
</pre>
</pre>
===Display parameters===
*hidep
*hides
*hideh
===Source===
<nowiki>{{subst:slh|#{{{BG1|999999}}}|300px}} {{subst:sls|Political information|#{{{BG2|CCCCCC}}}|hidep}} {{subst:sld|Type&nbsp;of&nbsp;government|type}} {{subst:sld|Founding&nbsp;document|founding}} {{subst:sld|Head&nbsp;of&nbsp;State|headofstate}} {{subst:sld|Head&nbsp;of&nbsp;Government|headofgov}} {{subst:sld|Commander-in-chief|commander}} {{subst:sld|De&nbsp;facto&nbsp;leader|defacto}} {{subst:sld|Executive&nbsp;branch|executive}} {{subst:sld|Legislative&nbsp;branch|legislative}} {{subst:sld|Judicial&nbsp;branch|judicial}} {{subst:sls|Societal information|#{{{BG2|CCCCCC}}}|hides}} {{subst:sld|Capital|capital}} {{subst:sld|Official&nbsp;language|language}} {{subst:sld|Currency|currency}} {{subst:sld|State&nbsp;religious&nbsp;body|religious}} {{subst:sld|National&nbsp;holiday|holiday}} {{subst:sld|Anthem|anthem}} {{subst:sls|Historical information|#{{{BG2|CCCCCC}}}|hideh}} {{subst:sld|Formed&nbsp;from|formed}} {{subst:sld|Date&nbsp;of&nbsp;establishment|established}} {{subst:sld|Date&nbsp;of&nbsp;reorganization|reorganized}} {{subst:sld|Date&nbsp;of&nbsp;fragmentation|fragmented}} {{subst:sld|Date&nbsp;of&nbsp;dissolution|dissolved}}{{subst:sld|Date&nbsp;of&nbsp;restoration|restored}} {{subst:sld|Era(s)|era}} {{subst:slf}}</nowiki>


[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 09:46, 28 June 2015

{{{image}}}
{{{name}}}
General information
Pronunciation{{{pronun}}}
Other names{{{othernames}}}
Location{{{location}}}
Capital{{{capital}}}
Major towns{{{towns}}}
Regions{{{regions}}}
People
Population{{{population}}}
Language{{{language}}}
Governance{{{govern1}}}
{{{govern2}}}
{{{govern3}}}
Currency{{{currency}}}
Holiday{{{holiday}}}
History
Preceded by{{{precededby}}}
{{{event1}}}{{{event1date}}}
{{{event2}}}{{{event2date}}}
{{{event3}}}{{{event3date}}}
{{{event4}}}{{{event4date}}}
{{{event5}}}{{{event5date}}}
Followed by{{{followedby}}}

Usage instructions


{{kingdom
| image=
| name=
| pronun=
| othernames=
| location=
| capital=
| towns=
| regions=
| population=
| language=
| govern1=
| govern2=
| govern3=
| currency=
| holiday=
| precededby=
| event1=
| event1date=
| event2=
| event2date=
| event3=
| event3date=
| event4=
| event4date=
| event5=
| event5date=
| followedby=
}}