Jump to content

User:Ontopofthewall/template/doc

From Wikipedia, the free encyclopedia

Where this page came from

[edit]

This documentation page was taken shamelessly from: http://en.wiki.x.io/w/index.php?title=Template:Infobox_Country/doc

Syntax

[edit]
Country or territory
{{Infobox Country
|native_name                 = <!--Long-form name in native language-->
|conventional_long_name      = <!--Conventional English long-form name-->
|common_name                 = <!--Common English name (used to create wikilinks)-->
|image_flag                  = <!--* e.g. Flag of country.svg-->
|image_coat                  = <!--* e.g. Coat of arms of country.svg-->
|symbol_type                 = <!--if image_coat is an emblem/seal/etc-->
|national_motto              = <!--"[motto]"-->
|national_anthem             = <!--''[name of/link to anthem]''-->
|royal_anthem                = <!--''[name of/link to anthem]''-->
|other_symbol_type           = <!--Another symbol, e.g. Hymn-->
|other_symbol                = <!--another symbol text-->
|image_map                   = <!--e.g. LocationCountry.svg-->
|map_caption                 = <!--Caption to place below map-->
|image_map2                  = <!--Another map, if required-->
|map_caption2                = <!--Caption to place below second map-->
|capital                     = 
|latd= |latm= |latNS= |longd= |longm= |longEW=  <!--capital's latitude and longitude-->
|largest_city                = <!--Largest city or settlement: use "capital" (without quotes)
|largest_settlement          =  if the same as the capital-->
|largest_settlement_type     = <!--Type of settlement if largest settlement not a city-->
|official_languages          = 
|regional_languages          = <!-- --Officially recognized-- regional languages-->
|languages_type              = <!--Combined, these two parameters can provide an alternative
|languages                   =  to the official/regional_languages parameters-->
|ethnic_groups               = <!--List/breakdown of ethnic groups-->
|ethnic_groups_year          = <!--Year of ethnic groups breakdown (if provided)-->
|demonym                     = 
|government_type             = 
|leader_title1               = 
|leader_name1                = 
|leader_title2               = 
|leader_name2                = 
...
|leader_title5               = 
|leader_name5                = 
|sovereignty_type            = 
|sovereignty_note            = 
|established_event1          = 
|established_date1           = 
|established_event2          = 
|established_date2           = 
...
|established_event9          = 
|established_date9           = 
|area_rank                   = 
|area_magnitude              = 
|area_km2                        = 
|area_sq_mi                     = 
|percent_water               = 
|population_estimate         = 
|population_estimate_rank    = 
|population_estimate_year    = 
|population_census           = 
|population_census_year      = 
|population_density_km2          = 
|population_density_sq_mi       = 
|population_density_rank     = 
|GDP_PPP                     = 
|GDP_PPP_rank                = 
|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_rank                   = 
|Gini_year                   = 
|HDI                         = 
|HDI_rank                    = 
|HDI_year                    = 
|HDI_category                = 
|currency                    = 
|currency_code               = 
|time_zone                   = 
|utc_offset                  = <!-- +N, where N is number of hours -->
|time_zone_DST               = 
|DST_note                    = 
|utc_offset_DST              = <!-- +N, where N is number of hours -->
|cctld                       = 
|calling_code                = 
|image_map3                  = 
|footnotes                   = <!--for any generic non-numbered footnotes-->
|footnote1                   = 
|footnote2                   = 
...
|footnote7                   = 
}}
United Kingdom specific parameters
|patron_saint                = 
European Union specific parameters
|accessionEUdate             = 

* If, on a particular page, the default widths provided for the flag and coat-of-arms/symbol images produce an unsatisfactory result, use flag_width (as % or px) to specify the width to be used for the flag image; the remaining width is then assigned to the coat-of-arms/symbol (if included).

Geopolitical organization
{{Infobox Geopolitical organization
|native_name        = <!--Long-form name in native language-->
|name               = 
|linking_name       = <!--For wikilinks, if diff from name-->
|image_flag         = <!--Flag image's filename-->
|symbol_type        = <!--Symbol, Emblem, Logo, etc.-->
|image_symbol       = <!--Symbol image's filename-->
|symbol_width       = <!--Symbol image's width (default 85px)-->
|motto              = <!--"[motto]"-->
|anthem             = <!--''[anthem name]''-->
|text_symbol_type   = <!--for other types of text symbol-->
|text_symbol        = <!--e.g. ''[hymn name]''-->
|image_map          = <!--Map image's filename-->
|map_width          = <!--Map image's width (default 250px)-->
|map_caption        = 
|org_type           = <!--e.g. Trade bloc-->
|membership_type    = <!--(default "Membership")-->
|membership         = <!--Type/s and/or number/s of members-->
|admin_center_type  = <!--e.g. "Administrative center" (default)-->
|admin_center       = <!--Location/s of administrative center/s-->
|languages_type     = <!--e.g. "[[Official language]]s" (default)-->
|languages          = 
|leader_title1      = <!--e.g. "Chair", "President", etc.-->
|leader_name1       = 
|leader_title2      = <!--e.g. "Deputy chair", etc.-->
|leader_name2       = 
...
|leader_title5      = 
|leader_name5       = 
|established        = <!--Usually a date, in lieu of event/s below-->
|established_event1 = 
|established_date1  = 
|established_event2 = 
|established_date2  = 
...
|established_event9 = 
|established_date9  = 
|official_website   = 
|footnotes                   = <!--For generic non-numbered footnotes-->
|footnote1                   = 
|footnote2                   = 
...
|footnote7                   = 
}}

Sandbox

[edit]

A sandbox has been set up so modifications to the template may be tested before being implemented in the template proper: Template:Infobox Country/sandbox