Template:Country showdata/testcases

From blackwiki
< Template:Country showdata
Revision as of 18:11, 6 November 2016 by imported>GPHemsley (Add test for link alias.)
Jump to navigation Jump to search


Testing sandbox version

{{Country_showdata/sandbox}}


50px Template documentation

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.

Standard parameters

Parameter nameValueMeaning
alias undefined! Main article name ([[{{{alias}}}]])
flag alias undefined! Image name ([[:File:{{{flag alias}}}]], shown on right)


Example usage



TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified



50px Template documentation

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.

Standard parameters

Parameter nameValueMeaning
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

LabelFlag image (40px)Image name
civil40pxCivil Ensign of the Republic of China.svg
japan40pxFlag of Japan (1870-1999).svg
air force40pxFlag of the Republic of China Air Force.svg
army40pxFlag 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:

This template includes an air force ensign flag variant that can be used with Template:Air force:



This template includes an army ensign flag variant that can be used with Template: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
TWN (view)23x15px TWN23x15px Taiwan

See What links here for a full list of redirects.

Example usage

Using a flag variant

Using a redirect alias

Related templates

Please see the following related country_data templates:


TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified



Testing main template

{{Country_showdata}}


50px Template documentation

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.

Standard parameters

Parameter nameValueMeaning
alias undefined! Main article name ([[{{{alias}}}]])
flag alias undefined! Image name ([[:File:{{{flag alias}}}]], shown on right)


Example usage



TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified