Template:Nation: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
{{Infobox country
<includeonly>
| micronation =        <!--yes if a micronation-->
<infobox>
| conventional_long_name = <!--Formal or official full name of the country in English-->
  <title source="title1"/>
| native_name =       <!--Country's name (usually full name) in its official/defacto language(s). If there is only one official language, see [[Template:native name]], otherwise see [[Template:name in various languages]]-->
  <image source="image1">
| common_name =        <!--Common name in English (used for wikilinks, captions, and to produce a default iso3166 code)-->
    <caption source="caption-image1"/>
| status =             <!--Status of country-->
  </image>
| image_flag =        <!--e.g. Flag of country.svg-->
  <group>
| alt_flag =          <!--alt text for flag (text shown when pointer hovers over flag)-->
    <header source="header2">General information</header>
| flag_border =       <!--set to no to disable border around the flag-->
     <data source="motto">
| image_flag2 =        <!--e.g. Second-flag of country.svg-->
      <label>Motto</label>
| alt_flag2 =          <!--alt text for second flag-->
    </data>
| flag2_border =      <!--set to no to disable border around the flag-->
    <data source="anthem">
| image_coat =         <!--e.g. Coat of arms of country.svg-->
      <label>Anthem</label>
| alt_coat =          <!--alt text for coat of arms-->
     </data>
| symbol_type =        <!--emblem, seal, etc (if not a coat of arms)-->
    <data source="capital">
| national_motto =     <!--in inverted commas and wikilinked if link exists-->
       <label>Capital city</label>
| englishmotto =       <!--English language version of motto-->
    </data>
| national_anthem =    <!--in inverted commas and wikilinked if link exists-->
    <data source="largestcity">
| royal_anthem =      <!--in inverted commas and wikilinked if link exists-->
      <label>Largest city</label>
| other_symbol_type =  <!--Use if a further symbol exists, e.g. hymn-->
    </data>
| other_symbol =
  </group>
| image_map =          <!--e.g. LocationCountry.svg-->
  <group>
| loctext =           <!--text description of location of country-->
     <header source="header3">Culture</header>
| alt_map =            <!--alt text for map-->
    <data source="languages">
| map_caption =        <!--Caption to place below map-->
      <label>Official languages</label>
| image_map_size =     <!--Map size in number of pixels-->
    </data>
| image_map2 =        <!--Another map, if required-->
     <data source="ethnicgroups">
| alt_map2 =           <!--alt text for second map-->
      <label>Ethnic groups</label>
| map_caption2 =       <!--Caption to place below second map-->
    </data>
| image_map2_size =    <!--Map size in number of pixels-->
    <data source="religion">
| capital =            <!--Name of country/territory's capital, wikilinked if link exists-->
      <label>Official religion</label>
| coordinates =        <!-- Coordinates for capital, using {{coord}} -->
    </data>
| largest_city =       <!--Name of country/territory's largest city. Use "capital" (without quotation marks) if it's the capital.-->
  </group>
| largest_settlement_type = <!--Type of settlement if largest settlement not a city-->
  <group>
| largest_settlement = <!--Name of largest settlement-->
    <header source="header4">Government</header>
| official_languages = <!--Languages recognised in legislation, constitution, etc-->
    <data source="headofstate">
| national_languages = <!--Country/territory-wide languages recognised but not necessarily in country/territory-wide law, etc-->
      <label>Head of State</label>
| regional_languages = <!--Languages recognised or associated with particular regions within the country/territory-->
    </data>
| languages_type =     <!--Use to specify a further type of language, if not official, national or regional-->
    <data source="actualheadofstate">
| languages =          <!--Languages of the further type-->
      <label>Government Leader</label>
| languages_sub =     <!--Is this further type of language a sub-item of the previous non-sub type? ("yes" or "no")-->
    </data>
| languages2_type =    <!--Another further type of language-->
    <data source="secondincommand">
| languages2 =        <!--Languages of this second further type-->
      <label>Second in command</label>
| languages2_sub =     <!--Is the second alternative type of languages a sub-item of the previous non-sub type? ("yes" or "no")-->
    </data>
| ethnic_groups =      <!--List/breakdown of ethnic groups within the country/territory-->
    <data source="typeofgovernment">
| ethnic_groups_year = <!--Year of ethnic groups data (if provided)-->
      <label>Type of Government</label>
| ethnic_groups_ref =  <!--(for any ref/s to associate with ethnic groups data)-->
    </data>
| religion =          <!--Religion-->
  </group>
| religion_year =      <!--Year of religion data (if provided)-->
</infobox>
| religion_ref =      <!--(for any ref/s to associate with religion data)-->
</includeonly>
| demonym =            <!--Term/s describing those associated with the country/territory (e.g. "Belgian" for the country Belgium)-->
<noinclude>
| government_type =    <!--Wikilinked if link exists-->
Example usage:
| leader_title1 =     <!--(for a country, usually the head of state's (wikilinked) title, e.g. "President", "Monarch")-->
<pre>
| leader_name1 =
{{Nation
| leader_title2 =     <!--(could be "Vice President", otherwise "Prime Minister", etc, etc)-->
 
| leader_name2 =
  | title1=Example
| leader_title14 =      <!--(up to 14 distinct leaders may be included)-->
 
| leader_name14 =
  | image1=Example
| legislature =        <!--Name of the country/territory's governing body, e.g. "Parliament", "Congress", etc-->
 
| upper_house =       <!--Name of governing body's upper house, if given (e.g. "Senate")-->
  | caption-image1=Example
| lower_house =        <!--Name of governing body's lower house, if given (e.g. "Chamber of Deputies")-->
 
| sovereignty_type =  <!--Brief description of country/territory's status ("Independence [from...]", "Autonomous province [of...]", etc)-->
  | motto=Example
| sovereignty_note =
 
| established_event1 = <!--First key event in history of country/territory's status or formation-->
  | anthem=Example
| established_date1 =  <!--Date of first key event-->
 
| established_event2 = <!--Second key event-->
  | capital=Example
| established_date2 =  <!--Date of second key event-->
 
| established_event13 = <!--(up to 13 distinct events may be included)-->
  | largestcity=Example
| established_date13 =
 
| area_rank =
  | languages=Example
| area =              <!--Major area size (in [[Template:convert]] either km2 or sqmi first)-->
 
| area_km2 =          <!--Major area size (in square km)-->
  | ethnicgroups=Example
| area_sq_mi =        <!--Area in square mi (requires area_km2)-->
 
| area_footnote =      <!--Optional footnote for area-->
  | religion=Example
| percent_water =
 
| area_label =        <!--Label under "Area" (default is "Total")-->
  | headofstate=Example
| area_label2 =       <!--Label below area_label (optional)-->
 
| area_data2 =        <!--Text after area_label2 (optional)-->
  | actualheadofstate=Example
| population_estimate =  
 
| population_estimate_rank =
  | secondincommand=Example
| population_estimate_year =  
 
| population_census =
  | typeofgovernment=Example
| population_census_year =  
 
| population_density_km2 =
}}
| population_density_sq_mi =  
</pre>
| population_density_rank =
<templatedata>
| nummembers =         <!--An alternative to population for micronation-->
{"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption-image1":{"suggested":true},"motto":{"suggested":true},"anthem":{"suggested":true},"capital":{"suggested":true},"largestcity":{"suggested":true},"languages":{"suggested":true},"ethnicgroups":{"suggested":true},"religion":{"suggested":true},"headofstate":{"suggested":true},"actualheadofstate":{"suggested":true},"secondincommand":{"suggested":true},"typeofgovernment":{"suggested":true}},"sets":[],"maps":{}}
| GDP_PPP =            <!--(Gross Domestic Product from Purchasing Power Parity)-->
</templatedata>
| GDP_PPP_rank =  
</noinclude>
| GDP_PPP_year =
| GDP_PPP_per_capita =  
| GDP_PPP_per_capita_rank =
| GDP_nominal =  
| GDP_nominal_rank =
| GDP_nominal_year =  
| GDP_nominal_per_capita =
| GDP_nominal_per_capita_rank =  
| Gini =              <!--(Gini measure of income inequality; input number only; valid values are between 0 and 100)-->
| Gini_ref =           <!--(for any ref/s to associate with Gini number)-->
| Gini_rank =
| Gini_year =  
| HDI_year =          <!-- Please use the year to which the data refers, not the publication year-->
| HDI =               <!--(Human Development Index; input number only; valid values are between 0 and 1)-->
| HDI_change =        <!--increase/decrease/steady; rank change from previous year-->
| HDI_rank =
| HDI_ref =            <!--(for any ref/s to associate with HDI number)-->
| currency =          <!--Name/s of currency/ies used in country/territory-->
| currency_code =      <!--ISO 4217 code/s for currency/ies (each usually three capital letters)-->
| time_zone =          <!--e.g. GMT, PST, AST, etc, etc (wikilinked if possible)-->
| utc_offset =        <!--in the form "+N", where N is number of hours offset-->
| time_zone_DST =      <!--Link to DST (Daylight Saving Time) used, otherwise leave empty-->
| utc_offset_DST =    <!--in the form "+N", where N is number of hours offset-->
| DST_note =          <!--Optional note regarding DST use-->
| antipodes =          <!--Place/s exactly on the opposite side of the world to country/territory-->
| date_format =        <!--all-numeric date format and era, such as [[Common Era|CE]], [[Anno Domini|AD]], [[Hijr

Revision as of 00:36, 22 November 2026


Example usage:

{{Nation

  | title1=Example

  | image1=Example

  | caption-image1=Example

  | motto=Example

  | anthem=Example

  | capital=Example

  | largestcity=Example

  | languages=Example

  | ethnicgroups=Example

  | religion=Example

  | headofstate=Example

  | actualheadofstate=Example

  | secondincommand=Example

  | typeofgovernment=Example

}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
title1title1

no description

Unknownsuggested
image1image1

no description

Unknownsuggested
caption-image1caption-image1

no description

Unknownsuggested
mottomotto

no description

Unknownsuggested
anthemanthem

no description

Unknownsuggested
capitalcapital

no description

Unknownsuggested
largestcitylargestcity

no description

Unknownsuggested
languageslanguages

no description

Unknownsuggested
ethnicgroupsethnicgroups

no description

Unknownsuggested
religionreligion

no description

Unknownsuggested
headofstateheadofstate

no description

Unknownsuggested
actualheadofstateactualheadofstate

no description

Unknownsuggested
secondincommandsecondincommand

no description

Unknownsuggested
typeofgovernmenttypeofgovernment

no description

Unknownsuggested