Template:Country data Sweden
File:Test Template Info-Icon - Version (2).svg Template documentation
Warning | This template is used on approximately 143,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. |
File:Exclamationdiamond.svg | Template:Country data Sweden is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag , flag icon , and others. |
File:Information icon4.svg | 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 |
Sweden
| Main article name (Sweden) |
flag alias |
Flag of Sweden.svg |
Image name (File:Flag of Sweden.svg, shown on right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
1818 | File:Swedish and Norwegian merchant flag 1818-1844.svg | Swedish and Norwegian merchant flag 1818-1844.svg |
1844 | File:Swedish civil ensign (1844–1905).svg | Swedish civil ensign (1844–1905).svg |
1905 | File:Flag of Sweden (pre-1906).svg | Flag of Sweden (pre-1906).svg |
naval-1844 | File:Naval Ensign of Sweden (1844-1905).svg | Naval Ensign of Sweden (1844-1905).svg |
naval-1815 | File:Ensign of Sweden and Norway (1815–1844).svg | Ensign of Sweden and Norway (1815–1844).svg |
naval | File:Naval Ensign of Sweden.svg | Naval Ensign of Sweden.svg |
navy | File:Naval Ensign of Sweden.svg | Naval Ensign of Sweden.svg |
air force | File:Naval Ensign of Sweden.svg | Naval Ensign of Sweden.svg |
army | File:Naval Ensign of Sweden.svg | Naval Ensign of Sweden.svg |
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 |
---|---|---|
SWE (view) | ![]() | ![]() |
See What links here for a full list of redirects.
Example usage
{{flag|Sweden}}
→Sweden
{{flag icon|Sweden}}
→
Using a flag variant
{{flag|Sweden|1818}}
→ File:Swedish and Norwegian merchant flag 1818-1844.svg Sweden{{flag icon|Sweden|1818}}
→ Sweden
Using a redirect alias
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Sweden}}
→ File:Naval Ensign of Sweden.svg Swedish Navy{{flag icon|Sweden|naval}}
→ Sweden
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Sweden}}
→ File:Naval Ensign of Sweden.svg Swedish Air Force{{flag icon|Sweden|air force}}
→ Sweden
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Sweden}}
→ File:Naval Ensign of Sweden.svg Swedish Navy{{flag icon|Sweden|navy}}
→ Sweden
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Sweden}}
→ File:Naval Ensign of Sweden.svg Swedish Army{{flag icon|Sweden|army}}
→ Sweden
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 Sweden in articles based on its TemplateData.
TemplateData for Country data Sweden
<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>