Template:Country data Singapore: Difference between revisions
meta>Andrwsc add altlink parameter (will supercede "sport") using AWB |
Update alias with interwiki link to English Wikipedia |
||
| (26 intermediate revisions by 10 users not shown) | |||
| Line 1: | Line 1: | ||
{{ {{{1<noinclude>|country showdata</noinclude>}}} | {{{{{1<noinclude>|country showdata</noinclude>}}} | ||
| alias | | alias = wikipedia:Singapore | ||
| | | flag alias = Flag of Singapore.svg | ||
| flag alias = Flag of Singapore.svg | | flag alias-state = State Marine Ensign of Singapore.svg | ||
| | | flag alias-colonial = Flag of Singapore in the Straits Settlements.svg | ||
| size = {{{size|}}} | | flag alias-colonial-1946 = Flag of Singapore (1946–1952).svg | ||
| name = {{{name|}}} | | flag alias-colonial-1952 = Flag of Singapore (1952–1959).svg | ||
| | | flag alias-civil = Civil Ensign of Singapore.svg | ||
| flag alias-military = SAFinfoboxflag.png | |||
| link alias-military = Singapore Armed Forces | |||
| flag alias-army = SingaporeArmyinfoboxflag.png | |||
| link alias-army = Singapore Army | |||
| flag alias-naval = Naval Ensign of Singapore.svg | |||
| link alias-naval = Republic of Singapore Navy | |||
| flag alias-air force = RSAFinfoboxflag.png | |||
| link alias-air force = Republic of Singapore Air Force | |||
| flag alias-navy = Naval Ensign of Singapore.svg | |||
| link alias-navy = Republic of Singapore Navy | |||
| size = {{{size|}}} | |||
| name = {{{name|}}} | |||
| altlink = {{{altlink|}}} | |||
| variant = {{{variant|}}}<noinclude> | |||
| var1 = state | |||
| var2 = colonial | |||
| var3 = colonial-1946 | |||
| var4 = colonial-1952 | |||
| var5 = civil | |||
| redir1 = SGP | |||
| redir2 = SIN | |||
| related1 = British Singapore | |||
| related2 = Colony of Singapore</noinclude> | |||
}} | }} | ||
Latest revision as of 06:50, 31 December 2025
Template:Country data Singapore 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 |
wikipedia:Singapore |
Main article name (wikipedia:Singapore) |
flag alias |
Flag of Singapore.svg |
Image name (File:Flag of Singapore.svg, shown on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
state | File:State Marine Ensign of Singapore.svg | State Marine Ensign of Singapore.svg |
colonial | File:Flag of Singapore in the Straits Settlements.svg | Flag of Singapore in the Straits Settlements.svg |
colonial-1946 | File:Flag of Singapore (1946–1952).svg | Flag of Singapore (1946–1952).svg |
colonial-1952 | File:Flag of Singapore (1952–1959).svg | Flag of Singapore (1952–1959).svg |
civil | Civil Ensign of Singapore.svg | |
naval | Naval Ensign of Singapore.svg | |
military | File:SAFinfoboxflag.png | SAFinfoboxflag.png |
navy | Naval Ensign of Singapore.svg | |
air force | File:RSAFinfoboxflag.png | RSAFinfoboxflag.png |
army | SingaporeArmyinfoboxflag.png |
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
{{Navy|Singapore}}→
Republic of Singapore Navy{{Flagicon|Singapore|naval}}→
This template includes an air force ensign flag variant that can be used with Template:Air force:{{Air force|Singapore}}→ File:RSAFinfoboxflag.png Republic of Singapore Air Force{{Flagicon|Singapore|air force}}→ wikipedia:Singapore
This template includes a marine ensign flag variant that can be used with Template:Armed forces:{{Armed forces|Singapore}}→ File:SAFinfoboxflag.png Singapore Armed Forces{{Flagicon|Singapore|military}}→ wikipedia:Singapore
This template includes a navy flag variant that can be used with Template:Naval:{{Naval|Singapore}}→
Republic of Singapore Navy{{Flagicon|Singapore|navy}}→
This template includes an army ensign flag variant that can be used with Template:Army:{{Army|Singapore}}→
Singapore Army{{Flagicon|Singapore|army}}→
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 |
|---|---|---|
SGP (view) | ||
SIN (view) |
See What links here for a full list of redirects.
Example usage
{{Flag|Singapore}}→
Singapore{{Flagicon|Singapore}}→
Using a flag variant
{{Flag|Singapore|state}}→ Flag of Singapore Singapore{{Flagicon|Singapore|state}}→ wikipedia:Singapore
Using a redirect alias
{{Flagicon|SGP}}→
{{Flagcountry|SGP}}→
wikipedia:Singapore{{Flag|SGP}}→
SGP
Related templates
Please see the following related country_data templates:
- Template:Country data British SingaporeTemplate:Country data British Singapore
- Template:Country data Colony of SingaporeTemplate:Country data Colony of Singapore
Other information
ps:کينډۍ:د هېواد مالومات سېنګاپور tpi:Template:Country data Singapore zh-yue:Template:Country data Singapore
TemplateData
TemplateData for Country data Singapore
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 | ||||||