Template:Infobox country/doc

From Minecraftia Wiki
Revision as of 18:26, 9 August 2017 by Chief Librarian (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This Infobox template is used to generate an infobox for the righthand side of two specific types of article: on a country or territory, or on a geopolitical organisation. The syntax (format) of parameters and examples are detailed in the collapsed show/hide sections immediately below.

Syntax

Examples

Errors

If the template generates errors when calculating data for the Gini or HDI fields, it will add the article to Category:Country articles requiring maintenance. This only happens if the page is in the main article space, not any other namespaces.

Sandbox

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

If possible, please try to view any modifications using a variety of web browsers and on different types of computer (PC, Macintosh, etc.). Thank you!

Microformat

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

If the place or venue has an "established", "founded", "opened" or similar date that is specific to the day, use {{start date}} unless the date is before 1583 CE. If it has a URL, use {{URL}}.

hCard uses HTML classes including:

  • adr
  • category
  • country-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • street-address
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Infobox country

This template produces an infobox for countries that covers their major attributes such as their flags, ethnic makeup, and political system.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Conventional long nameconventional_long_name

Formal or official full name of the country in English. This entry should not be enclosed in brackets.

Example
The United States of America
Stringoptional
Common namecommon_name

Common name in English (used for wikilinks and to produce a default iso3166 code).

Example
U.S.
Stringoptional
Linking namelinking_name

Name used for linking. Defaults to common_name or name.

Stringoptional
Native namenative_name

Country's name (usually full name) in its native language, hence in italics (double quotemarks). The template {{native name}} should be used with this parameter to automatically italicize the text.

Example
{{native name|Bundesrepublik Deutschland}}
Stringoptional
Geopolitical organisation namename

Name of the geopolitical organisation in English.

Stringoptional
Flagimage_flag

File name of an image file on Wikipedia or on Commons that contains the country's current flag. Do not enclose this entry in double brackets and do not give it a prefix such as File: or Image:

Example
Flag of Iceland.svg
Fileoptional
Flag widthflag_width

If the default widths provided for the flag and coat-of-arms/symbol images produce an unsatisfactory result, use this 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). Can be done as a % or px.

Stringoptional
Flag alt textalt_flag

Alternate text for flag (text shown when pointer hovers over flag).

Stringoptional
Flag borderflag_border

Set to no to disable border around the flag.

Stringoptional
Flag captionflag_caption

Use this parameter to enter a caption for the flag, if one is necessary. Do not end this entry with a period.

Example
1992 version of the flag prior to the country's dissolution
Stringoptional
Second flagimage_flag2

If a country has a second flag— perhaps because of an ongoing civil war or a dispute over sovereignty— you can provide the file name of that second flag in this parameter. Do not include the prefix File: or Image:, and do not enclose it in double brackets.

Example
Secondflag of Namibia.svg
Fileoptional
Second flag alt textalt_flag2

Alt text for second flag (text shown when pointer hovers over flag).

Stringoptional
Second flag borderflag2_border

Set to no to disable border around the flag.

Stringoptional
Coat of armsimage_coat image_symbol

no description

Example
Coat of arms of country.svg
Stringoptional
Symbol widthsymbol_width

Symbol image's width.

Default
85px
Stringoptional
Coat of arms alt textalt_coat

Alt text for coat of arms.

Stringoptional
Symbol alt textalt_symbol

no description

Stringoptional
Symbol typesymbol_type

If not a coat of arms.

Example
emblem, seal, etc
Stringoptional
Symbol type articlesymbol_type_article

no description

Stringoptional
Text symboltext_symbol

For other types of text symbol.

Example
''[hymn name]''
Stringoptional
Text symbol typetext_symbol_type

For other types of text symbol.

Stringoptional
Other symbolother_symbol

Use if a further symbol exists.

Stringoptional
Other symbol typeother_symbol_type

no description

Stringoptional
National mottonational_motto

In inverted commas and wikilinked if link exists. Can also be used with the {{lang}} template and correct two-letter language code to designate the language of the motto where not provided in English.

Example
{{lang|de|''{{lang|de|[[Das Lied der Deutschen|Einigkeit und Recht und Freiheit]]}}''}}
Stringoptional
Mottomotto

no description

Stringoptional
National anthemnational_anthem

In inverted commas and wikilinked if link exists.

