Vorlage:Country data Sweden
Vorlagendokumentation
Warning | This template is used on approximately 145.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. |
Datei:OOjs UI icon information-progressive.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 | Datei:Swedish and Norwegian merchant flag 1818-1844.svg | Swedish and Norwegian merchant flag 1818-1844.svg |
1844 | Datei:Swedish civil ensign (1844–1905).svg | Swedish civil ensign (1844–1905).svg |
1905 | Datei:Flag of Sweden (pre-1906).svg | Flag of Sweden (pre-1906).svg |
naval-1844 | Datei:Naval Ensign of Sweden (1844-1905).svg | Naval Ensign of Sweden (1844-1905).svg |
naval-1815 | Datei:Ensign of Sweden and Norway (1815–1844).svg | Ensign of Sweden and Norway (1815–1844).svg |
naval | Datei:Naval Ensign of Sweden.svg | Naval Ensign of Sweden.svg |
navy | Datei:Naval Ensign of Sweden.svg | Naval Ensign of Sweden.svg |
air force | Datei:Naval Ensign of Sweden.svg | Naval Ensign of Sweden.svg |
army | Datei: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 | {{flag country|alias}} output |
---|---|---|
SWE (view) | Vorlage:Flag | Vorlage:Flag country |
See What links here for a full list of redirects.
Example usage
{{flag|Sweden}}
→ Vorlage:Flag{{flag icon|Sweden}}
→ Sweden
Using a flag variant
{{flag|Sweden|1818}}
→ Vorlage:Flag{{flag icon|Sweden|1818}}
→ Sweden
Using a redirect alias
{{flag icon|SWE}}
→ Vorlage:Country data SWEVorlage:Namespace detect showall{{flag country|SWE}}
→ Vorlage:Flag country{{flag|SWE}}
→ Vorlage:Flag
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Sweden}}
→ Vorlage:Naval{{flag icon|Sweden|naval}}
→ SwedenVorlage:Break
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Sweden}}
→ Vorlage:Air force{{flag icon|Sweden|air force}}
→ SwedenVorlage:Break
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Sweden}}
→ Vorlage:Navy{{flag icon|Sweden|navy}}
→ SwedenVorlage:Break
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Sweden}}
→ Vorlage:Army{{flag icon|Sweden|army}}
→ Sweden
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
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>
[[Category:Template documentation pages{{#translation:}}]]