Template:Country showdata/testcases
| 42px | This is the template test cases page for the sandbox of Template:Country showdata. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Testing sandbox version
Template:Country showdata/testcases is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.
| 40x40px | 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 |
undefined! | Main article name ([[{{{alias}}}]]) |
flag alias |
undefined! | Image name ([[:File:{{{flag alias}}}]], shown on right) |
Example usage
{{flag|Country showdata/testcases}}→ Template:Country data Country showdata/testcases{{flagicon|Country showdata/testcases}}→ Template:Country data Country showdata/testcasesTemplate:Namespace detect showall
TemplateData
TemplateData for Country showdata
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 showdata/testcases. It is automatically generated by Template:Country showdata. Editors can experiment in this template's sandbox (create | mirror) 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. |
Template:Country showdata/testcases is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.
| 40x40px | 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 |
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 | 40px | Civil Ensign of the Republic of China.svg |
japan | 40px | Flag of Japan (1870-1999).svg |
air force | 40px | 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|Country showdata/testcases}}→ Template:Country data Country showdata/testcases
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Country showdata/testcases}}→ Template:Country data Country showdata/testcases{{flagicon|Country showdata/testcases|air force}}→ Template:Country data Country showdata/testcasesTemplate:Namespace detect showall
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Country showdata/testcases}}→ Template:Country data Country showdata/testcases{{flagicon|Country showdata/testcases|army}}→ Template:Country data Country showdata/testcasesTemplate:Namespace detect showall
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) | 23x15px TWN | 23x15px Taiwan |
See What links here for a full list of redirects.
Example usage
{{flag|Country showdata/testcases}}→ Template:Country data Country showdata/testcases{{flagicon|Country showdata/testcases}}→ Template:Country data Country showdata/testcasesTemplate:Namespace detect showall
Using a flag variant
{{flag|Country showdata/testcases|civil}}→ Template:Country data Country showdata/testcases{{flagicon|Country showdata/testcases|civil}}→ Template:Country data Country showdata/testcasesTemplate:Namespace detect showall
Using a redirect alias
Related templates
Please see the following related country_data templates:
- Template:Country data Republic of China23x15px Republic of China
- Template:Country data Chinese Taipei23x15px Chinese Taipei
TemplateData
TemplateData for Country showdata
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 showdata/testcases. It is automatically generated by Template:Country showdata. Editors can experiment in this template's sandbox (create | mirror) 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. |
Testing main template
{{Country_showdata}}
Template:Country showdata/testcases is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.
| 40x40px | 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 |
undefined! | Main article name ([[{{{alias}}}]]) |
flag alias |
undefined! | Image name ([[:File:{{{flag alias}}}]], shown on right) |
Example usage
{{flag|Country showdata/testcases}}→ Template:Country data Country showdata/testcases{{flagicon|Country showdata/testcases}}→ Template:Country data Country showdata/testcasesTemplate:Namespace detect showall
TemplateData
TemplateData for Country showdata
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 showdata/testcases. It is automatically generated by Template:Country showdata. Editors can experiment in this template's sandbox (create | mirror) 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. |