Difference between revisions of "Template:Bd/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{bd|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<kbd><nowiki>{{bd|nation|variant|size=optional|name=optional}}</nowiki></kbd>
  
 
Produces a flag icon attached to a wikilinked national badminton team article.
 
Produces a flag icon attached to a wikilinked national badminton team article.
Line 11: Line 11:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{bd|Indonesia}}</nowiki></tt> → {{bd|Indonesia}}
+
*<kbd><nowiki>{{bd|Indonesia}}</nowiki></kbd> → {{bd|Indonesia}}
*<tt><nowiki>{{bd|CHN}}</nowiki></tt> → {{bd|CHN}}
+
*<kbd><nowiki>{{bd|CHN}}</nowiki></kbd> → {{bd|CHN}}
*<tt><nowiki>{{bd|Malaysia|1895|name=Malaya}}</nowiki></tt> → {{bd|Malaysia|1895|name=Malaya}}
+
*<kbd><nowiki>{{bd|Malaysia|1895|name=Malaya}}</nowiki></kbd> → {{bd|Malaysia|1895|name=Malaya}}
*<tt><nowiki>{{bd|BAN}}</nowiki></tt> → {{bd|BAN}}
+
*<kbd><nowiki>{{bd|BAN}}</nowiki></kbd> → {{bd|BAN}}
  
 
==See also==
 
==See also==

Revision as of 05:34, 5 August 2018

Description

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

Produces a flag icon attached to a wikilinked national badminton team article.

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

See also