Difference between revisions of "Template:Government"
Template page
Teylasramar (talk | contribs) (Created page with "<div class="infobox"> {| width="275" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom: 0; {{#if: {{{image|}}}| {{!}} colspan="2" bgcolor={...") |
m |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly> | ||
<infobox theme="bravo"> | |||
{{ | <title source="name"> | ||
{{ | <default>{{pagename}}</default><format>{{{name|}}}</format> | ||
</title> | |||
<image source="image"/> | |||
<header>Basic Information</header> | |||
<data source="species"><label>Major Species</label><format>{{{species}}}</format></data> | |||
<data source="homeworld"><label>Homeworld(s)</label><format>{{{homeworld}}}</format></data> | |||
<data source="founded"><label>Founded</label><format>{{{founded}}}</format></data> | |||
<data source="warp"><label>Warp Capable</label><format>{{{warp}}}</format></data> | |||
<data source="language"><label>Official Language(s)</label><format>{{{language}}}</format></data> | |||
{{{species}}} | <data source="currency"><label>Official Currency</label><format>{{{currency}}}</format></data> | ||
<header>Political Information</header> | |||
<data source="government"><label>Governance Type</label><format>{{{government}}}</format></data> | |||
<data source="leader"><label>Leader</label><format>{{{leader}}}</format></data> | |||
<data source="advancement"><label>Degree of Advancement</label><format>{{{advancement}}}</format></data> | |||
{{{homeworld}}} | <data source="military"><label>Military Branches</label><format>{{{military}}}</format></data> | ||
<header name="footer">[[Template:Government]]</header> | |||
</infobox> | |||
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Governments]]}} | |||
</includeonly> | |||
{{ | <noinclude> | ||
==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. | ||
{{{ | |||
{{#if: {{{ | |||
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> | }} | ||
[[Category:Infobox Templates | </pre> | ||
==Example== | |||
{{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 | |||
| templatemode = nocats | |||
}} | |||
The following code block produces the infobox to the right. | |||
<pre> | |||
{{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 | |||
}} | |||
</pre> | |||
[[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 }}