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

From blackwiki
Jump to navigation Jump to search
imported>Andrwsc
(created)
 
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{bd-rt|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<kbd><nowiki>{{bd-rt|nation|variant|size=optional|name=optional}}</nowiki></kbd>
  
 
Produces a flag icon attached to a wikilinked national badminton team article. Similar to [[Template:Bd]], 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 badminton team article. Similar to [[Template:Bd]], 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 11: Line 11:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{bd-rt|Indonesia}}</nowiki></tt> → {{bd-rt|Indonesia}}
+
*<kbd><nowiki>{{bd-rt|Indonesia}}</nowiki></kbd> → {{bd-rt|Indonesia}}
*<tt><nowiki>{{bd-rt|CHN}}</nowiki></tt> → {{bd-rt|CHN}}
+
*<kbd><nowiki>{{bd-rt|CHN}}</nowiki></kbd> → {{bd-rt|CHN}}
*<tt><nowiki>{{bd-rt|Malaysia|1895|name=Malaya}}</nowiki></tt> → {{bd-rt|Malaysia|1895|name=Malaya}}
+
*<kbd><nowiki>{{bd-rt|Malaysia|1895|name=Malaya}}</nowiki></kbd> → {{bd-rt|Malaysia|1895|name=Malaya}}
  
 
==See also==
 
==See also==
Line 20: Line 20:
 
*[[:Category:National badminton teams]]
 
*[[:Category:National badminton teams]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Badminton templates|{{PAGENAME}}]]
 
[[Category:Badminton templates|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 23:46, 23 April 2020

Description

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

Produces a flag icon attached to a wikilinked national badminton team article. Similar to Template:Bd, 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 the IOC, for example
  • 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

  • {{bd-rt|Indonesia}}Indonesia 
  • {{bd-rt|CHN}}China 
  • {{bd-rt|Malaysia|1895|name=Malaya}}Malaya 

See also