Difference between revisions of "Template:Bk/doc"
Jump to navigation
Jump to search
imported>Wbm1058 (→Examples: +Philippines) |
imported>Wbm1058 (→Examples: debugging) |
||
| Line 12: | Line 12: | ||
==Examples== | ==Examples== | ||
*{{tlx|bk|Argentina}} → {{bk|Argentina}} | *{{tlx|bk|Argentina}} → {{bk|Argentina}} | ||
| − | *{{tlx|bk|LTU}} → {{ | + | *{{tlx|bk|LTU}} → {{country data LTU |
| − | *{{tlx|bk|Philippines}} → {{ | + | | flaglink/core |
| + | | variant = | ||
| + | | size = | ||
| + | | name = | ||
| + | | altlink = national basketball team | ||
| + | | altvar = basketball | ||
| + | }} | ||
| + | *{{tlx|bk|Philippines}} → {{country data Philippines | ||
| + | | flaglink/core | ||
| + | | variant = | ||
| + | | size = | ||
| + | | name = | ||
| + | | altlink = national basketball team | ||
| + | | altvar = basketball | ||
| + | }} | ||
*{{tlx|bk|Spain|1945}} → {{bk|Spain|1945}} | *{{tlx|bk|Spain|1945}} → {{bk|Spain|1945}} | ||
*{{tlx|bk|Yugoslavia|name=SFR Yugoslavia}} → {{bk|Yugoslavia|name=SFR Yugoslavia}} | *{{tlx|bk|Yugoslavia|name=SFR Yugoslavia}} → {{bk|Yugoslavia|name=SFR Yugoslavia}} | ||
Revision as of 14:00, 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