開啟主選單

求真百科

變更

Template:Bd/doc

增加 1,317 位元組, 6 年前
無編輯摘要
{{documentation subpage}}
==Description==
<tt><nowiki>{{bd|nation|variant|size=optional|name=optional}}</nowiki></tt>

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 [[List of IOC country codes|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==
*<tt><nowiki>{{bd|Indonesia}}</nowiki></tt> → {{bd|Indonesia}}
*<tt><nowiki>{{bd|CHN}}</nowiki></tt> → {{bd|CHN}}
*<tt><nowiki>{{bd|Malaysia|1895|name=Malaya}}</nowiki></tt> → {{bd|Malaysia|1895|name=Malaya}}
*<tt><nowiki>{{bd|BAN}}</nowiki></tt> → {{bd|BAN}}

==See also==
*[[Template:bd-rt]] — for rendering the flag on the right
*[[Template:bd-big]] — for rendering a larger flag, with the team name underneath the flag
*[[:Category:National badminton teams]]

<includeonly>
[[Category:Badminton templates|{{PAGENAME}}]]
[[Category:Flag template system|{{PAGENAME}}]]

[[id:Templat:Bd]]
</includeonly>
匿名用戶