Template:Government: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
No edit summary
No edit summary
 
(16 intermediate revisions by 7 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:250px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
{| class="infoboxtemp" width="250" align="right" cellpadding="3" cellspacing="0"
<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;">
{{#if: {{{image|}}}|
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{imageBG|#{{{BG1|999999}}}}}};">{{{image|}}}</td></tr>
{{!}} class="infoboximage" colspan="2" bgcolor={{{bgcolor_value|#222222;}}} {{!}} {{{image}}} }}
<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 of government</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{type|}}}
| class="name government" colspan="2" | '''{{{name}}}'''
</td></tr>|1{{{type|}}}=}} {{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;">Commander-in-chief</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{commander|}}}
| class="header government" colspan="2" | '''Political Information'''
</td></tr>|1{{{commander|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"></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;">Homeworld</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{homeworld|}}}
{{#if: {{{founding|}}}|
</td></tr>|1{{{homeworld|}}}=}} {{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;">
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Founding Document:
{{{capital|}}}
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
</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 language</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{founding}}}}}
{{{language|}}}
|-
</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;">Date of dissolution</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{headofstate|}}}|
{{{dissolved|}}}
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Head of State:
</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 of restoration</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{restored|}}}
{{{headofstate}}}}}
</td></tr>|1{{{restored|}}}=}} {{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;">Era(s)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{era|}}}
{{#if: {{{headofgov|}}}|
</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:family infobox|[Source]]]</td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Head of Government:
{{clear}}
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{headofgov}}}}}
|-
{{#if: {{{commander|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Commander in Chief:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{commander}}}}}
|-
{{#if: {{{defacto|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} De Facto Leader:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{defacto}}}}}
|-
{{#if: {{{executive|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Executive Branch:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{executive}}}}}
|-
{{#if: {{{legislative|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Legislative Branch:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{legislative}}}}}
|-
{{#if: {{{judicial|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Judicial Branch:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{judicial}}}}}
|-
| class="header government" colspan="2" | '''Societal information'''
|-
{{#if: {{{capital|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Capital:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{capital}}}}}
|-
{{#if: {{{language|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Official Language:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{language}}}}}
|-
{{#if: {{{currency|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Currency:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{currency}}}}}
|-
{{#if: {{{religious|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}}Religious Body:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{religious}}}}}
|-
{{#if: {{{holiday|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} National Holiday:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{holiday}}}}}
|-
{{#if: {{{anthem|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Anthem:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{anthem}}}}}
|-
| class="header government" colspan="2" | '''Historical information'''
|-
{{#if: {{{formed|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Formed from:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{formed}}}}}
|-
{{#if: {{{established|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Date of Establishment:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{established}}}}}
|-
{{#if: {{{reorganized|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Date of Reorganization:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{reorganized}}}}}
|-
{{#if: {{{fragmented|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Date of Fragmentation:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{fragmented}}}}}
|-
{{#if: {{{dissolved|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Date of Dissolution:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{dissolved}}}}}
|-
{{#if: {{{restored|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Date of Restoration:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{restored}}}}}
|-
{{#if: {{{era|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Era(s):
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{era}}}}}
|-
|class="infoboxfooter government" colspan="2" | {{Link color|Template:Government|#484848|[ Source ]}}
|}
<noinclude>
===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 />
Paste the following code at the beginning of the article, filing all relevant fields. If a field doesn't apply, just leave it blank.
'''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>
{{Family charinfo
{{Government
| BG1 = <--primary heading coloring
| BG2 = <--secondary heading coloring
| image =  
| image =  
| name =  
| name =  
| type =
| founding =
| headofstate =
| headofgov =
| commander =  
| commander =  
| homeworld =  
| defacto =
| executive =
| legislative =
| judicial =  
| capital =  
| capital =  
| language =  
| language =  
| currency =  
| currency =  
| religious =
| holiday =
| anthem =
| formed =
| established =
| reorganized =
| fragmented =
| dissolved =  
| dissolved =  
| restored =  
| restored =  
Line 43: Line 153:
</pre>
</pre>


===Display parameters===
*hidep
*hides
*hideh
===Source===
<nowiki>
{{subst:slh|#{{{BG1|999999}}}|250px}} {{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>

Latest revision as of 22:10, 23 July 2015

{{{name}}}
Political Information
Societal information
Historical information
[ Source ]

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.


{{Government
| image = 
| name = 
| type = 
| founding = 
| headofstate = 
| headofgov = 
| commander = 
| defacto = 
| executive = 
| legislative = 
| judicial = 
| capital = 
| language = 
| currency = 
| religious = 
| holiday = 
| anthem = 
| formed = 
| established = 
| reorganized = 
| fragmented = 
| dissolved = 
| restored = 
| era = 
}}