Template:Country data Malaysia: Difference between revisions
meta>Andrwsc (remove unnecessary protection template already in Template:Country showdata using AWB) |
m (23 revisions imported) |
||
(9 intermediate revisions by 7 users not shown) | |||
Line 2: | Line 2: | ||
| alias = Malaysia | | alias = Malaysia | ||
| flag alias = Flag of Malaysia.svg | | flag alias = Flag of Malaysia.svg | ||
| flag alias-1895 = Flag of Federated Malay States. | | flag alias-1895 = Flag of the Federated Malay States (1895 - 1946).svg | ||
| flag alias-1948 = Flag of Malaya.svg | | flag alias-1948 = Flag of Malaya.svg | ||
| flag alias-naval = Naval Ensign of Malaysia.svg | | flag alias-naval = Naval Ensign of Malaysia.svg | ||
| link alias-naval = Royal Malaysian Navy | | link alias-naval = Royal Malaysian Navy | ||
| flag alias-air force = Royal Malaysian Air Force Flag.svg | |||
| link alias-air force = Royal Malaysian Air Force | |||
| flag alias-civil = Civil Ensign of Malaysia.svg | |||
| link alias-civil = Malaysia | |||
| flag alias-army = Flag of the Malaysian Army.svg | |||
| link alias-army = Malaysian Army | |||
| flag alias-military = Flag of the Malaysian Armed Forces.svg | |||
| link alias-military = Malaysian Armed Forces | |||
| size = {{{size|}}} | | size = {{{size|}}} | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
Line 13: | Line 21: | ||
| var1 = 1895 | | var1 = 1895 | ||
| var2 = 1948 | | var2 = 1948 | ||
| var3 = civil | |||
| redir1 = MYS | | redir1 = MYS | ||
| redir2 = MAS | | redir2 = MAS | ||
| related1 = Malaya | | related1 = Malaya | ||
| related2 = Malayan Union | |||
| related3 = Kingdom of Sarawak | |||
| related4 = North Borneo | |||
</noinclude> | </noinclude> | ||
}} | }} | ||
Latest revision as of 03:08, 3 September 2020
Template:Country data Malaysia
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 |
Malaysia
| Main article name (Malaysia) |
flag alias |
Flag of Malaysia.svg |
Image name (File:Flag of Malaysia.svg, shown on right) |
Flag variants
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
{{navy|Malaysia}}
→ Royal Malaysian Navy{{flagicon|Malaysia|naval}}
→
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Malaysia}}
→ Royal Malaysian Air Force{{flagicon|Malaysia|air force}}
→
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|Malaysia}}
→ Malaysian Armed Forces{{flagicon|Malaysia|military}}
→
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Malaysia}}
→ Malaysian Army{{flagicon|Malaysia|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 |
---|---|---|
MYS (view) | MYS | Malaysia |
MAS (view) | MAS | Malaysia |
See What links here for a full list of redirects.
Example usage
{{flag|Malaysia}}
→ Malaysia{{flagicon|Malaysia}}
→
Using a flag variant
{{flag|Malaysia|1895}}
→ Malaysia{{flagicon|Malaysia|1895}}
→
Using a redirect alias
Related templates
Please see the following related country_data
templates:
- Template:Country data Malaya Malaya
- Template:Country data Malayan Union Malayan Union
- Template:Country data Kingdom of Sarawak Kingdom of Sarawak
- Template:Country data North Borneo North Borneo
Other information
Country_data templates are also available for each of the thirteen states of Malaysia and the three federal territories:
TemplateData
TemplateData for Country data Malaysia
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 |