Template:Bd/doc
Jump to navigation
Jump to search
| icon | This is a documentation subpage for Template:Bd. It may contain usage information, categories and other content that is not part of the original template page. |
Description
[edit source]{{bd|nation|variant}}
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
[edit source]- {{bd|Indonesia}} → File:Flag of Indonesia.svg Indonesia
- {{bd|CHN}} → File:Flag of the People's Republic of China.svg China
- {{bd|Malaysia|1895|name=Malaya}} → File:Flag of the Federated Malay States (1895 - 1946).svg Malaya
- {{bd|BAN}} → File:Flag of Bangladesh.svg Bangladesh
See also
[edit source]- 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
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Country name | 1 | Use either the name of the nation or the three-letter country code as used by the IOC
| String | required |
| Flag variant | variant 2 | Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
| String | optional |
| size | size | no description | String | optional |
| Name of country to display | name | no description | String | optional |