Template:Country data Malaysia: Difference between revisions
meta>Andrwsc add support for Template:Air force |
m 23 revisions imported |
||
| (8 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 | ||
| Line 8: | Line 8: | ||
| flag alias-air force = Royal Malaysian Air Force Flag.svg | | flag alias-air force = Royal Malaysian Air Force Flag.svg | ||
| link alias-air force = Royal Malaysian Air Force | | 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 15: | 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.

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) | ||
MAS (view) |
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 | ||||||