Template:Infobox badminton player/sandbox
This is the template sandbox page for Template:Infobox badminton player (diff). See also the companion subpage for test cases. |
This template is used on approximately 3,400 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
- image (P18) (see uses)
Usage
[edit]{{{name}}} | |||
---|---|---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]] | |||
Personal information | |||
Nickname(s) | {{{nickname}}} | ||
Birth name | {{{birth_name}}} | ||
Country | {{{country}}} | ||
Born | {{{birth_date}}} {{{birth_place}}} | ||
Died | {{{death_date}}} {{{death_place}}} | ||
Residence | {{{residence}}} | ||
Height | {{{height}}} | ||
Weight | {{{weight}}} | ||
Years active | {{{years_active}}} | ||
Retired | {{{retired}}} | ||
Handedness | {{{handedness}}} | ||
Coach | {{{coach}}} | ||
{{{event}}} | |||
Career record | {{{career_record}}} | ||
Career title(s) | {{{titles}}} | ||
Tournaments played | {{{played}}} | ||
Highest ranking | {{{highest_ranking}}} ({{{highest_ranking_date}}}) | ||
Current ranking | {{{current_ranking}}} ({{{current_ranking_date}}}) | ||
Medal record
| |||
BWF profile | |||
{{{module}}} | |||
Updated on {{{updated}}}. |
{{Infobox badminton player
| name =
| image =
| image_size =
| alt =
| caption =
| nickname =
| full_name = <!-- if different -->
| birth_name = <!-- if different -->
| country =
| birth_date = <!-- {{birth date and age|YYYY|MM|DD}} -->
| birth_place =
| death_date =
| death_place =
| residence =
| height = <!-- "X cm" or "X ft Y in" (automatic conversion) -->
| weight = <!-- "X kg" or "X lb" (automatic conversion) -->
| spouse =
| years_active =
| retired =
| handedness =
| coach =
| event =
| career_record =
| titles =
| played =
| highest_ranking =
| highest_ranking_date =
| current_ranking =
| current_ranking_date =
| honours =
| medals =
| bwf_id =
| updated =
| module =
}}
Example
[edit]{{Infobox badminton player
| name = Lin Dan
| image = Lin Dan.jpg
| image_size = 200px
| alt =
| caption = Lin at [[Golden Bauhinia Square]], Hong Kong, 2008
| nickname = ''Super Dan''
| birth_name =
| country = China
| birth_date = {{birth date and age|mf=yes|1983|10|14}}
| birth_place = [[Longyan]], [[Fujian]], China
| residence =
| height = 178 cm
| weight = 70 kg
| years_active =
| retired =
| handedness = Left
| coach =
| event = Men's singles
| career_record =
| titles = 51
| played =
| highest_ranking = 1
| highest_ranking_date = February 2004
| current_ranking = 98
| current_ranking_date = September 26, 2013
| medals =
{{MedalSport | Men's [[badminton]] }}
{{MedalCountry | {{CHN}} }}
{{MedalCompetition | [[Badminton at the Summer Olympics|Olympic Games]] }}
{{MedalGold | [[Badminton at the 2012 Summer Olympics|2012 London]] | [[Badminton at the 2012 Summer Olympics – Men's singles|Men's singles]] }}
{{MedalGold | [[Badminton at the 2008 Summer Olympics|2008 Beijing]] | [[Badminton at the 2008 Summer Olympics – Men's singles|Men's singles]] }}
{{MedalCompetition | [[BWF World Championships|World Championships]] }}
{{MedalGold | [[2013 BWF World Championships|2013 Guangzhou]] | [[2013 BWF World Championships – Men's singles|Men's singles]] }}
{{MedalGold | [[2011 BWF World Championships|2011 London]] | [[2011 BWF World Championships – Men's singles|Men's singles]] }}
{{MedalGold | [[2009 BWF World Championships|2009 Hyderabad]] | [[2009 BWF World Championships – Men's singles|Men's singles]] }}
{{MedalGold | [[2007 BWF World Championships|2007 Kuala Lumpur]] | [[2007 BWF World Championships – Men's singles|Men's singles]] }}
{{MedalGold | [[2006 IBF World Championships|2006 Madrid]] | [[2006 IBF World Championships – Men's singles|Men's singles]] }}
{{MedalSilver | [[2005 IBF World Championships|2005 Anaheim]] | [[2005 IBF World Championships – Men's singles|Men's singles]] }}
{{MedalCompetition | [[Badminton World Cup|World Cup]] }}
{{MedalGold | 2006 Yiyang | Men's singles }}
{{MedalGold | 2005 Yiyang | Men's singles }}
{{MedalCompetition | [[Badminton Asia Championships|Asian Championships]] }}
{{MedalGold | [[2011 Badminton Asia Championships|2011 Chengdu]] | Men's singles }}
{{MedalGold | [[2010 Badminton Asia Championships|2010 New Delhi]] | Men's singles }}
{{MedalSilver | [[2001 Asian Badminton Championships|2001 Manila]] | Men's singles }}
{{MedalBronze | [[2012 Badminton Asia Championships|2012 Qingdao]] | Men's singles }}
{{MedalBronze | [[2008 Badminton Asia Championships|2008 Johor Bahru]] | Men's singles }}
{{MedalCompetition | [[Thomas Cup]] }}
{{MedalGold | [[2012 Thomas & Uber Cup|2012 Wuhan]] | Team }}
{{MedalGold | [[2010 Thomas & Uber Cup|2010 Kuala Lumpur]] | Team }}
{{MedalGold | [[2008 Thomas & Uber Cup|2008 Jakarta]] | Team }}
{{MedalGold | [[2006 Thomas & Uber Cup|2006 Tokyo]] | Team }}
{{MedalGold | [[2004 Thomas & Uber Cup|2004 Jakarta]] | Team }}
{{MedalBronze | [[2002 Thomas & Uber Cup|2002 Guangzhou]] | Team }}
{{MedalCompetition | [[Sudirman Cup]] }}
{{MedalGold | [[2011 Sudirman Cup|2011 Qingdao]] | Team }}
{{MedalGold | [[2009 Sudirman Cup|2009 Guangzhou]] | Team }}
{{MedalGold | [[2007 Sudirman Cup|2007 Glasgow]] | Team }}
{{MedalGold | [[2005 Sudirman Cup|2005 Beijing]] | Team }}
{{MedalCompetition | [[Badminton at the Asian Games|Asian Games]] }}
{{MedalGold | [[Badminton at the 2010 Asian Games|2010 Guangzhou]] | [[Badminton at the 2010 Asian Games – Men's singles|Men's singles]] }}
{{MedalGold | [[Badminton at the 2010 Asian Games|2010 Guangzhou]] | [[Badminton at the 2010 Asian Games – Men's team|Men's team]] }}
{{MedalGold | [[Badminton at the 2006 Asian Games|2006 Doha]] | [[Badminton at the 2006 Asian Games – Men's team|Men's team]] }}
{{MedalSilver | [[Badminton at the 2006 Asian Games|2006 Doha]] | [[Badminton at the 2006 Asian Games – Men's singles|Men's singles]] }}
{{MedalBronze | [[Badminton at the 2002 Asian Games|2002 Busan]] | [[Badminton at the 2002 Asian Games – Men's team|Men's team]] }}
{{MedalCompetition | [[Badminton at the East Asian Games|East Asian Games]] }}
{{MedalGold | [[2009 East Asian Games|2009 Hong Kong]] | Men's team }}
{{MedalSilver | [[2009 East Asian Games|2009 Hong Kong]] | Men's singles }}
{{MedalCompetition | [[BWF World Junior Championships|World Junior Championships]] }}
{{MedalGold | [[2000 IBF World Junior Championships|2000 Guangzhou]] | Mixed team }}
{{MedalBronze | [[2000 IBF World Junior Championships|2000 Guangzhou]] | Boys' singles }}
{{MedalCompetition | [[Asian Junior Badminton Championships|Asian Junior Championships]] }}
{{MedalGold | 2000 | Boys' singles }}
{{MedalGold | 2000 | Men's team }}
| bwf_id = 296B69A5-3C25-4E3D-964E-DDFA46A1333A
| updated =
}}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description | Unknown | optional |
image | image | no description | Unknown | optional |
image_size | image_size | no description | Unknown | optional |
size | size | no description | Unknown | optional |
alt | alt | no description | Unknown | optional |
caption | caption | no description | Unknown | optional |
nickname | nickname | no description | Unknown | optional |
full_name | full_name | no description | Unknown | optional |
birth_name | birth_name | no description | Unknown | optional |
country | country | no description | Unknown | optional |
birth_date | birth_date | no description | Unknown | optional |
birth_place | birth_place | no description | Unknown | optional |
death_date | death_date | no description | Unknown | optional |
death_place | death_place | no description | Unknown | optional |
residence | residence | no description | Unknown | optional |
height | height | no description | Unknown | optional |
weight | weight | no description | Unknown | optional |
years_active | years_active | no description | Unknown | optional |
retired | retired | no description | Unknown | optional |
handedness | handedness | no description | Unknown | optional |
coach | coach | no description | Unknown | optional |
career_record | career_record | no description | Unknown | optional |
titles | titles | no description | Unknown | optional |
played | played | no description | Unknown | optional |
highest_ranking | highest_ranking | no description | Unknown | optional |
date_of_highest_ranking | date_of_highest_ranking | no description | Unknown | optional |
highest_ranking_date | highest_ranking_date | no description | Unknown | optional |
current_ranking | current_ranking | no description | Unknown | optional |
date_of_current_ranking | date_of_current_ranking | no description | Unknown | optional |
current_ranking_date | current_ranking_date | no description | Unknown | optional |
event | event | no description | Unknown | optional |
medals | medals | no description | Unknown | optional |
medaltemplates | medaltemplates | no description | Unknown | optional |
medal_templates | medal_templates | no description | Unknown | optional |
medals-expand | medals-expand | no description | Unknown | optional |
show-medals | show-medals | no description | Unknown | optional |
medals-title | medals-title | no description | Unknown | optional |
bwf_id | bwf_id | no description | Unknown | optional |
bwfpara_id | bwfpara_id | no description | Unknown | optional |
module | module | no description | Unknown | optional |
updated | updated | no description | Unknown | optional |
Notes
[edit]- All fields are optional, so some of the field can be omitted if necessary.
- The default value of image size is 180px, alteration of the value can be make in size.
- highest_ranking, current_ranking, played, titles must refer to bwfbadminton.com (formerly bwfbadminton.org)
- bwf_id creates link to player profile at bwf.tournamentsoftware.com
- bwfpara_id creates link to player profile at bwfpara.tournamentsoftware.com
- When filling in the updated parameter, use
{{subst:Date}}
or{{subst:Date|2=mdy}}
.
Microformat
[edit]The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
[edit]Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.
To include a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
[edit]hCard uses HTML classes including:
- adr
- agent
- bday
- birthplace
- category
- country-name
- deathdate
- deathplace
- extended-address
- family-name
- fn (required)
- given-name
- honorific-prefix
- honorific-suffix
- label
- locality
- n
- nickname
- note
- org
- role
- url
- vcard
Please do not rename or remove these classes nor collapse nested elements which use them.
Tracking categories
[edit]See also
[edit]- Supporting modules and templates
- Module:Infobox via Template:Infobox
- Module:InfoboxImage
- Module:Separated entries via Template:Br separated entries
- Template:Infobox medal templates
- Module:Check for unknown parameters
- Template:Main other
- Similar templates