Stringoptional
Anthemanthem

no description

Stringoptional
Royal anthemroyal_anthem

In inverted commas and wikilinked if link exists.

Stringoptional
Mapimage_map

no description

Example
LocationCountry.svg
Stringoptional
Map widthmap_width

Map image's width.

Default
250px
Stringoptional
Map alt textalt_map

no description

Stringoptional
Map captionmap_caption

Caption to place below map.

Stringoptional
Map 2image_map2

Another map, if required.

Stringoptional
Map 2 widthmap2_width

no description

Stringoptional
Map 2 alt textalt_map2

no description

Stringoptional
Map 2 captionmap_caption2

Caption to place below second map.

Stringoptional
image_map3image_map3

no description

Stringoptional
map3_widthmap3_width

no description

Stringoptional
alt_map3alt_map3

no description

Stringoptional
map_caption3map_caption3

no description

Stringoptional
Capitalcapital

Name of country/territory's capital, wikilinked if link exists.

Stringoptional
Capital typecapital_type

no description

Stringoptional
Coordinatescoordinates

The geographic coordinates of the capital.

Stringoptional
Latitude degreeslatd

The degrees of the capital's latitude.

Stringoptional
Latitude minuteslatm

The minutes of the capital's latitude.

Stringoptional
Latitude NSlatNS

The direction of the capital's latitude.

Stringoptional
Longitude degreeslongd

The degrees of the capital's longitude.

Stringoptional
Longitude minuteslongm

The minutes of the capital's longitude.

Stringoptional
Longitude EWlongEW

The direction of the capital's longitude.

Stringoptional
Administrative centeradmin_center

Location/s of administrative center/s.

Stringoptional
Administrative center typeadmin_center_type

no description

Default
Administrative center
Stringoptional
Capital 2capital2

Name of country/territory's capital, wikilinked if link exists.

Stringoptional
Capital 2 typecapital_type2

no description

Stringoptional
Administrative center 2admin_center2

no description

Stringoptional
Administrative center 2 typeadmin_center_type2

no description

Stringoptional
Largest citylargest_city

Name of country/territory's largest city. Use "capital" (without quotemarks) if it's the capital.

Stringoptional
Largest settlementlargest_settlement

Name of largest settlement if not a city.

Stringoptional
Largest settlement typelargest_settlement_type

Type of settlement if largest settlement not a city.

Stringoptional
Official languagesofficial_languages

Languages recognised in legislation, constitution, etc.

Stringoptional
National languagesnational_languages

Country/territory-wide languages recognised but not necessarily in country/territory-wide law, etc.

Stringoptional
Regional languagesregional_languages

Languages recognised or associated with particular regions within the country/territory.

Stringoptional
Languages typelanguages_type

Use to specify a further type of language, if not official, national or regional.

Stringoptional
Languages sublanguages_sub

Is this further type of language a sub-item of the previous non-sub type?

Example
'yes' or 'no'
Stringoptional
Languageslanguages

Languages of the further type.

Stringoptional
2nd languages typelanguages2_type

Use to specify a 2nd further type of language, if not official, national or regional.

Stringoptional
Languages 2 sublanguages2_sub

Is the second alternative type of languages a sub-item of the previous non-sub type?

Example
'yes or 'no'
Stringoptional
Languages 2languages2

Languages of the second further type.

Stringoptional
ethnic_groupsethnic_groups

no description

Stringoptional
ethnic_groups_yearethnic_groups_year

no description

Stringoptional
religionreligion

no description

Stringoptional
demonymdemonym

no description

Stringoptional
org_typeorg_type

no description

Stringoptional
membershipmembership

no description

Stringoptional
membership_typemembership_type

no description

Stringoptional
government_typegovernment_type

no description

Stringoptional
politics_linkpolitics_link

no description

Stringoptional
leader_title1leader_title1

no description

Stringoptional
leader_name1leader_name1

no description

Stringoptional
leader_title2leader_title2

no description

Stringoptional
Leader name 2leader_name2

no description

Stringoptional
leader_title3leader_title3

no description

Stringoptional
Leader name 3leader_name3

no description

Stringoptional
leader_title4leader_title4

no description

Stringoptional
Leader name 4leader_name4

no description

Stringoptional
leader_title5leader_title5

no description

Stringoptional
Leader name 5leader_name5

