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 on right)

Flag variants

LabelFlag image (40px)Image name
1821aError creating thumbnail: File missingFlag of the Three Guarantees.svg
1821Error creating thumbnail: File missingBandera del Primer Imperio Mexicano.svg
1823Flag of Mexico (1823-1864, 1867-1893).svg
1864Error creating thumbnail: File missingFlag of Mexico (1864-1867).svg
1867Flag of Mexico (1823-1864, 1867-1893).svg
1893Error creating thumbnail: File missingFlag of Mexico (1893-1916).svg
1916Error creating thumbnail: File missingFlag of the United Mexican States (1916-1934).svg
1934Error creating thumbnail: File missingFlag of Mexico (1934-1968).svg
marinesEstandarte Infantería de Marina de México.svg
coast guardError creating thumbnail: File missingFlag of the Mexican Maritime Search and Rescue.png
navyError creating thumbnail: File missingNaval Jack of Mexico.svg
air forceError creating thumbnail: File missingFlag of the Mexican Air Force.svg
armyError creating thumbnail: File missingFlag 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 a marine ensign flag variant that can be used with Template:Marines:

This template includes a navy flag variant that can be used with Template:Naval:

This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:

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) MEX Mexico

See What links here for a full list of redirects.

Example usage

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

Using a flag variant

Using a redirect alias

  • {{flagicon|MEX}}Mexico
  • {{flagcountry|MEX}} Mexico
  • {{flag|MEX}} MEX


TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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 Bharatpedia:WikiProject Flag Template for further documentation.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified