Template:Country data Hungarian Republic (1946–49): Difference between revisions
meta>Thommy9 fixed shortname alias |
meta>Thommy9 redirect alias |
||
| Line 14: | Line 14: | ||
<noinclude> | <noinclude> | ||
| var1 = naval-1946 | | var1 = naval-1946 | ||
| redir1 = Second Hungarian Republic | |||
| related1 = Hungary | | related1 = Hungary | ||
| flag link = Flag of Hungary | | flag link = Flag of Hungary | ||
Revision as of 11:42, 13 April 2018
Template:Country data Hungarian Republic (1946–49) is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as {{Flag}}, {{Flagicon}} and others.

Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
alias |
Hungarian Republic (1946–49) |
Main article name (Hungarian Republic (1946–49)) |
shortname alias |
Hungary |
(optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example |
flag alias |
Flag of Hungary (1946-1949, 1956-1957).svg |
Image name (File:Flag of Hungary (1946-1949, 1956-1957).svg, shown on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
naval-1946 | Naval Ensign of Hungary (1946-1948).svg | |
naval | Naval Ensign of Hungary (1948-1950).svg |
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
{{Navy|Hungarian Republic (1946–49)}}→
Honvéd River Guard{{Flagicon|Hungarian Republic (1946–49)|naval}}→
This nation's air force ensign is the same as its national flag, so Template:Air force produces the following:{{Air force|Hungarian Republic (1946–49)}}→
Hungarian Air Force
This nation's army ensign is the same as its national flag, so Template:Army produces the following:{{Army|Hungarian Republic (1946–49)}}→
Hungarian Army (1945–51)
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 |
|---|---|---|
Second Hungarian Republic (view) |
See What links here for a full list of redirects.
Example usage
{{Flag|Hungarian Republic (1946–49)}}→
Hungarian Republic (1946–49){{Flagicon|Hungarian Republic (1946–49)}}→
{{Flagcountry|Hungarian Republic (1946–49)}}→
Hungary
Using a flag variant
{{Flag|Hungarian Republic (1946–49)|naval-1946}}→
Hungarian Republic (1946–49){{Flagicon|Hungarian Republic (1946–49)|naval-1946}}→
Using a redirect alias
{{Flagicon|Second Hungarian Republic}}→
{{Flagcountry|Second Hungarian Republic}}→
Hungary{{Flag|Second Hungarian Republic}}→
Second Hungarian Republic
Related templates
Please see the following related country_data templates:
TemplateData
TemplateData for Country data Hungarian Republic (1946–49)
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 | ||||||