no description

Stringoptional
leader_title6leader_title6

no description

Stringoptional
Leader name 6leader_name6

no description

Stringoptional
leader_title7leader_title7

no description

Stringoptional
Leader name 7leader_name7

no description

Stringoptional
leader_title8leader_title8

no description

Stringoptional
Leader name 8leader_name8

no description

Stringoptional
leader_title9leader_title9

no description

Stringoptional
Leader name 9leader_name9

no description

Stringoptional
leader_title10leader_title10

no description

Stringoptional
Leader name 10leader_name10

no description

Stringoptional
leader_title11leader_title11

no description

Stringoptional
Leader name 11leader_name11

no description

Stringoptional
leader_title12leader_title12

no description

Stringoptional
Leader name 12leader_name12

no description

Stringoptional
leader_title13leader_title13

no description

Stringoptional
Leader name 13leader_name13

no description

Stringoptional
leader_title14leader_title14

no description

Stringoptional
Leader name 14leader_name14

no description

Stringoptional
legislaturelegislature

no description

Stringoptional
upper_houseupper_house

no description

Stringoptional
lower_houselower_house

no description

Stringoptional
sovereignty_typesovereignty_type

no description

Stringoptional
sovereignty_notesovereignty_note

no description

Stringoptional
establishedestablished

no description

Stringoptional
established_event1established_event1

no description

Stringoptional
established_date1established_date1

no description

Stringoptional
established_event2established_event2

no description

Stringoptional
established_date2established_date2

no description

Stringoptional
established_event3established_event3

no description

Stringoptional
established_date3established_date3

no description

Stringoptional
established_event4established_event4

no description

Stringoptional
established_date4established_date4

no description

Stringoptional
established_event5established_event5

no description

Stringoptional
established_date5established_date5

no description

Stringoptional
established_event6established_event6

no description

Stringoptional
established_date6established_date6

no description

Stringoptional
established_event7established_event7

no description

Stringoptional
established_date7established_date7

no description

Stringoptional
established_event8established_event8

no description

Stringoptional
established_date8established_date8

no description

Stringoptional
established_event9established_event9

no description

Stringoptional
established_date9established_date9

no description

Stringoptional
established_event10established_event10

no description

Stringoptional
established_date10established_date10

no description

Stringoptional
established_event11established_event11

no description

Stringoptional
established_date11established_date11

no description

Stringoptional
established_event12established_event12

no description

Stringoptional
established_date12established_date12

no description

Stringoptional
area_km2area_km2

no description

Stringoptional
area_linkarea_link

no description

Stringoptional
area_labelarea_label

no description

Stringoptional
FR_foot4FR_foot4

no description

Stringdeprecated
area_footnotearea_footnote

no description

Stringoptional
area_rankarea_rank

no description

Stringoptional
area_sq_miarea_sq_mi

no description

Stringoptional
percent_waterpercent_water

no description

Stringoptional
area_label2area_label2

no description

Stringoptional
area_data2area_data2

no description

Stringoptional
area_label3area_label3

no description

Stringoptional
area_data3area_data3

no description

Stringoptional
FR_metropoleFR_metropole

no description

Stringdeprecated
FR_foot2FR_foot2

no description

Stringdeprecated
FR_IGN_area_km2FR_IGN_area_km2

no description

Stringdeprecated
FR_IGN_area_rankFR_IGN_area_rank

no description

Stringdeprecated
FR_IGN_area_sq_miFR_IGN_area_sq_mi

no description

Stringdeprecated
FR_foot3FR_foot3

no description

Stringdeprecated
FR_cadastre_area_km2FR_cadastre_area_km2

no description

Stringdeprecated
FR_cadastre_area_rankFR_cadastre_area_rank

no description

Stringdeprecated
FR_cadastre_area_sq_miFR_cadastre_area_sq_mi

no description

Stringdeprecated
population_estimatepopulation_estimate

no description

Stringoptional
population_censuspopulation_census

no description

Stringoptional
population_linkpopulation_link

no description

Stringoptional
population_estimate_yearpopulation_estimate_year

no description

Stringoptional
population_estimate_rankpopulation_estimate_rank

no description

Stringoptional
population_label2population_label2

no description

Stringoptional
population_data2population_data2

no description

Stringoptional
population_label3population_label3

no description

