Template:Country data Chinese Taipei: Difference between revisions

From Hattrick
Jump to navigationJump to search
Jhattara (talk | contribs)
Created page with '{{#if: {{{country flag}}} | {{country flag|link={{#if: {{{name}}} | | {{{link|}}} }}|file=Flag Chinese Taipei.png|border=border|alt=Chinese Taipei|size={{{size|}}}}} | }} {{#if…'
 
Para Para (talk | contribs)
as optional: full size flag, logo flags, alt name
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#if: {{{country flag}}} |
{{ {{{1<noinclude>|country showdata</noinclude>}}}
  {{country flag|link={{#if: {{{name}}} | | {{{link|}}} }}|file=Flag Chinese Taipei.png|border=border|alt=Chinese Taipei|size={{{size|}}}}} |
| name      = Chinese Taipei
}} {{#if: {{{name}}} |
| alias      = Taiwan
  [[Chinese Taipei]] |
| flag alias = Flag Chinese Taipei.png
}}<noinclude>
| flag full  = Chinese Taipei for Olympic games.png
{{documentation|docpage=Template:Country data/doc}}
| flag logo  = Country data Taiwan.PNG
{{DEFAULTSORT:Chinese Taipei}}
| size       = {{{size|}}}
| altlink    = {{{name}}}
<noinclude>
| redir1    = TPE
| redir2    = Taiwan
</noinclude>
}}<noinclude>{{DEFAULTSORT:Chinese Taipei}}
[[Category:Country data templates]]
[[Category:Country data templates]]
</noinclude>
</noinclude>

Latest revision as of 23:15, 26 January 2020

[edit] Template documentation

Template:Country data Chinese Taipei is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.

Icon
Full size flag of Taiwan (alternative)
Country logo

Standard parameters

Parameter nameValueMeaningLink
name Chinese Taipei Main article name (Chinese Taipei)
aliasTaiwanEnglish name-
flag alias Flag Chinese Taipei.png Flag icon(File:Flag Chinese Taipei.png)
flag fullChinese Taipei for Olympic games.pngFull size flag(File:Chinese Taipei for Olympic games.png)
flag logoCountry data Taiwan.PNG"Ball" logo flag(File:Country data Taiwan.PNG)

Example usage

* {{flag|Taiwan}} Chinese Taipei
* {{flaglink|Taiwan}}Taiwan
* {{flagicon|Taiwan}}Taiwan
* {{flagfull|Taiwan|showlink}}
Chinese Taipei
* {{flaglogo|Taiwan|size=x60px}}

Redirect

This template can also be used via an alternative name (up to 5 and implemented as a redirect to this template):
Alternative name{{flag|alias}} output{{flaglink|alias}} output
TPE (view) Chinese TaipeiTaiwan
Taiwan (view) Chinese TaipeiTaiwan

Using a redirect alias

  • {{flagicon|TPE}}Taiwan
  • {{flaglink|TPE}}Taiwan
  • {{flag|TPE}} Chinese Taipei


This is the documentation for Template:Country data Chinese Taipei. It is automatically generated by Template:Country showdata.
Please purge the cache after making any changes to this template.