Template:Country data Mexico
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 name | Value | Meaning |
|---|---|---|
alias |
Mexico |
Main article name (Mexico) |
flag alias |
Flag of Mexico.svg |
Image name (File:Flag of Mexico.svg, shown on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
1821a | Flag of the Three Guarantees.svg | |
1821 | Bandera del Primer Imperio Mexicano.svg | |
1823 | Error creating thumbnail: | Flag of Mexico (1823-1864, 1867-1893).svg |
1864 | File:Flag of Mexico (1864-1867).svg | Flag of Mexico (1864-1867).svg |
1867 | Error creating thumbnail: | Flag of Mexico (1823-1864, 1867-1893).svg |
1893 | Error creating thumbnail: | Flag of Mexico (1893-1916).svg |
1916 | File:Flag of the United Mexican States (1916-1934).svg | Flag of the United Mexican States (1916-1934).svg |
1934 | Flag of Mexico (1934-1968).svg | |
marines | File:Estandarte Infantería de Marina de México.svg | Estandarte Infantería de Marina de México.svg |
coast guard | Flag of the Mexican Maritime Search and Rescue.png | |
navy | Naval Jack of Mexico.svg | |
air force | Flag of the Mexican Air Force.svg | |
army | Flag 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:
{{Navy|Mexico}}→
Mexican Navy
This template includes an air force ensign flag variant that can be used with Template:Air force:{{Air force|Mexico}}→
Mexican Air Force{{Flagicon|Mexico|air force}}→
This template includes a marine ensign flag variant that can be used with Template:Marines:{{Marines|Mexico}}→ File:Estandarte Infantería de Marina de México.svg Mexican Naval Infantry Corps{{Flagicon|Mexico|marines}}→ Mexico
This template includes a navy flag variant that can be used with Template:Naval:{{Naval|Mexico}}→
Mexican Navy{{Flagicon|Mexico|navy}}→
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:{{Coast guard|Mexico}}→
Mexican Maritime Search and Rescue{{Flagicon|Mexico|coast guard}}→
This template includes an army ensign flag variant that can be used with Template:Army:{{Army|Mexico}}→
Mexican Army{{Flagicon|Mexico|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) |
See What links here for a full list of redirects.
Example usage
{{Flag|Mexico}}→
Mexico{{Flagicon|Mexico}}→
Using a flag variant
{{Flag|Mexico|1821a}}→
Mexico{{Flagicon|Mexico|1821a}}→
Using a redirect alias
Other information
State flags
Country_data templates are also available for each of the thirty-one states of Mexico and the Mexican Federal District:
TemplateData
TemplateData for Country data Mexico
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.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||