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

From blackwiki
Jump to navigation Jump to search
imported>Thetrick
(Added Template:Documentation subpage)
imported>Pigsonthewing
(add hCard microformat mark-up - see WP:UF; move documentation to /doc)
Line 61: Line 61:
  
 
==Notes==
 
==Notes==
*Every field are optional, so some of the field can be waive if no information.
+
*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'''.
 
*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 [http://www.internationalbadminton.org Internationalbadminton.org]
 
*'''highest_ranking''', '''current_ranking''', '''bwf_id''', '''played''', '''titles''' must refer to [http://www.internationalbadminton.org Internationalbadminton.org]
  
<includeonly>
+
== Microformat==
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
{{UF-hcard-person}}
[[Category:Sportsperson infobox templates|Badminton player]]
 
[[Category:Badminton templates|{{PAGENAME}}]]
 
  
[[nl:Sjabloon:Badmintonner]]
+
<includeonly>{{documentation}}</includeonly>
</includeonly>
 

Revision as of 20:34, 31 August 2008

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