More actions
Template documentation
Template:Country data Hungary
is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag
, flagicon
, and others.
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 |
Hungary
| Main article name (Hungary) |
flag alias |
Flag of Hungary.svg |
Image name (File:Flag of Hungary.svg, shown on right) |
Flag variants
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 |
---|---|---|
HUN (view) | Template:Country data HUN | Template:Country data HUN |
See What links here for a full list of redirects.
Example usage
{{flag|Hungary}}
→ Hungary{{flagicon|Hungary}}
→
Using a flag variant
{{flag|Hungary|1848}}
→ Hungary{{flagicon|Hungary|1848}}
→
Using a redirect alias
{{flagicon|HUN}}
→ Template:Country data HUNTemplate:Namespace detect showall{{flagcountry|HUN}}
→ Template:Country data HUN{{flag|HUN}}
→ Template:Country data HUN
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Naval:
{{naval|Hungary}}
→ Template:Naval{{flagicon|Hungary|naval}}
→
This nation's air force ensign is the same as its national flag, so Template:Air force produces the following:
{{air force|Hungary}}
→ Template:Air force
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|Hungary}}
→ Template:Armed forces{{flagicon|Hungary|military}}
→
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Hungary}}
→ Template:Army{{flagicon|Hungary|army}}
→
Related templates
Please see the following related country_data
templates:
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Country data Hungary
<templatedata> {
"description": "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.", "params": {}
} </templatedata>