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

Template:Country data Samoa

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation
WarningThis template is used on approximately 7,400 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 Samoa is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, 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.
Flag of Samoa.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 Related templates
  • 6 TemplateData

Standard parameters

Parameter nameValueMeaning
alias Samoa Main article name (Samoa)
shortname alias Samoa (optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example
flag alias Flag of Samoa.svg Image name (File:Flag of Samoa.svg, shown on right)

Flag variants

LabelFlag image (40px)Image name
colonialFlag of the Samoa Trust Territory.svgFlag of the Samoa Trust Territory.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
SAM (view) SAM Samoa

See What links here for a full list of redirects.

Example usage

  • {{flag|Samoa}} →  Samoa
  • {{flagicon|Samoa}} → Samoa
  • {{flagcountry|Samoa}} →  Samoa

Using a flag variant

  • {{flag|Samoa|colonial}} →  Samoa
  • {{flagicon|Samoa|colonial}} → Samoa

Using a redirect alias

  • {{flagicon|SAM}} → Samoa
  • {{flagcountry|SAM}} →  Samoa
  • {{flag|SAM}} →  SAM

Related templates

Please see the following related country_data templates:

  • Template:Country data Western Samoa Western Samoa

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 Samoa

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 Samoa. 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_Samoa&oldid=12048"
Categories:
  • Country data templates of countries
  • Country data templates of Samoa
  • Samoa templates
  • Templates using TemplateData
  • Country data templates with documentation subpage
  • All country data templates
  • Country data templates with distinct shortname
Last edited on 7 May 2020, at 12:20

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 7 May 2020, at 12:20.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop