Template:Country data Mexico: Difference between revisions
Appearance
Replacing Flag_of_Mexico_(1864-1867).svg with File:Imperial_Standard_of_Mexico_(1864-1867).svg (by CommonsDelinker because: File renamed: Criterion 3 (obvious error) · as the FOTW page s |
Deleatur yhe (talk | contribs) m 1 revision imported |
(No difference)
| |
Latest revision as of 15:02, 9 September 2026
| This template is used on approximately 114,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Template:Country data Mexico is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flag icon, 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 on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
1821a | File:Flag of the Three Guarantees.svg | Flag of the Three Guarantees.svg |
1821 | File:Bandera del Primer Imperio Mexicano.svg | Bandera del Primer Imperio Mexicano.svg |
1823 | File:Flag of Mexico (1823-1864, 1867-1893).svg | Flag of Mexico (1823-1864, 1867-1893).svg |
1864 | File:Imperial Standard of Mexico (1864-1867).svg | Imperial Standard of Mexico (1864-1867).svg |
1867 | File:Flag of Mexico (1823-1864, 1867-1893).svg | Flag of Mexico (1823-1864, 1867-1893).svg |
1893 | File:Flag of Mexico (1893-1916).svg | Flag of Mexico (1893-1916).svg |
1916 | File:Flag of Mexico (1916–1934).svg | Flag of Mexico (1916–1934).svg |
1934 | File:Flag of Mexico (1934-1968).svg | Flag of Mexico (1934-1968).svg |
marines | 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 |
Redirect aliases
| Alias name | {{flag|alias}} output | {{flag country|alias}} output |
|---|---|---|
MEX (view) |
See What links here for a full list of redirects.
Example usage
{{flag|Mexico}}→
Mexico{{flag icon|Mexico}}→
Using a flag variant
{{flag|Mexico|1821a}}→ File:Flag of the Three Guarantees.svg Mexico{{flag icon|Mexico|1821a}}→ Mexico
Using a redirect alias
Military ensigns
This nation's naval flag is the same as its national flag, so Template:Naval produces the following:
{{naval|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{{flag icon|Mexico|air force}}→
This template includes a marine ensign flag variant that can be used with Template:Marines:
{{marines|Mexico}}→
Mexican Naval Infantry Corps{{flag icon|Mexico|marines}}→
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Mexico}}→
Mexican Navy{{flag icon|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{{flag icon|Mexico|coast guard}}→
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Mexico}}→
Mexican Army{{flag icon|Mexico|army}}→
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Country data Mexico in articles based on its TemplateData.
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:Flag icon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.",
"params": {}
} </templatedata>