Difference between revisions of "Template:Infobox Government"

From Holocron - Star Wars Combine
Jump to: navigation, search
 
(7 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 28: Line 26:
 
<td width="31%" valign="top"> 2IC
 
<td width="31%" valign="top"> 2IC
 
</td><td width="69%"> {{{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>}}
 
</td></tr>}}
 
{{#if:{{{hog|}}}|<tr>
 
{{#if:{{{hog|}}}|<tr>
Line 60: Line 66:
 
<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>
<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 width="31%" valign="top"> Capital
 
</td><td width="69%"> {{{capital}}}
 
</td><td width="69%"> {{{capital}}}
</td></tr>
+
</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>
 +
{{#if:{{{provinces|}}}|<tr>
 +
<td width="31%" valign="top"> Provinces
 +
</td><td width="69%"> {{{provinces}}}
 +
</td></tr>}}
 
{{#if:{{{language|}}}|<tr>
 
{{#if:{{{language|}}}|<tr>
 
<td width="31%" valign="top"> Language(s)
 
<td width="31%" valign="top"> Language(s)
Line 84: 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>}}
 +
{{#if:{{{reunified|}}}|<tr>
 +
<td width="31%" valign="top"> Date of reunification
 +
</td><td width="69%"> {{{reunified}}}
 +
</td></tr>}}
 +
{{#if:{{{successor|}}}|<tr>
 +
<td width="31%" valign="top"> Successor
 +
</td><td width="69%"> {{{successor}}}
 
</td></tr>}}
 
</td></tr>}}
 
{{#if:{{{industry|}}}|<tr>
 
{{#if:{{{industry|}}}|<tr>
Line 102: Line 124:
 
<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 122: Line 141:
 
| legbranch =  
 
| legbranch =  
 
| judbranch =  
 
| judbranch =  
 +
| population =
 +
| capital =
 
| territory =  
 
| territory =  
| capital =
 
 
| language =  
 
| language =  
 
| currency =  
 
| currency =  
Line 130: Line 150:
 
| dissolved =  
 
| dissolved =  
 
| affiliation =  
 
| affiliation =  
 +
| status =
 
| holosite =
 
| holosite =
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
  
[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 09: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 =
}}