Template:Planet

From Gephqua

Revision as of 05:54, 13 September 2007 by WikiJuan (Talk | contribs)
{{{name}}}{{#IF:*|
{{{name_en}}}|}} {{#IF:*|
Timeline: [[{{{Timeline}}}]]
|}}
{{#IF:{{{no_flag}}}|{{#IF:{{{no_CoA}}}||{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}File:No flag.svg
none=|tr=-|td=Template loop detected: Template:!}}File:No coa.svg none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}} none=|tr=-|td=Template loop detected: Template:!}}Flag of Planet none=|tr=-|td=Template loop detected: Template:!}}{{#IF:|Seal|Coat of Arms}} of Planet none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}none=|tr=-|td=Template loop detected: Template:!}}colspan="2"|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}File:No flag.svg
Flag of Planet}}
none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}}

{{#IF:*||{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}colspan="2"|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}File:LocationWorld.png
Location of Planet}}

none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}}

{{#IF:*|Motto: {{{motto}}}{{#IF:*|
({{{motto_lang}}}: {{{motto_en}}})|}}|}}

none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}

{{#IF:*|

Capital: {{{capital}}} none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}}

{{#IF:*|

none=|tr=-|td=Template loop detected: Template:!}}Largest city: none=|tr=-|td=Template loop detected: Template:!}}{{{city_largest}}} none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}}

{{#IF:*|

none=|tr=-|td=Template loop detected: Template:!}}Other cities: none=|tr=-|td=Template loop detected: Template:!}}{{{city_other}}} none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}}

{{#IF:*|

Language:
  official:
 
{{{language}}}
none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}} none=|tr=-|td=Template loop detected: Template:!}}  Other languages: none=|tr=-|td=Template loop detected: Template:!}}{{{language_other}}} none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|{{#IF:| Language: {{{language}}} none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}
}}}

{{#IF:*| | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |Religion:
  main: | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" | 
{{{religion}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}} |{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}  Other religions: |{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}{{{religion_other}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|{{#IF:| | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |Religion: | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |{{{religion}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}} |}}}} {{#IF:*| | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |Ethnic groups:
  main: | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" | 
{{{ethnic_group}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}} |{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}  other: |{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}{{{ethnic_other}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|{{#IF:| | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |Ethnic group: | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |{{{ethnic_group}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}} |}}}} {{#IF:*| | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |Type of government: | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |{{{regime}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}} {{#IF:*| |{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}  government: |{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}{{{governing_body}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}}| {{#IF:*| | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |Government: | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |{{{governing_body}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}}}} {{#IF:*| | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |{{#IF:{{{no_HoSlist}}}|{{{HoStitle}}}|{{{leader}}}}}: | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |{{{HoSname}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}} {{#IF:| |{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}  Royal house: |{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}{{{royal_house}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}} {{#IF:| |{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}{{#IF:{{{no_HoS2list}}}|{{{HoS2title}}}|{{{hos2_title}}}}}: |{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}} {{#IF:*| |{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}{{#IF:{{{no_CoGlist}}}|{{{CoGtitle}}}|{{{CoGtitle}}}}}: |{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}{{{CoGname}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}}|{{#IF:*| | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |{{{CoGtitle}}}: | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |{{{CoGname}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}}}} {{#IF:*| | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |Area: | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |{{{area}}} km² |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}} {{#IF:*| | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |Population: | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |{{{population}}} inh. |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}} {{#IF:*| | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |Established: | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |{{{est_date}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}} {{#IF:*| | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |Independence: | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |from {{{ind_from}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}} {{#IF:*| |{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}  declared: |{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}{{{ind_date}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}} {{#IF:*| |{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}  recognized: |{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}{{{ind_rec}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}} |{{#IF:| | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |Independence: | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |{{{ind_date}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}}}} {{#IF:*| | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |Currency: | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |{{{currency}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}} {{#IF:*| | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |Organizations: | style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.1em 0; vertical-align: top; text-align: left;" |{{{organizations}}} |{{#SWITCH:tr|none=|tr=-|td=|{{#SWITCH:none|none=|tr=-|td=Template loop detected: Template:!}}}}|}} |}

Usage

{{NationInfo
|field1=value1
|field2=value2
  ...
}}

where field1, field2, etc. ar the name of the fields.

Fields are any keyword in the table enclosed by {{{triple bracers}}}, as well as the following fields:

Other hiden or optional fields
  • {{{name}}}: name of the nation. Default value is {{PAGENMAE}}.
  • {{{name_short}}}: short name of the nation. Defaults to {{{name_en}}} and {{{name}}}.
  • {{{area_unit}}}: for the area unit. Defaults to "km²".
  • {{{pop_unit}}}: for the population unit. Defaults to "inh.". Could be use to give nationality.
  • {{{flag}}}: image of the flag (without image: prefix).
  • {{{flag_width}}}: for the with of the flag. Defaults to 120px when there is a CoA, or to 180px otherwise.
  • {{{flag_caption}}}: caption under the flag. Defaults to Flag of {{{name_short}}}.
  • {{{coa}}}: image of the coat of arms (without image: prefix).
  • {{{coa_width}}}: for the with of the coat of arms. Defaults to 80px.
  • {{{coa_caption}}}: caption under the coat of arms. Defaults to Coat of Arms of {{{name_short}}}.
  • {{{map}}}: image of the location map (without image: prefix).
  • {{{map_width}}}: for the with of the location map. Defaults to 220px.
  • {{{map_caption}}}: caption under the location map. Defaults to Location of {{{name_short}}}.
  • {{{royal_house}}}: name of the royal house (or other aditional info for Head of State). No default: won't print if missing.
  • {{{royal_house_title}}}: title of the aditional info on Head of State. Defaults to Royal house.
  • {{{of}}}: use to give a more gramatical liason between Flag etc. and name of nation, i.e. add an article: |of=of the. Defaults to of.
Alias
  • {{{hos_title}}}, {{{leader}}} or {{{leader1}}}, are aliases for {{{HoStitle}}}.
    • {{{hos_name}}}, {{{leader_name}}} or {{{leader1_name}}}: respectively for {{{HoSname}}}.
  • {{{cog_title}}}, or {{{leader2}}}, are aliases for {{{CoGtitle}}}.
    • {{{cog_name}}}, or {{{leader2_name}}}: respectively for {{{CoGname}}}.
  • {{{lang_official}}}: alias for {{{language}}}.
  • {{{lang_other}}}: alias for {{{language_other}}}.
Personal tools