Difference between revisions of "Template:Country data Taiwan"
imported>S.A. Julio m (add param) |
|||
| (36 intermediate revisions by 16 users not shown) | |||
| Line 1: | Line 1: | ||
{{ {{{1<noinclude>|country showdata</noinclude>}}} | {{ {{{1<noinclude>|country showdata</noinclude>}}} | ||
| − | | alias | + | | alias = Taiwan |
| − | | | + | | flag alias = Flag of the Republic of China.svg |
| − | | | + | | flag alias-army = Flag of the Republic of China Army.svg |
| − | | flag alias | + | | link alias-army = Republic of China Army |
| − | | | + | | flag alias-air force = Flag of the Republic of China Air Force.svg |
| − | | flag | + | | link alias-air force = Republic of China Air Force |
| − | | | + | | link alias-naval = Republic of China Navy |
| + | | flag alias-civil = Civil Ensign of the Republic of China.svg | ||
| + | | flag alias-japan = Flag of Japan (1870-1999).svg | ||
| + | | link alias-japan = Taiwan under Japanese rule | ||
| + | | flag alias-navy=Naval Jack of the Republic of China.svg | ||
| + | | link alias-navy=Republic of China Navy | ||
| + | | flag alias-marines=Flag of the Republic of China Marine Corps.svg | ||
| + | | link alias-marines=Republic of China Marine Corps | ||
| + | | link alias-football = Chinese Taipei {{{mw|}}} national {{{age|}}} football {{{class|}}} team | ||
| + | | link alias-basketball = Chinese Taipei {{{mw|men's}}} national {{{age|}}} basketball team | ||
| + | | link alias-rugby union = Chinese Taipei {{{mw|}}} national {{{age|}}} rugby union team | ||
| size = {{{size|}}} | | size = {{{size|}}} | ||
| − | | name = {{{name|}}} | + | | name = {{#ifeq:{{{name|}}}|Republic of China|Taiwan|{{{name|}}}}} |
| + | | variant = {{{variant|}}} | ||
| + | | altlink = {{{altlink|}}} | ||
| + | | altvar = {{{altvar|}}} | ||
| + | <noinclude> | ||
| + | | redir1 = TWN | ||
| + | | var1 = civil | ||
| + | | var2 = japan | ||
| + | | related1 = Republic of China | ||
| + | | related2 = Chinese Taipei | ||
| + | </noinclude> | ||
}} | }} | ||
Latest revision as of 21:43, 7 March 2020
Template:Country data Taiwan 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. |
Contents
Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
alias |
Taiwan
| Main article name (Taiwan) |
flag alias |
Flag of the Republic of China.svg |
Image name (File:Flag of the Republic of China.svg, shown on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
civil | Civil Ensign of the Republic of China.svg | |
japan | Flag of Japan (1870-1999).svg | |
marines | Flag of the Republic of China Marine Corps.svg | |
navy | Naval Jack of the Republic of China.svg | |
air force | Flag of the Republic of China Air Force.svg | |
army | 40px | Flag of the Republic of China Army.svg |
Military ensigns
This nation's naval ensign is the same as its national flag, so Template:Navy produces the following:
{{navy|Taiwan}}→
Republic of China Navy
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Taiwan}}→
Republic of China Air Force{{flagicon|Taiwan|air force}}→
This template includes a marine ensign flag variant that can be used with Template:Marines:
{{marines|Taiwan}}→
Republic of China Marine Corps{{flagicon|Taiwan|marines}}→
This template includes a navy flag variant that can be used with Template:Naval:
{{naval|Taiwan}}→ Template:Naval{{flagicon|Taiwan|navy}}→
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Taiwan}}→ 23x17px Republic of China Army{{flagicon|Taiwan|army}}→ 23x15px
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 |
|---|---|---|
TWN (view) |
See What links here for a full list of redirects.
Example usage
{{flag|Taiwan}}→
Taiwan{{flagicon|Taiwan}}→
Using a flag variant
{{flag|Taiwan|civil}}→
Taiwan{{flagicon|Taiwan|civil}}→
Using a redirect alias
{{flagicon|TWN}}→
{{flagcountry|TWN}}→ File:Flag of the Republic of China.svg Taiwan{{flag|TWN}}→ File:Flag of the Republic of China.svg TWN
Related templates
Please see the following related country_data templates:
- Template:Country data Republic of ChinaFile:Flag of the Republic of China.svg Republic of China
- Template:Country data Chinese Taipei23x15px Chinese Taipei
TemplateData
TemplateData for Country data Taiwan
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 | ||||||
| This is the documentation for Template:Country data Taiwan. It is automatically generated by Template:Country showdata. Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please Script error: No such module "Purge". after making any changes to this template. Any categories should be added to the template's /doc subpage, which does not exist yet. |