Template:Country data Mexico
Appearance

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.
![]() | This template is within the scope of WikiProject Flag Template, a collaborative effort to maintain flag templates on Wikipedia. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page. |

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 above right) |
Flag variants
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}} → [[Image:Template:Country flag alias Mexico|border|25x20px|Template:Country alias Mexicoの旗]]
This template includes an army ensign flag variant that can be used with Template:Army:
- {{army|Mexico}} → Template:Army/core
- {{flagicon|Mexico|army}} → [[Image:Template:Country flag alias Mexico|border|25x20px|Template:Country alias Mexicoの旗]]
Redirect aliases
Alias name | {{flag|alias}} output | {{flagcountry|alias}} output |
---|---|---|
MEX (view) | ![]() | ![]() |
Example usage
- {{flag|Mexico}} →
Mexico
- {{flagicon|Mexico}} → [[Image:Template:Country flag alias Mexico|border|25x20px|Template:Country alias Mexicoの旗]]
Using a flag variant
- {{flag|Mexico|1821}} →
Mexico
- {{flagicon|Mexico|1821}} → [[Image:Template:Country flag alias Mexico|border|25x20px|Template:Country alias Mexicoの旗]]
Using a redirect alias
- {{flagicon|MEX}} → [[Image:Template:Country flag alias MEX|border|25x20px|Template:Country alias MEXの旗]]
- {{flagcountry|MEX}} →
Mexico
- {{flag|MEX}} →
MEX