Template:Country data Mexico

Mayelana Wikipedia
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.

Standard parameters

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

Flag variants

LabelFlag image (40px)Image name
1821aFlag of the Three Guarantees.svg
1821Bandera del Primer Imperio Mexicano.svg
1823Flag of Mexico (1823-1864, 1867-1893).svg
1864Flag of Mexico (1864-1867).svg
1867Flag of Mexico (1823-1864, 1867-1893).svg
1893Flag of Mexico (1893-1916).svg
1916Flag of Mexico (1916-1934, 2).svg
1934Flag of Mexico (1934-1968).svg
air forceFlag of the Mexican Air Force.svg
armyFlag of the Mexican Army.svg

Military ensigns

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

This template includes an air force ensign flag variant that can be used with Template:Air force:

This template includes an army ensign flag variant that can be used with Template: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
MEX (view)Template:Country data MEXFlag of Mexico.svg

Example usage

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

Using a flag variant

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

Using a redirect alias