Ehsan Danish


Standard parameters
Parameter name | Value | Meaning |
---|---|---|
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
Label | Flag image (40px) | Image name |
---|---|---|
colonial | ![]() | Flag of the Samoa Trust Territory.svg |
Redirect aliases
Alias name | {{flag|alias}} output | {{flag country|alias}} output |
---|---|---|
SAM (view) | ![]() | ![]() |
See What links here for a full list of redirects.
Example usage
Using a flag variant
{{flag|Samoa|colonial}}
→Samoa
{{flag icon|Samoa|colonial}}
→
Using a redirect alias
Related templates
Please see the following related country_data
templates:
Other information
Rather than redirecting {{Country data Western Samoa}} to {{Country data Samoa}}, the former template transcludes the latter and passes through all parameters. The linked article will always be "Samoa", but the displayed name is either "Western Samoa" or "Samoa" based on which of the two templates is used, even in templates that usually have a fixed default display name (such as {{flag country}} and {{fb}}). This allows for "Western Samoa" to be used in historical contexts without having to also set |name=
. The variants from {{Country data Samoa}} can be used with both templates.
Examples
Template | Samoa output |
Western Samoa output
|
---|---|---|
{{flag|SAM}} |
![]() |
![]() |
{{flag|SAM|colonial}} |
![]() |
![]() |
{{flag country|SAM}} |
![]() |
![]() |
{{flag icon|SAM}} |
![]() |
![]() |
{{bk|SAM}} |
![]() |
![]() |
{{fb|SAM}} |
![]() |
![]() |
Redirects to Template:Country data Samoa
Redirects to Template:Country data Western Samoa
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:Flag icon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |