Template:Infobox country/doc: Difference between revisions
Remove unused Wikipedia category assignments |
Remove irrelevant article links and Wikipedia policy references from infobox documentation |
||
| Line 117: | Line 117: | ||
|DST_note = <!--Optional note regarding DST use--> | |DST_note = <!--Optional note regarding DST use--> | ||
|antipodes = <!--Place/s exactly on the opposite side of the world to country/territory--> | |antipodes = <!--Place/s exactly on the opposite side of the world to country/territory--> | ||
|date_format = <!--all-numeric date format and era, such as | |date_format = <!--all-numeric date format and era, such as CE, AD, AH, etc.; e.g. {{abbr|yyyy|year}}-{{abbr|mm|month}}-{{abbr|dd|day}} (AD) --> | ||
|drives_on = <!--"right" or "left" (side of road)--> | |drives_on = <!--"right" or "left" (side of road)--> | ||
|cctld = <!--Internet country code top-level domain identifier (e.g. | |cctld = <!--Internet country code top-level domain identifier (e.g. .br, .de, etc)--> | ||
|iso3166code = <!--ISO code only; no extra text. Use to override default from common_name parameter above; omit using "omit".--> | |iso3166code = <!--ISO code only; no extra text. Use to override default from common_name parameter above; omit using "omit".--> | ||
|calling_code = <!--e.g. | |calling_code = <!--e.g. +1, +531, +44, etc--> | ||
|image_map3 = <!--Optional third map position, e.g. for use with reference to footnotes below it--> | |image_map3 = <!--Optional third map position, e.g. for use with reference to footnotes below it--> | ||
|alt_map3 = <!--alt text for third map position--> | |alt_map3 = <!--alt text for third map position--> | ||
| Line 181: | Line 181: | ||
|admin_center_type = <!-- e.g. "Administrative center" (default) --> | |admin_center_type = <!-- e.g. "Administrative center" (default) --> | ||
|admin_center = <!-- Location/s of administrative center/s --> | |admin_center = <!-- Location/s of administrative center/s --> | ||
|languages_type = <!-- e.g. " | |languages_type = <!-- e.g. "Official languages" (default) --> | ||
|languages = | |languages = | ||
|leader_title1 = <!-- e.g. "Chair", "President", etc. --> | |leader_title1 = <!-- e.g. "Chair", "President", etc. --> | ||
| Line 242: | Line 242: | ||
|common_name = <!-- Name to be used in constructing links and category names; not for display --> | |common_name = <!-- Name to be used in constructing links and category names; not for display --> | ||
|iso3166code = omit <!-- For a country or geopolitical version of a country that ceased to exist prior to the introduction of iso3166--> | |iso3166code = omit <!-- For a country or geopolitical version of a country that ceased to exist prior to the introduction of iso3166--> | ||
|era = <!-- Use: " | |era = <!-- Use: "Napoleonic Wars", "Cold War", etc. --> | ||
|status = <!-- Status: see Category list on template page --> | |status = <!-- Status: see Category list on template page --> | ||
|status_text = <!-- A free text to describe status at the top of the infobox. Use sparingly. --> | |status_text = <!-- A free text to describe status at the top of the infobox. Use sparingly. --> | ||
| Line 381: | Line 381: | ||
|stat_area5 = | |stat_area5 = | ||
|stat_pop5 = | |stat_pop5 = | ||
|today = <!-- Present-day countries that overlap with the territorial extent of the former country. Do not use this parameter if there are more than four such countries. --><!-- Do | |today = <!-- Present-day countries that overlap with the territorial extent of the former country. Do not use this parameter if there are more than four such countries. --><!-- Do not add flags. --> | ||
|footnote_a = <!-- Accepts wikilinks --> | |footnote_a = <!-- Accepts wikilinks --> | ||
|footnote_b = <!-- Accepts wikilinks --> | |footnote_b = <!-- Accepts wikilinks --> | ||
Revision as of 13:53, 22 September 2026
Syntax
<syntaxhighlight lang="wikitext" style="overflow:auto;">
Infobox country/doc |
|---|
</syntaxhighlight>
Note: Now redundant. <syntaxhighlight lang="wikitext"> |metropole = |metropole_area = |metropole_area_rank = |metropole_area_magnitude = |metropole_areami² = |metropole_population = |metropole_population_estimate_rank = |foot = |foot2 = |foot3 = |foot4 = |foot5 = </syntaxhighlight> * 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).
<syntaxhighlight lang="wikitext" style="overflow:auto;">
- REDIRECT Template:Infobox country
</syntaxhighlight>
<syntaxhighlight lang="wikitext" style="overflow:auto;">
Infobox country/doc | |
|---|---|
|
</syntaxhighlight>
Microformat
The HTML mark up produced by this template includes an , which makes the place-name and location by computers, either acting automatically to catalogue article across the wiki, 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
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.
Tracking categories
- Category:Country articles requiring maintenance (0)
- Category:Pages using infobox country with unknown parameters (9)
- Category:Pages using infobox country with syntax problems (0)
- Category:Pages using infobox country or infobox former country with the flag caption or type parameters (1)
- Category:Pages using infobox country or infobox former country with the symbol caption or type parameters (1)
- Category:Former country articles using status text with Colony or Exile (0)
|}