Template:Country data Eswatini: Difference between revisions
meta>East718 m Protected Template:Country data Swaziland: high-risk template [edit=sysop:move=sysop] |
meta>East718 m pp |
||
Line 1: | Line 1: | ||
<noinclude>{{pp-template}}</noinclude> | |||
{{ {{{1<noinclude>|country showdata</noinclude>}}} | {{ {{{1<noinclude>|country showdata</noinclude>}}} | ||
| alias = Swaziland | | alias = Swaziland |
Revision as of 16:58, 12 December 2007
Template:Country data Eswatini is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as {{Flag}}, {{Flagicon}}
and others.
Standard parameters
Parameter name | Value | Meaning |
---|---|---|
alias |
Swaziland |
Main article name (Swaziland) |
flag alias |
Flag of Swaziland.svg |
Image name (File:Flag of Swaziland.svg, shown on right) |
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 |
---|---|---|
SWZ (view) | File:Flag of Swaziland.svg SWZ | File:Flag of Swaziland.svg Swaziland |
See What links here for a full list of redirects.
Example usage
{{Flag|Eswatini}}
→
File:Flag of Swaziland.svg Eswatini
{{Flagicon|Eswatini}}
→ Swaziland
Using a redirect alias
{{Flagicon|SWZ}}
→ Swaziland{{Flagcountry|SWZ}}
→
File:Flag of Swaziland.svg Swaziland
{{Flag|SWZ}}
→
File:Flag of Swaziland.svg SWZ
Other information
Rather than redirecting {{Country data Swaziland}} to {{Country data Eswatini}}, the former template transcludes the latter and passes through all parameters. The linked article will always be "Eswatini", but the displayed name is either "Swaziland" or "Eswatini" based on which of the two templates is used, even in templates that usually have a fixed default display name (such as {{flagcountry}} and {{fb}}). This allows for "Swaziland" to be used in historical contexts without having to also set |name=
.
Examples
Template | Eswatini output |
Swaziland output
|
---|---|---|
{{flag|SWZ}} |
File:Flag of Swaziland.svg Eswatini || File:Flag of Swaziland.svg Swaziland | |
{{flagcountry|SWZ}} |
File:Flag of Swaziland.svg Swaziland || File:Flag of Swaziland.svg Swaziland | |
{{flagicon|SWZ}} |
Swaziland | Swaziland |
{{fb|SWZ}} |
File:Flag of Swaziland.svg Swaziland || File:Flag of Swaziland.svg Swaziland |
TemplateData
TemplateData for Country data Eswatini
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.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |