Template:Country data CDMX: Difference between revisions
(Replacing Flag_of_Mexican_Federal_District.svg with File:Flag_of_Mexico_City.svg (by CommonsDelinker because: File renamed: it's been Mexico City since 1993).) |
m (1 revision imported) |
||
(No difference)
|
Latest revision as of 14:00, 6 July 2024
File:Test Template Info-Icon - Version (2).svg Template documentation
File:Exclamationdiamond.svg | Template:Country data CDMX is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag , flag icon , and others. |
File:Information icon4.svg | 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 City
| Main article name (Mexico City) |
shortname alias |
Mexico City |
(optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example |
flag alias |
Flag of Mexico City.svg |
Image name (File:Flag of Mexico City.svg, shown on right) |
Example usage
{{flag|CDMX}}
→ File:Flag of Mexico City.svg CDMX{{flag icon|CDMX}}
→ Mexico City{{flagcountry|CDMX}}
→ File:Flag of Mexico City.svg Mexico City
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 CDMX in articles based on its TemplateData.
TemplateData for Country data CDMX
<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>