Template:Country data New Zealand
Template:Country data New Zealand
is an internal data container not intended to be transcluded directly.
It is used indirectly by templates such as {{flag}}, {{flagcountry}}, and others.
Standard parameters
Parameter name | Value | Meaning |
---|---|---|
alias | New Zealand | Main article name (New Zealand) |
flag alias | Flag of New Zealand.svg | Image name (File:Flag of New Zealand.svg, shown on right) |
Flag variants
These variants cannot be used unless the line | variant = {{{variant|}}}
is added to this template.
Label | Flag image (40px) | Image name |
---|---|---|
civil | Civil Ensign of New Zealand.svg | |
naval-1941 | Naval Ensign of the United Kingdom.svg | |
naval | Naval Ensign of New Zealand.svg | |
air force | Air Force Ensign of New Zealand.svg |
Military ensigns
This template includes a naval ensign flag variant that can be used with {{naval ensign}}:
{{naval ensign|New Zealand}}
→ Royal New Zealand Navy{{flagicon3|New Zealand|naval}}
→
This template includes an air force ensign flag variant that can be used with {{air force flag}}:
{{air force flag|New Zealand}}
→ Royal New Zealand Air Force{{flagicon3|New Zealand|air force}}
→
Example usage
{{flag|New Zealand}}
→ New Zealand{{flagicon3|New Zealand}}
→
Using a flag variant
{{flag|New Zealand|civil}}
→ New Zealand{{flagicon3|New Zealand|civil}}
→
TemplateData
- 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
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 |