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

From blackwiki
Jump to navigation Jump to search
imported>J JMesserly
(Article text unchanged- fixing error with death-year (assisted manual edit))
(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:23, 14 March 2009

Syntax

{{Infobox Squash 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          = 
| based_at                =
| height                  = {{height|ft=x|in=x}} or {{height|m=x}}
| weight                  =  
| event                   = 
| country                 = 
| years_active            = 
| turned_pro              =
| handedness              = 
| racquet                 =
| coach                   = 
| highest_ranking         = 
| date_of_highest_ranking = 
| current_ranking         = 
| date_of_current_ranking = 
| played                  = 
| titles                  = 
| finals                  =
| medaltemplates =
}}


Example

{{Infobox Squash player
| playername              = Nicol David
| image                   = (optional)
| size                    = 200px (optional)
| caption                 = Caption
| nickname                = Duracell Bunny
| birth_name              = Nicol Ann David
| date_of_birth           = {{birth date and age|1983|8|26}}
| place_of_birth          = [[Penang]], [[Malaysia]]
| based_at                = [[Amsterdam]]
| height                  = {{height|m=1.65}} 
| weight                  = 50kg
| event                   = Women's singles
| country                 = {{MAS}}
| years_active            = 1994–2004
| turned_pro              = 2000
| handedness              = right
| racquet                 = Prince o3 Tour
| coach                   = Liz Irving
| highest_ranking         = 1
| date_of_highest_ranking = January, 2006
| current_ranking         = 1
| date_of_current_ranking = December, 2008
| played                  = 86
| titles                  = 34
| finals                  =
}}

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, played, titles must refer to [1]

Microformat

Template:UF-hcard-person