Stringoptional
population_data3population_data3

no description

Stringoptional
population_census_yearpopulation_census_year

no description

Stringoptional
population_census_rankpopulation_census_rank

no description

Stringoptional
population_density_km2population_density_km2

no description

Stringoptional
population_density_sq_mipopulation_density_sq_mi

no description

Stringoptional
pop_den_footnotepop_den_footnote

no description

Stringoptional
population_density_rankpopulation_density_rank

no description

Stringoptional
FR_metropole_populationFR_metropole_population

no description

Stringdeprecated
FR_total_population_estimate_yearFR_total_population_estimate_year

no description

Stringdeprecated
FR_footFR_foot

no description

Stringdeprecated
FR_total_population_estimateFR_total_population_estimate

no description

Stringdeprecated
FR_total_population_estimate_rankFR_total_population_estimate_rank

no description

Stringdeprecated
FR_metropole_population_estimate_rankFR_metropole_population_estimate_rank

no description

Stringdeprecated
FR_foot5FR_foot5

no description

Stringdeprecated
GDP_PPPGDP_PPP

no description

Stringoptional
GDP_PPP_yearGDP_PPP_year

no description

Stringoptional
GDP_PPP_rankGDP_PPP_rank

no description

Stringoptional
GDP_PPP_per_capitaGDP_PPP_per_capita

no description

Stringoptional
GDP_PPP_per_capita_rankGDP_PPP_per_capita_rank

no description

Stringoptional
GDP_nominalGDP_nominal

no description

Stringoptional
GDP_nominal_yearGDP_nominal_year

no description

Stringoptional
GDP_nominal_rankGDP_nominal_rank

no description

Stringoptional
GDP_nominal_per_capitaGDP_nominal_per_capita

no description

Stringoptional
GDP_nominal_per_capita_rankGDP_nominal_per_capita_rank

no description

Stringoptional
GiniGini

no description

Stringoptional
Gini_yearGini_year

no description

Stringoptional
Gini_changeGini_change

no description

Stringoptional
Gini_refGini_ref

no description

Stringoptional
Gini_rankGini_rank

no description

Stringoptional
HDIHDI

no description

Stringoptional
HDI_yearHDI_year

no description

Stringoptional
HDI_changeHDI_change

no description

Stringoptional
HDI_refHDI_ref

no description

Stringoptional
HDI_rankHDI_rank

no description

Stringoptional
currencycurrency

no description

Stringoptional
currency_codecurrency_code

no description

Stringoptional
time_zonetime_zone

no description

Stringoptional
utc_offsetutc_offset

no description

Stringoptional
utc_offset_DSTutc_offset_DST

no description

Stringoptional
DST_noteDST_note

no description

Stringoptional
time_zone_DSTtime_zone_DST

no description

Stringoptional
DSTDST

no description

Stringoptional
antipodesantipodes

no description

Stringoptional
date_formatdate_format

no description

Stringoptional
drives_ondrives_on

no description

Stringoptional
calling_codecalling_code

no description

Stringoptional
patron_saintpatron_saint

no description

Stringoptional
patron_saintspatron_saints

no description

Stringoptional
iso3166codeiso3166code

no description

Stringoptional
cctldcctld

no description

Stringoptional
official_websiteofficial_website

For geopolitical entities: do not use government website (e.g. usa.gov) for countries (e.g. [[United States]]).

Stringoptional
footnote_afootnote_a

no description

Stringoptional
footnote_bfootnote_b

no description

Stringoptional
footnote_cfootnote_c

no description

Stringoptional
footnote_dfootnote_d

no description

Stringoptional
footnote_efootnote_e

no description

Stringoptional
footnote_ffootnote_f

no description

Stringoptional
footnote_gfootnote_g

no description

Stringoptional
footnote_hfootnote_h

no description

Stringoptional
footnote1footnote1

no description

Stringoptional
footnote2footnote2

no description

Stringoptional
footnote3footnote3

no description

Stringoptional
footnote4footnote4

no description

Stringoptional
footnote5footnote5

no description

Stringoptional
footnote6footnote6

no description

Stringoptional
footnote7footnote7

no description

Stringoptional
footnote8footnote8

no description

Stringoptional
footnotesfootnotes

no description

Stringoptional
navbarnavbar

no description

Stringoptional

Tracking category

See also