Difference between revisions of "Template:Government"

Template page
m (Updating template to the new standard. Adding in the templatemode tag and putting it in the example to remove the template from the category page.)
Line 1: Line 1:
<div class="infobox">
<div class="infobox">
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom:0;padding-left:10px;"
{| class="ibtable" align="right" cellpadding="3" cellspacing="0"
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
{{!}} 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}}} }}
    {{!}} class="ibimage" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{image}}}
    {{!}}-
    {{!}} class="ibname" colspan="2" {{!}} '''{{{name}}}'''|
        {{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} '''{{{name}}}'''
}}
|-
|-
| colspan="2" style="text-align: center; color: #e5e5ed; font-size:larger; background-color:#304665 !important; text-align:center;padding: .3rem 1.25rem;" | '''{{{name}}}'''
| class="ibheader" colspan="2" | '''Basic Information'''
|-
| colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt; padding: 6px" | '''Basic information'''
|-
|-
{{#if: {{{species|}}}|
{{#if: {{{species|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Major Species
{{!}} class="ibleft" {{!}} Major Species
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{species}}} }}
{{{species}}} }}
|-
|-
{{#if: {{{homeworld|}}}|
{{#if: {{{homeworld|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Homeworld(s)
{{!}} class="ibleft" {{!}} Homeworld(s)
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{homeworld}}} }}
{{{homeworld}}} }}
|-
|-
{{#if: {{{founded|}}}|
{{#if: {{{founded|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Founded
{{!}} class="ibleft" {{!}} Founded
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{founded}}} }}
{{{founded}}} }}
|-
|-
{{#if: {{{warp|}}}|
{{#if: {{{warp|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Warp Capable
{{!}} class="ibleft" {{!}} Warp Capable
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{warp}}} }}
{{{warp}}} }}
|-
|-
{{#if: {{{language|}}}|
{{#if: {{{language|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Official Language
{{!}} class="ibleft" {{!}} Official Language
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{language}}} }}
{{{language}}} }}
|-
|-
{{#if: {{{currency|}}}|
{{#if: {{{currency|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Official Currency
{{!}} class="ibleft" {{!}} Official Currency
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{currency}}} }}
{{{currency}}} }}
|-
|-
| colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt; padding: 6px" | '''Political Information'''
| class="ibheader" colspan="2" | '''Political Information'''
|-
|-
{{#if: {{{government|}}}|
{{#if: {{{government|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Government
{{!}} class="ibleft" {{!}} Governance Type
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{government}}}}}
{{{government}}}}}
|-
|-
{{#if: {{{leader|}}}|
{{#if: {{{leader|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Leader
{{!}} class="ibleft" {{!}} Leader
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{leader}}} }}
{{{leader}}} }}
|-
|-
{{#if: {{{advancement|}}}|
{{#if: {{{advancement|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Degree of Advancement
{{!}} class="ibleft" {{!}} Degree of Advancement
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{advancement}}} }}
{{{advancement}}} }}
|-
|-
{{#if: {{{military|}}}|
{{#if: {{{military|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Military Branches
{{!}} class="ibleft" {{!}} Military Branches
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{military}}} }}
{{{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]]
| class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:Government]]
|}
|}
</div>
</div>
[[Category:Governments]]
<includeonly>
<noinclude>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Governments]]{{DEFAULTSORT:{{{name}}}}}
}}
</includeonly><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.


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.
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.
{{clear}}
<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 89: Line 92:
==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>

Revision as of 06:53, 16 July 2022

{{{name}}}
Basic Information
Political Information
Template:Government

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

People's Collective Union of Democratic Socialist Republics
Basic Information
Major Species

The Proletariat

Homeworld(s)

Worker's Paradise

Founded

1917

Warp Capable

Whatever the needs of the People require

Official Language

The will of the Masses

Official Currency

The Needs of the People

Political Information
Governance Type

Socialist Republic

Leader

Secretary General Elmo

Degree of Advancement

Better then yours bucko

Military Branches

People's Liberation and Defensive Organisation

Template:Government


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
}}