Difference between revisions of "Template:Government"

Template page
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div class="infobox">
<infobox theme="bravo">
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom: 0;
<title source="name">
{{#if: {{{image|}}}|
    <default>{{pagename}}</default><format>{{{name|}}}</format>
{{!}} colspan="2" bgcolor={{{bgcolor_value|#222222; style="border-top-right-radius: 13px; border-top-left-radius: 13px; background: #f3f3f3 !important; color: #cccccc; font-size:smaller; text-align: center;padding: 10px;"}}} {{!}} {{{image}}} }}
</title>
|-
<image source="image"/>
| colspan="2" style="text-align: center; color: #e5e5ed; font-size:larger; background-color:#304665 !important; text-align:center;padding: .3rem 1.25rem;" | '''{{{name}}}'''
<header>Basic Information</header>
|-
<data source="species"><label>Major Species</label><format>{{{species}}}</format></data>
| colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt; padding: 6px" | '''Basic information'''
<data source="homeworld"><label>Homeworld(s)</label><format>{{{homeworld}}}</format></data>
|-
<data source="founded"><label>Founded</label><format>{{{founded}}}</format></data>
{{#if: {{{species|}}}|
<data source="warp"><label>Warp Capable</label><format>{{{warp}}}</format></data>
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Major Species
<data source="language"><label>Official Language(s)</label><format>{{{language}}}</format></data>
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
<data source="currency"><label>Official Currency</label><format>{{{currency}}}</format></data>
{{{species}}} }}
<header>Political Information</header>
|-
<data source="government"><label>Governance Type</label><format>{{{government}}}</format></data>
{{#if: {{{homeworld|}}}|
<data source="leader"><label>Leader</label><format>{{{leader}}}</format></data>
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Homeworld(s)
<data source="advancement"><label>Degree of Advancement</label><format>{{{advancement}}}</format></data>
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
<data source="military"><label>Military Branches</label><format>{{{military}}}</format></data>
{{{homeworld}}} }}
<header name="footer">[[Template:Government]]</header>
|-
</infobox>
{{#if: {{{founded|}}}|
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Governments]]}}
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Founded
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{founded}}} }}
|-
{{#if: {{{warp|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Warp Capable
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{warp}}} }}
|-
{{#if: {{{language|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Official Language
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{language}}} }}
|-
{{#if: {{{currency|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Official Currency
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{currency}}} }}
|-
| colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt; padding: 6px" | '''Political Information'''
|-
{{#if: {{{government|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Government
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{government}}}}}
|-
{{#if: {{{leader|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Leader
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{leader}}} }}
|-
{{#if: {{{advancement|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Degree of Advancement
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{advancement}}} }}
|-
{{#if: {{{military|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Military Branches
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{military}}} }}
|- class="infobox-link" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;"
|colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px; text-align: center; color: #F67F00; font-size: 8pt; background-color:#2a4667c9; text-align:center;padding: 6px 0;" | [[Template:Government]]
|}
</div>
[[Category:Governments]]
</includeonly>
</includeonly>
<noinclude>
<noinclude>
==Government==
==Government==
This template is to be used for goverments or large organisations in order to give a brief overview of the organisational entity. Can be used for smaller entities, just omit values not needed and the infobox will simply not display those rows.
This template is to be used for governments in order to give a brief overview of the organisational entity. Can be used for smaller entities, just omit values not needed and the infobox will simply not display those rows.
{{clear}}
 
It must be entered at the top of the article, or directly after any clear commands, and entered in via the Source Editor in order to ensure it works.
<pre>
<pre>
{{Government
{{Government
|name=
| name =  
|image=
| image =  
|species=
| species =  
|homeworld=
| homeworld =  
|founded=
| founded =  
|warp=
| warp =  
|language=
| language =  
|currency=
| currency =  
|government=
| government =  
|leader=
| leader =  
|advancement=
| advancement =  
|military=
| military =  
}}
}}
</pre>
</pre>
Line 91: Line 45:
==Example==
==Example==
{{Government
{{Government
|name= People's Collective Union of Democratic Socialist Republics
| name = People's Collective Union of Democratic Socialist Republics
|image=
| image =
|species=The Proletariat  
| species = The Proletariat  
|homeworld=Worker's Paradise
| homeworld = Worker's Paradise
|founded=1917
| founded = 1917
|warp=Whatever the needs of the People require
| warp = Whatever the needs of the People require
|language=The will of the Masses
| language = The will of the Masses
|currency=The Needs of the People
| currency = The Needs of the People
|government=Socialist Republic
| government = Socialist Republic
|leader=Secretary General Elmo
| leader = Secretary General Elmo
|advancement=Better then yours bucko
| advancement = Better then yours bucko
|military=People's Liberation and Defensive Organisation
| military = People's Liberation and Defensive Organisation
| templatemode = nocats
}}
}}
The following code block produces the infobox to the right
The following code block produces the infobox to the right.
<pre>
<pre>
{{Government
{{Government
|name= People's Collective Union of Democratic Socialist Republics
| name = People's Collective Union of Democratic Socialist Republics
|image=
| image =
|species=The Proletariat  
| species = The Proletariat  
|homeworld=Worker's Paradise
| homeworld = Worker's Paradise
|founded=1917
| founded = 1917
|warp=Whatever the needs of the People require
| warp = Whatever the needs of the People require
|language=The will of the Masses
| language = The will of the Masses
|currency=The Needs of the People
| currency = The Needs of the People
|government=Socialist Republic
| government = Socialist Republic
|leader=Secretary General Elmo
| leader = Secretary General Elmo
|advancement=Better then yours bucko
| advancement = Better then yours bucko
|military=People's Liberation and Defensive Organisation
| military = People's Liberation and Defensive Organisation
}}
}}
</pre>
</pre>
[[Category:Infobox Templates]]
[[Category:Infobox Templates]]
{{clear}}
</noinclude>
</noinclude>

Latest revision as of 02:34, 15 November 2024


Government

This template is to be used for governments in order to give a brief overview of the organisational entity. Can be used for smaller entities, just omit values not needed and the infobox will simply not display those rows.

It must be entered at the top of the article, or directly after any clear commands, and entered in via the Source Editor in order to ensure it works.

{{Government
| name = 
| image = 
| species = 
| homeworld = 
| founded = 
| warp = 
| language = 
| currency = 
| government = 
| leader = 
| advancement = 
| military = 
}}

Example


The following code block produces the infobox to the right.

{{Government
| name = People's Collective Union of Democratic Socialist Republics
| image =
| species = The Proletariat 
| homeworld = Worker's Paradise
| founded = 1917
| warp = Whatever the needs of the People require
| language = The will of the Masses
| currency = The Needs of the People
| government = Socialist Republic
| leader = Secretary General Elmo
| advancement = Better then yours bucko
| military = People's Liberation and Defensive Organisation
}}