• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.215
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Country data Switzerland

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
File:Test Template Info-Icon - Version (2).svg Template documentation
File:Ambox warning yellow.svgThis template is used on approximately 70,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.
NoticeTemplate:Country data Switzerland is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.
File:Information icon4.svgThis 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.
File:Flag of Switzerland.svg

Contents

  • 1 Standard parameters
  • 2 Flag variants
  • 3 Redirect aliases
  • 4 Example usage
    • 4.1 Using a flag variant
    • 4.2 Using a redirect alias
  • 5 Military ensigns
  • 6 Related templates
  • 7 Other information
  • 8 TemplateData

Standard parameters

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

Flag variants

LabelFlag image (40px)Image name
civilFile:Civil Ensign of Switzerland.svgCivil Ensign of Switzerland.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
CHE (view)File:Flag of Switzerland.svg  CHEFile:Flag of Switzerland.svg  Switzerland
SUI (view)File:Flag of Switzerland.svg  SUIFile:Flag of Switzerland.svg  Switzerland
CH (view)File:Flag of Switzerland.svg  CHFile:Flag of Switzerland.svg  Switzerland

See What links here for a full list of redirects.

Example usage

  • {{flag|Switzerland}} → File:Flag of Switzerland.svg  Switzerland
  • {{flagicon|Switzerland}} → File:Flag of Switzerland.svg

Using a flag variant

  • {{flag|Switzerland|civil}} → File:Civil Ensign of Switzerland.svg  Switzerland
  • {{flagicon|Switzerland|civil}} → File:Civil Ensign of Switzerland.svg

Using a redirect alias

  • {{flagicon|CHE}} → File:Flag of Switzerland.svg
  • {{flagcountry|CHE}} → File:Flag of Switzerland.svg  Switzerland
  • {{flag|CHE}} → File:Flag of Switzerland.svg  CHE

Military ensigns


This nation's air force ensign is the same as its national flag, so Template:Air force produces the following:

  • {{air force|Switzerland}} → File:Flag of Switzerland.svg Swiss Air Force

This nation's army ensign is the same as its national flag, so Template:Army produces the following:

  • {{army|Switzerland}} → File:Flag of Switzerland.svg Swiss Army

Related templates

Please see the following related country_data templates:

  • Template:Country data Helvetic RepublicFile:Republiquehelv.svg Helvetic Republic
  • Template:Country data Old Swiss ConfederacyFile:Early Swiss cross.svg Old Swiss Confederacy

Other information

Country_data templates are also available for each of the twenty-six cantons of Switzerland:

Template:Country data Aargau File:Flag of Canton of Aargau.svg Aargau
Template:Country data Appenzell Ausserrhoden File:Flag of Canton of Appenzell Ausserrhoden.svg Appenzell Ausserrhoden
Template:Country data Appenzell Innerrhoden File:Flag of Canton of Appenzell Innerrhoden.svg Appenzell Innerrhoden
Template:Country data Basel-Landschaft File:Flag of Canton of Basel Land.svg Basel-Landschaft
Template:Country data Basel-Stadt File:Flag of Canton of Basel.svg Basel-Stadt
Template:Country data Bern File:Flag of Canton of Bern.svg Bern
Template:Country data Fribourg File:Flag of Canton of Fribourg.svg Fribourg
Template:Country data Geneva File:Flag of Canton of Geneva.svg Geneva
Template:Country data Glarus File:Flag of Canton of Glarus.svg Glarus
Template:Country data Graubünden File:Flag of Canton of Graubünden.svg Graubünden
Template:Country data Jura File:Flag of Canton of Jura.svg Jura
Template:Country data Lucerne File:Flag of Canton of Lucerne.svg Lucerne
Template:Country data Neuchâtel File:Flag of Canton of Neuchâtel.svg Neuchâtel
Template:Country data Nidwalden File:Flag of Canton of Nidwalden.svg Nidwalden
Template:Country data Obwalden File:Flag of Canton of Obwalden.svg Obwalden
Template:Country data Schaffhausen File:Flag of Canton of Schaffhausen.svg Schaffhausen
Template:Country data Schwyz File:Flag of Canton of Schwyz.svg Schwyz
Template:Country data Solothurn File:Flag of Canton of Solothurn.svg Solothurn
Template:Country data St. Gallen File:Flag of Canton of Sankt Gallen.svg St. Gallen
Template:Country data Thurgau File:Flag of Canton of Thurgau.svg Thurgau
Template:Country data Ticino File:Flag of Canton of Tessin.svg Ticino
Template:Country data Uri File:Flag of Canton of Uri.svg Uri
Template:Country data Valais File:Flag of Canton of Valais.svg Valais
Template:Country data Vaud File:Flag of Canton of Vaud.svg Vaud
Template:Country data Zug File:Flag of Canton of Zug.svg Zug
Template:Country data Zürich File:Flag of Canton of Zürich.svg Zürich

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Country data Switzerland

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.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified
This is the documentation for Template:Country data Switzerland. It is automatically generated by Template:Country showdata.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please purge the cache after making any changes to this template.
This template has a /doc subpage for the purposes of categories and documentation specific to this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Country_data_Switzerland&oldid=12242"
Categories:
  • Pages with broken file links
  • Country data templates of countries
  • Country data templates of Switzerland
  • Templates using TemplateData
  • Country data templates with documentation subpage
  • Country data templates with distinct default size
  • All country data templates
Last edited on 5 May 2021, at 05:40

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 5 May 2021, at 05:40.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop