Difference between revisions of "Template:Bk/doc"
Jump to navigation
Jump to search
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
|||
(13 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
==Description== | ==Description== | ||
− | + | {{tlx|bk|nation|variant|size=optional|name=optional}} | |
Produces a flag icon attached to a wikilinked national basketball team article. | Produces a flag icon attached to a wikilinked national basketball team article. | ||
Line 11: | Line 11: | ||
==Examples== | ==Examples== | ||
− | * | + | *{{tlx|bk|Argentina}} → {{bk|Argentina}} |
− | * | + | *{{tlx|bk|LTU}} → {{bk|LTU}} |
− | * | + | *{{tlx|bk|Spain|1945}} → {{bk|Spain|1945}} |
− | * | + | *{{tlx|bk|Yugoslavia|name=SFR Yugoslavia}} → {{bk|Yugoslavia|name=SFR Yugoslavia}} |
==See also== | ==See also== | ||
Line 20: | Line 20: | ||
*[[Template:bk-big]] — for rendering a larger flag, with the team name underneath the flag | *[[Template:bk-big]] — for rendering a larger flag, with the team name underneath the flag | ||
*[[Template:bkw]] — for women's national basketball teams | *[[Template:bkw]] — for women's national basketball teams | ||
+ | *[[Template:nbt]] — for prose links without the flag | ||
*[[:Category:National basketball teams]] | *[[:Category:National basketball teams]] | ||
− | <includeonly> | + | <includeonly>{{Sandbox other|| |
[[Category:Basketball templates|{{PAGENAME}}]] | [[Category:Basketball templates|{{PAGENAME}}]] | ||
[[Category:Flag template system|{{PAGENAME}}]] | [[Category:Flag template system|{{PAGENAME}}]] | ||
− | + | }}</includeonly> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | </includeonly> |
Latest revision as of 00:01, 24 April 2020
![]() | 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|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