Template:Country data Chile

Template documentationpurge ]

Template:Country data Chile is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as {{flag}}, {{flagcountry}}, and others.

See also: Flag of Chile

Standard parameters

Parameter nameValueMeaning
aliasChileMain article name (Chile)
flag aliasFlag of Chile.svgImage name (File:Flag of Chile.svg, shown on right)

Flag variants

For more details on this topic, see Flag of Chile.

These variants cannot be used unless the line | variant = {{{variant|}}} is added to this template.

LabelFlag image (40px)Image name
mapucheAncient mapuche flag.svg
lautaroLautaro flag.svg
spainFlag of Cross of Burgundy.svg
spain1Flag of Spain (1785–1873, 1875–1931).svg
1812Flag of Chile (1812-1814).svg
1812aFlag of Chile (1812-1814, alternative).svg
andesBandera de la Provincia de Mendoza.svg
1817Flag of Chile (1817-1818).svg
1817_proposalFlag of Chile (1817-1818, 2nd).svg
1818Flag of Chile (1818).svg
1818aFlag of Chile (1818-1854).svg
1819State Ensign of Chile (1819-1834).svg
expeditionFlag of the Liberating Expedition of Peru.svg
1826Flag of Chile (Civil Use, 1826-1854).svg
apFlag of the Kingdom of Araucanía and Patagonia.svg
easter1Easter Island flag 1876 to 1888.svg
easterFlag of Rapa Nui, Chile.svg
presidentBandera del presidente de Chile.svg
navalFlag of Chile.svg
navyNaval Jack of Chile.svg
air forceFlag of the Chilean Air Force.svg
armyFlag of the Chilean Army.svg

Military ensigns

This template includes a naval ensign flag variant that can be used with {{naval ensign}}:

  • {{naval ensign|Chile}} Chilean Navy
  • {{flagicon3|Chile|naval}}Chile

This template includes an air force ensign flag variant that can be used with {{air force flag}}:

This template includes a navy flag variant that can be used with {{navy}}:

  • {{navy|Chile}} Chilean Navy
  • {{flagicon3|Chile|navy}}Chile

This template includes an army ensign flag variant that can be used with {{army}}:

Redirect aliases

This template can also be used via an alias name (implemented as a redirect to this template):

Alias name{{flag|alias}} output{{flagcountry|alias}} output
CHL (view)Template:Country data CHLTemplate:Country data CHL
CHI (view)Template:Country data CHITemplate:Country data CHI

See What links here for a full list of redirects.

Example usage

  • {{flag|Chile}} Chile
  • {{flagicon3|Chile}}Chile

Using a flag variant

  • {{flag|Chile|mapuche}} Chile
  • {{flagicon3|Chile|mapuche}}Chile

Using a redirect alias

TemplateData

<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified