Template:Country data Hungary: Difference between revisions
Jump to navigation
Jump to search
(use AWB to add navy variant) |
m (1 revision imported) |
Latest revision as of 12:57, 22 December 2023
Template documentation
This template is used on approximately 52,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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 HUN{{flagcountry|HUN}}
→ Template:Country data HUN{{flag|HUN}}
→ Template:Country data HUN
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Hungary}}
→ Template:Naval{{flagicon|Hungary|naval}}
→ Template:Break
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 forceTemplate:Break
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}}
→ Template:Break
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Hungary}}
→ Template:Navy{{flagicon|Hungary|navy}}
→ Template:Break
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. See a monthly parameter usage report for Template:Country data Hungary in articles based on its 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>