Template:Infobox Government: Difference between revisions

From Holocron - Star Wars Combine
Jump to navigation Jump to search
Rupert Havok (talk | contribs)
Revamped template to use optional, collapsible data fields and to be more flexible.
Belwarmec Al-Thorac (talk | contribs)
No edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<table style="border: 1px solid grey; padding: 1px; margin: 5px; width: 25%; float: right; font-size: 11px;">
<table style="border: 1px solid grey; padding: 1px; margin: 5px; width: 25%; float: right; font-size: 11px;"><tr><td width="100%" colspan="2" style="background-color: #21314c; font-size: 16px; text-align: center;"> '''{{{name}}}'''
<tr>
<td width="100%" colspan="2" style="background-color: #21314c; font-size: 16px; text-align: center;"> '''{{{name}}}'''
</td></tr>
</td></tr>
<tr>
<tr>
Line 14: Line 12:
</td></tr>}}
</td></tr>}}
<tr>
<tr>
<td width="31%" valign="top"> Type of government
</td><td width="69%"> {{{type}}}
</td></tr>
{{#if:{{{leader|}}}|<tr>
<td width="31%" valign="top"> De facto leader
</td><td width="69%"> {{{leader}}}
</td></tr>}}
{{#if:{{{hos|}}}|<tr>
<td width="31%" valign="top"> Head of State
<td width="31%" valign="top"> Head of State
</td><td width="69%"> {{{hos}}}
</td><td width="69%"> {{{hos}}}
</td></tr>
</td></tr>}}
{{#if:{{{2ic|}}}|<tr>
<td width="31%" valign="top"> 2IC
</td><td width="69%"> {{{2ic}}}
</td></tr>}}
{{#if:{{{hosg|}}}|<tr>
<td width="31%" valign="top"> Head of State & Gov.
</td><td width="69%"> {{{hosg}}}
</td></tr>}}
{{#if:{{{dhog|}}}|<tr>
<td width="31%" valign="top"> Deputy Head of Gov.
</td><td width="69%"> {{{dhog}}}
</td></tr>}}
{{#if:{{{hog|}}}|<tr>
{{#if:{{{hog|}}}|<tr>
<td width="31%" valign="top"> Head-of-Government
<td width="31%" valign="top"> Head-of-Government
Line 36: Line 54:
<td width="31%" valign="top"> Judicial branch
<td width="31%" valign="top"> Judicial branch
</td><td width="69%"> {{{judbranch}}}
</td><td width="69%"> {{{judbranch}}}
</td></tr>}}
{{#if:{{{owner|}}}|<tr>
<td width="31%" valign="top"> Owner
</td><td width="69%"> {{{owner}}}
</td></tr>}}
</td></tr>}}
<tr>
<td width="31%" valign="top"> Affiliation
</td><td width="69%"> {{{affiliation}}}
</td></tr>
<tr>
<tr>
<td width="100%" colspan="2" style="background-color: #21314c;"> '''Societal information'''
<td width="100%" colspan="2" style="background-color: #21314c;"> '''Societal information'''
</td></tr>
</td></tr>
{{#if:{{{population|}}}|<tr>
<td width="31%" valign="top"> Population
</td><td width="69%"> {{{population}}}
</td></tr>}}
{{#if:{{{capital|}}}|<tr>
<td width="31%" valign="top"> Capital
</td><td width="69%"> {{{capital}}}
</td></tr>}}
<tr>
<tr>
<td width="31%" valign="top"> Territory
<td width="31%" valign="top"> Territory
</td><td width="69%"> {{{territory}}}
</td><td width="69%"> {{{territory}}}
</td></tr>
</td></tr>
<tr>
{{#if:{{{provinces|}}}|<tr>
<td width="31%" valign="top"> Capital
<td width="31%" valign="top"> Provinces
</td><td width="69%"> {{{capital}}}
</td><td width="69%"> {{{provinces}}}
</td></tr>
</td></tr>}}
{{#if:{{{language|}}}|<tr>
{{#if:{{{language|}}}|<tr>
<td width="31%" valign="top"> Language(s)
<td width="31%" valign="top"> Language(s)
Line 58: Line 92:
<tr>
<tr>
<td width="100%" colspan="2" style="background-color: #21314c;"> '''Historical Information'''
<td width="100%" colspan="2" style="background-color: #21314c;"> '''Historical Information'''
</td></tr>
<tr>
<td width="31%" valign="top"> Status
</td><td width="69%"> {{{status}}}
</td></tr>
</td></tr>
{{#if:{{{from|}}}|<tr>
{{#if:{{{from|}}}|<tr>
Line 68: Line 98:
</td></tr>}}
</td></tr>}}
<tr>
<tr>
<td width="31%" valign="top"> Founded
<td width="31%" valign="top"> Date of establishment
</td><td width="69%"> {{{founded}}}
</td><td width="69%"> {{{founded}}}
</td></tr>
</td></tr>
{{#if:{{{dissolved|}}}|<tr>
{{#if:{{{dissolved|}}}|<tr>
<td width="31%" valign="top"> Dissolved
<td width="31%" valign="top"> Date of dissolution
</td><td width="69%"> {{{dissolved}}}
</td><td width="69%"> {{{dissolved}}}
</td></tr>}}
</td></tr>}}
<tr>
{{#if:{{{reunified|}}}|<tr>
<td width="31%" valign="top"> Affiliation
<td width="31%" valign="top"> Date of reunification
</td><td width="69%"> {{{affiliation}}}
</td><td width="69%"> {{{reunified}}}
</td></tr>
</td></tr>}}
{{#if:{{{successor|}}}|<tr>
<td width="31%" valign="top"> Successor
</td><td width="69%"> {{{successor}}}
</td></tr>}}
{{#if:{{{industry|}}}|<tr>
{{#if:{{{industry|}}}|<tr>
<td width="31%" valign="top"> Industry
<td width="31%" valign="top"> Industry
</td><td width="69%"> {{{industry}}}
</td><td width="69%"> {{{industry}}}
</td></tr>}}
</td></tr>}}
<tr>
<td width="31%" valign="top"> Status
</td><td width="69%"> {{{status}}}
</td></tr>
<tr>
<tr>
<td width="31%" valign="top"> Holosite
<td width="31%" valign="top"> Holosite
</td><td width="69%"> {{{holosite}}}
</td><td width="69%"> {{{holosite}}}
</td></tr>
</td></tr></table><noinclude>
</table>
 
<noinclude>
===Usage===
===Usage===


Line 98: Line 133:
| name =  
| name =  
| image =  
| image =  
| motto =
| type =
| status =  
| motto =  
| leader =  
| hos =
| 2ic =  
| hog =
| owner =  
| cic =
| headquarters =  
| execbranch =
| legbranch =
| judbranch =
| population =  
| capital =  
| territory =  
| language =  
| currency =  
| from =  
| from =  
| founded =  
| founded =  
| dissolved =  
| dissolved =  
| affiliation =  
| affiliation =  
| industry =  
| status =
| holosite =
| holosite =
}}
}}
</nowiki></pre>
</nowiki></pre>


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

Latest revision as of 14:14, 16 June 2022

{{{name}}}
{{{image}}}
Political information
Type of government {{{type}}}
Affiliation {{{affiliation}}}
Societal information
Territory {{{territory}}}
Historical Information
Date of establishment {{{founded}}}
Status {{{status}}}
Holosite {{{holosite}}}

Usage

The Infobox Government template is used for government articles only, to describe a government. Paste the following code into the top of an article, filling all known fields:

{{Infobox Government
| name = 
| image = 
| type = 
| motto = 
| hos = 
| hog = 
| cic = 
| execbranch = 
| legbranch = 
| judbranch = 
| population = 
| capital = 
| territory = 
| language = 
| currency = 
| from = 
| founded = 
| dissolved = 
| affiliation = 
| status =
| holosite =
}}