Difference between revisions of "Template:Infobox badminton player/doc"

From blackwiki
Jump to navigation Jump to search
imported>J JMesserly
(birth and death date syntax change)
(rv, no consensus for massive change across multiple infoboxes. nothing wrong with birth date template, and new template has unclear syntax.)
Line 10: Line 10:
 
| nickname                =  
 
| nickname                =  
 
| birth_name              =  
 
| birth_name              =  
| date_of_birth          = {{Birth-date and age| birth date }}
+
| date_of_birth          = {{birth date and age|YYYY|MM|DD}}
 
| place_of_birth          =  
 
| place_of_birth          =  
 
| date_of_death          =  
 
| date_of_death          =  

Revision as of 18:18, 14 March 2009

Syntax

{{Infobox Badminton player
| playername              = 
| image                   = 
| size                    = 
| caption                 = 
| nickname                = 
| birth_name              = 
| date_of_birth           = {{birth date and age|YYYY|MM|DD}}
| place_of_birth          = 
| date_of_death           = 
| place_of_death          = 
| height                  = {{height|ft=x|in=x}} or {{height|m=x}}
| weight                  = {{weight|lb=x}} or {{weight|kg=x}} 
| event                   = 
| country                 = 
| years_active            = 
| handedness              = 
| coach                   = 
| highest_ranking         = 
| date_of_highest_ranking = 
| current_ranking         = 
| date_of_current_ranking = 
| played                  = 
| titles                  = 
| bwf_id                  = 
}}


Example

{{Infobox Badminton player
| playername              = Lin Dan
| image                   = Lin Dan.jpg
| size                    = 200px (optional)
| caption                 = Caption
| nickname                = Super Dan
| birth_name              = (optional)
| date_of_birth           = {{birth date and age|1983|10|14}}
| place_of_birth          = [[Longyan]], [[Fujian]] province
| height                  = {{height|m=1.78}}
| weight                  = {{weight|kg=72}}
| event                   = Men's singles
| country                 = {{CHN}}
| years_active            = 1992–2004
| handedness              = left
| coach                   = Li Yongbo
| highest_ranking         = 1
| date_of_highest_ranking = February 26, 2004
| current_ranking         = 1
| date_of_current_ranking = March 8, 2007
| played                  = 37
| titles                  = 24
| bwf_id                  = 50906
}}

Notes

  • 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, bwf_id, played, titles must refer to Internationalbadminton.org

Microformat

Template:UF-hcard-person