Difference between revisions of "Template:Bk/doc"
Jump to navigation
Jump to search
imported>Wbm1058 (→Examples: debugging) |
imported>Wbm1058 (→Examples: ...more debugging) |
||
| Line 12: | Line 12: | ||
==Examples== | ==Examples== | ||
*{{tlx|bk|Argentina}} → {{bk|Argentina}} | *{{tlx|bk|Argentina}} → {{bk|Argentina}} | ||
| − | *{{tlx|bk|LTU}} → {{ | + | *{{tlx|bk|LTU}} → {{ flaglink/core |
| − | + | ||
| − | | | + | | alias = Lithuania |
| + | | flag alias = Flag of Lithuania.svg | ||
| + | | flag alias-1918 = Flag of Lithuania 1918-1940.svg | ||
| + | | flag alias-1988 = Flag of Lithuania (1988-2004).svg | ||
| + | | flag alias-naval = Naval Ensign of Lithuania.svg | ||
| + | | link alias-naval = Lithuanian Naval Force | ||
| + | | link alias-basketball = Lithuania men's national basketball team | ||
| + | | flag alias-army = Flag of the Lithuanian Army.svg | ||
| + | | link alias-army = Lithuanian Land Force | ||
| + | | flag alias-air force=Flag of the Lithuanian Air Force.png | ||
| + | | link alias-air force=Lithuanian Air Force | ||
| size = | | size = | ||
| name = | | name = | ||
| altlink = national basketball team | | altlink = national basketball team | ||
| altvar = basketball | | altvar = basketball | ||
| + | | variant = | ||
| + | |||
}} | }} | ||
| − | *{{tlx|bk|Philippines}} → {{ | + | *{{tlx|bk|Philippines}} → {{ flaglink/core |
| − | | | + | |
| − | | | + | | alias = Philippines |
| + | | flag alias = Flag of the Philippines.svg | ||
| + | | flag alias-1535 = Flag_of_Cross_of_Burgundy.svg | ||
| + | | flag alias-1821 = Flag of Spain (1785-1873 and 1875-1931).svg | ||
| + | | flag alias-1873 = Flag of the First Spanish Republic.svg | ||
| + | | flag alias-1875 = Flag of Spain (1785-1873 and 1875-1931).svg | ||
| + | | flag alias-aguinaldo = Philippines Flag Original.svg | ||
| + | | flag alias-1898 = Flag of the United States (1896-1908).svg | ||
| + | | flag alias-1908 = US flag 46 stars.svg | ||
| + | | flag alias-1912 = US flag 48 stars.svg | ||
| + | | flag alias-1919 = Flag of the Philippines (1919-1936).svg | ||
| + | | flag alias-1936 = Flag of the Philippines (navy blue).svg | ||
| + | | flag alias-1985 = Flag of the Philippines (light blue).svg | ||
| + | | flag alias-1986 = Flag of the Philippines (navy blue).svg | ||
| + | | flag alias-air force = Flag of the Philippine Air Force.png | ||
| + | | link alias-air force = Philippine Air Force | ||
| + | | flag alias-army=Flag of the Philippine Army.png | ||
| + | | link alias-army = Philippine Army | ||
| + | | link alias-naval = Philippine Navy | ||
| + | | flag alias-basketball = Philippines | ||
| + | | link alias-basketball = Philippines men's national basketball team | ||
| size = | | size = | ||
| name = | | name = | ||
| altlink = national basketball team | | altlink = national basketball team | ||
| − | | | + | | variant = |
| + | |||
}} | }} | ||
*{{tlx|bk|Spain|1945}} → {{bk|Spain|1945}} | *{{tlx|bk|Spain|1945}} → {{bk|Spain|1945}} | ||
Revision as of 14:02, 31 May 2017
| This is a documentation subpage for Template:Bk. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{bk|nation|variant}}
Produces a flag icon attached to a wikilinked national basketball team article.
- Parameters
- nation — Use either the name of the nation or the three-letter country code as used by FIBA
- variant (optional) — Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
- size (optional) — Can be used to change the flag icon size (use sparingly!)
- name (optional) — Can be used to change the wikilink display text
Examples
{{bk|Argentina}}→
Argentina{{bk|LTU}}→
Lithuania{{bk|Philippines}}→
Philippines{{bk|Spain|1945}}→
Spain{{bk|Yugoslavia}}→
SFR Yugoslavia
See also
- Template:bk-rt — for rendering the flag on the right
- Template:bk-big — for rendering a larger flag, with the team name underneath the flag
- Template:bkw — for women's national basketball teams
- Template:nbt — for prose links without the flag
- Category:National basketball teams