Appearance
| This template is used on approximately 114,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. 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, flag icon, 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
| Alias name | {{flag|alias}} output | {{flag country|alias}} output |
|---|---|---|
HUN (view) |
See What links here for a full list of redirects.
Example usage
{{flag|Hungary}}→
Hungary{{flag icon|Hungary}}→
Using a flag variant
{{flag|Hungary|1848}}→
Hungary{{flag icon|Hungary|1848}}→
Using a redirect alias
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Hungary}}→
Hungarian River Guard{{flag icon|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}}→
Hungarian Air Force
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|Hungary}}→
Hungarian Defence Forces{{flag icon|Hungary|military}}→ Error creating thumbnail:
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Hungary}}→
Hungarian River Guard{{flag icon|Hungary|navy}}→
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Hungary}}→ Error creating thumbnail: Hungarian Ground Forces{{flag icon|Hungary|army}}→ Error creating thumbnail:
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:Flag icon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.",
"params": {}
} </templatedata>