Template:Country data Mexico: Difference between revisions
meta>Illegitimate Barrister No edit summary |
meta>Illegitimate Barrister svg. |
||
| Line 10: | Line 10: | ||
| flag alias-1917 = Flag of Mexico (1917-1918).png | | flag alias-1917 = Flag of Mexico (1917-1918).png | ||
| flag alias-1934 = Flag of the United Mexican States (1934-1968).svg | | flag alias-1934 = Flag of the United Mexican States (1934-1968).svg | ||
| flag alias-air force = Flag of the Mexican Air Force. | | flag alias-air force = Flag of the Mexican Air Force.svg | ||
| flag alias-army = Flag of the Mexican Army.svg | | flag alias-army = Flag of the Mexican Army.svg | ||
| link alias-army = Mexican Army | | link alias-army = Mexican Army | ||
Revision as of 02:14, 29 August 2016
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
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 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|1821}}→
Mexico{{Flagicon|Mexico|1821}}→
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 | ||||||