Template:Country data Mexico

Documentation icon Template documentation

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

See also: Flag of Mexico

Standard parameters

Parameter nameValueMeaning
alias Mexico Main article name (Mexico)
flag alias Flag of Mexico.svg Image name (File:Flag of Mexico.svg, shown on right)

Flag variants

LabelFlag image (40px)Image name
1821Flag of Mexico (1821-1823).svgFlag of Mexico (1821-1823).svg
1823Flag of Mexico (1823-1864, 1867-1893).svgFlag of Mexico (1823-1864, 1867-1893).svg
1864Flag of Mexico (1864-1867).svgFlag of Mexico (1864-1867).svg
1867Flag of Mexico (1823-1864, 1867-1968).pngFlag of Mexico (1823-1864, 1867-1968).png
1881Flag of Mexico 1881-1899.pngFlag of Mexico 1881-1899.png
1893Flag of Mexico (1893-1916).svgFlag of Mexico (1893-1916).svg
1899Flag of Mexico 1899-1917.pngFlag of Mexico 1899-1917.png
1916Flag of Mexico (1916–1934).svgFlag of Mexico (1916-1934).svg
1917Flag of Mexico (1917-1934).pngFlag of Mexico (1917-1934).png
1934Flag of Mexico (1934-1968).svgFlag of Mexico (1934-1968).svg

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
MEX (view) MEX Mexico

See What links here for a full list of redirects.

Example usage

  • {{flag|Mexico}} Mexico
  • {{flagicon|Mexico}}Mexico

Using a flag variant

  • {{flag|Mexico|1821}} Mexico
  • {{flagicon|Mexico|1821}}Mexico

Using a redirect alias

  • {{flagicon|MEX}}Mexico
  • {{flagcountry|MEX}} Mexico
  • {{flag|MEX}} MEX

Military ensigns

This nation's naval ensign is the same as its national flag, so Template:Naval produces the following:



TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Country data Mexico

<templatedata> {

 "description": "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.",
 "params": {}

} </templatedata>