Template:Country data Singapore: Difference between revisions
(use AWB to add navy variant) |
m (1 revision imported) |
(No difference)
| |
Latest revision as of 15:23, 3 October 2022
| This template is used on approximately 24,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. |
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. |
| 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. |
Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
alias |
Singapore
| Main article name (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 | State Marine Ensign of Singapore.svg | |
colonial | 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 | File:Civil Ensign of Singapore.svg | 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 | File:SingaporeArmyinfoboxflag.png | SingaporeArmyinfoboxflag.png |
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) | Template:Country data SGP | Template:Country data SGP |
SIN (view) | Template:Country data SIN | Template:Country data SIN |
See What links here for a full list of redirects.
Example usage
{{flag|Singapore}}→ File:Flag of Singapore.svg Singapore{{flagicon|Singapore}}→ File:Flag of Singapore.svg
Using a flag variant
{{flag|Singapore|state}}→ File:State Marine Ensign of Singapore.svg Singapore{{flagicon|Singapore|state}}→ File:State Marine Ensign of Singapore.svg
Using a redirect alias
{{flagicon|SGP}}→ Template:Country data SGP{{flagcountry|SGP}}→ Template:Country data SGP{{flag|SGP}}→ Template:Country data SGP
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Singapore}}→ File:Naval Ensign of Singapore.svg Republic of Singapore Navy{{flagicon|Singapore|naval}}→ File:Naval Ensign of Singapore.svg
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}}→ File:RSAFinfoboxflag.png
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}}→ File:SAFinfoboxflag.png
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Singapore}}→ File:Naval Ensign of Singapore.svg Republic of Singapore Navy{{flagicon|Singapore|navy}}→ File:Naval Ensign of Singapore.svg
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Singapore}}→ File:SingaporeArmyinfoboxflag.png Singapore Army{{flagicon|Singapore|army}}→ File:SingaporeArmyinfoboxflag.png
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
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 | ||||||
[[Category:Template documentation pages{{#translation:}}]]