Difference between revisions of "Template:Bk-rt/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrwsc
(→‎Examples: replace deprecated flag template selector using AWB)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{bk-rt|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<kbd><nowiki>{{bk-rt|nation|variant|size=optional|name=optional}}</nowiki></kbd>
  
 
Produces a flag icon attached to a wikilinked national basketball team article. Similar to [[Template:Bk]], but puts the flag icon on the right side of the team name instead of to the left.  This is useful when formatting match results.
 
Produces a flag icon attached to a wikilinked national basketball team article. Similar to [[Template:Bk]], but puts the flag icon on the right side of the team name instead of to the left.  This is useful when formatting match results.
Line 12: Line 12:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{bk-rt|Argentina}}</nowiki></tt> → {{bk-rt|Argentina}}
+
*<kbd><nowiki>{{bk-rt|Argentina}}</nowiki></kbd> → {{bk-rt|Argentina}}
*<tt><nowiki>{{bk-rt|LTU}}</nowiki></tt> → {{bk-rt|LTU}}
+
*<kbd><nowiki>{{bk-rt|LTU}}</nowiki></kbd> → {{bk-rt|LTU}}
*<tt><nowiki>{{bk-rt|Spain|1945}}</nowiki></tt> → {{bk-rt|Spain|1945}}
+
*<kbd><nowiki>{{bk-rt|Spain|1945}}</nowiki></kbd> → {{bk-rt|Spain|1945}}
*<tt><nowiki>{{bk-rt|Yugoslavia|name=SFR Yugoslavia}}</nowiki></tt> → {{bk-rt|Yugoslavia|name=SFR Yugoslavia}}
+
*<kbd><nowiki>{{bk-rt|Yugoslavia|name=SFR Yugoslavia}}</nowiki></kbd> → {{bk-rt|Yugoslavia|name=SFR Yugoslavia}}
  
 
==See also==
 
==See also==
Line 23: Line 23:
 
*[[: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>
+
 
 +
[[ka:თარგი:Bk-rt]]
 +
}}</includeonly>

Latest revision as of 00:01, 24 April 2020

Description

{{bk-rt|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked national basketball team article. Similar to Template:Bk, but puts the flag icon on the right side of the team name instead of to the left. This is useful when formatting match results.

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

See also