Template:Country data Yugoslavia
| This template is used on approximately 33,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 Yugoslavia 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 |
Socialist Federal Republic of Yugoslavia |
Main article name (Socialist Federal Republic of Yugoslavia) |
shortname alias |
Yugoslavia |
(optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example |
flag alias |
Flag of Yugoslavia (1946-1992).svg |
Image name (File:Flag of Yugoslavia (1946-1992).svg, shown on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
shs | Flag of the State of Slovenes, Croats and Serbs.svg | |
naval | File:Naval Ensign of Yugoslavia (1949–1993).svg | Naval Ensign of Yugoslavia (1949–1993).svg |
navy | File:Naval Ensign of Yugoslavia (1949–1993).svg | Naval Ensign of Yugoslavia (1949–1993).svg |
army | File:Yugoslavia Infantry flag.svg | Yugoslavia Infantry flag.svg |
Redirect aliases
| Alias name | {{flag|alias}} output | {{flag country|alias}} output |
|---|---|---|
YUG (view) | Error creating thumbnail: YUG | Error creating thumbnail: Yugoslavia |
SFR Yugoslavia (view) | Error creating thumbnail: SFR Yugoslavia | Error creating thumbnail: Yugoslavia |
Socialist Federal Republic of Yugoslavia (view) | Error creating thumbnail: Socialist Federal Republic of Yugoslavia | Error creating thumbnail: Yugoslavia |
See What links here for a full list of redirects.
Example usage
{{flag|Yugoslavia}}→ Error creating thumbnail: Yugoslavia{{flag icon|Yugoslavia}}→ Error creating thumbnail:{{flag country|Yugoslavia}}→ Error creating thumbnail: Yugoslavia
Using a flag variant
{{flag|Yugoslavia|shs}}→ Error creating thumbnail: Yugoslavia{{flag icon|Yugoslavia|shs}}→ Error creating thumbnail:
Using a redirect alias
{{flag icon|YUG}}→ Error creating thumbnail:{{flag country|YUG}}→ Error creating thumbnail: Yugoslavia{{flag|YUG}}→ Error creating thumbnail: YUG
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Yugoslavia}}→ File:Naval Ensign of Yugoslavia (1949–1993).svg Yugoslav Navy{{flag icon|Yugoslavia|naval}}→ Socialist Federal Republic of Yugoslavia
This nation's air force ensign is the same as its national flag, so Template:Air force produces the following:
{{air force|Yugoslavia}}→ Error creating thumbnail: Yugoslav Air Force
This nation's military ensign is the same as its national flag, so Template: Armed forces produces the following:
{{Armed forces|Yugoslavia}}→ Error creating thumbnail: Yugoslav People's Army
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Yugoslavia}}→ File:Naval Ensign of Yugoslavia (1949–1993).svg Yugoslav Navy{{flag icon|Yugoslavia|navy}}→ Socialist Federal Republic of Yugoslavia
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Yugoslavia}}→ File:Yugoslavia Infantry flag.svg Yugoslav Ground Forces{{flag icon|Yugoslavia|army}}→ Socialist Federal Republic of Yugoslavia
Related templates
Please see the following related country_data templates:
- Template:Country data Kingdom of YugoslaviaFile:Flag of Yugoslavia (1918–1943).svg Kingdom of Yugoslavia
- Template:Country data Democratic Federal YugoslaviaFile:Yugoslav Partisans flag 1945.svg Democratic Federal Yugoslavia
- Template:Country data Federal People's Republic of YugoslaviaFile:Flag of Yugoslavia (1946–1992).svg Federal People's Republic of Yugoslavia
- Template:Country data Federal Republic of YugoslaviaFile:Flag of Serbia and Montenegro (1992–2006).svg Federal Republic of Yugoslavia
TemplateData
TemplateData for Country data Yugoslavia
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.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||