Template:Associated country data category
This category lists all country data templates of entities associated with {{{1}}}. Such templates are used by templates like {{flag}} and {{flagcountry}}.
This template should be placed on country data categories by country. See the code for parameters.
The template automatically sets the following categories:
Usage
{{associated country data category |1= }}
Template parameters
- TemplateData
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.
Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1
or useTemplateData=only
on the /doc
subpage and transcluding it with {{Documentation}} into the template. <nowiki>
-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>
-tags into the Wikitext of the template, as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Country Data Name | 1 | The name of the country data template. | Line | required |
Display Name | name | The display name of the country data template.
| Line | optional |
Include Grammar Article “the” | the | Whether the default display name should include the grammar article “the”.
| Boolean | optional |
Subcategory of | subcat | The categories to add this category to.
| Content | optional |
Sort Key | sort | The sort key used for “Category:Country data templates by country”.
| String | optional |
Additional information
The template is intended to be used in the following namespaces: the Category namespace
The template is intended to be used by the following user groups: all users
Relies on:
Localization
Deutsch ∙ English ∙ français ∙ македонски ∙ Nederlands ∙ português do Brasil ∙ русский
This template makes use of {{Autotranslate}} and the translate extension.