Last edited 10 years ago by an anonymous user

Template:Country data Sweden

Revision as of 20:01, 9 January 2015 by Andrwsc (Talk) (updated images per Commons)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation

Template:Country data Sweden is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.

Error creating thumbnail:

Standard parameters

Parameter nameValueMeaning
alias Sweden Main article name (Sweden)
flag alias Flag of Sweden.svg Image name (File:Flag of Sweden.svg, shown on right)

Flag variants

LabelFlag image (40px)Image name
1818Swedish and Norwegian merchant flag 1818-1844.svgSwedish and Norwegian merchant flag 1818-1844.svg
1844Swedish civil ensign (1844–1905).svgSwedish civil ensign (1844–1905).svg
navalNaval Ensign of Sweden.svgNaval Ensign of Sweden.svg

Military ensigns

This template includes a naval ensign flag variant that can be used with Template:Navy:

  • {{navy|Template:Str right}}Template:Navy
  • {{flagicon|Template:Str right|naval}} → {{country data Template:Str right|flagicon/core|variant=naval|size=}}

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)Template:Country data SWETemplate:Flagcountry

See What links here for a full list of redirects.

Example usage

  • {{flag|Template:Str right}} → {{country data Template:Str right|flag/core|name=Template:Str right|variant=|size=}}
  • {{flagicon|Template:Str right}} → {{country data Template:Str right|flagicon/core|variant=|size=}}

Using a redirect alias

  • {{flagicon|SWE}}Template:Country data SWE
  • {{flagcountry|SWE}}Template:Flagcountry
  • {{flag|SWE}}Template:Country data SWE


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:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.",
 "params": {}

} </templatedata>

[[Category:All country data templates|Template:Str right]][[Category:Uncategorized country data templates|Template:Str right]]

Help improve this page!

Keep track of this page and all changes to it.