Ҳуҷҷатгузорӣ

Syntax

{{Infobox squash player
| name                    = 
| image                   = <!-- formatted like this: [[File:Imagename.jpg|250px]]; change 250 to change image size -->
| caption                 = <!-- brief text caption for the image -->
| fullname                = 
| nickname                = 
| country                 = 
| residence               = 
| birth_date              = {{birth date and age|YYYY|MM|DD}}
| birth_place             = 
| death_date              = 
| death_place             = 
| height                  = <!-- {{convert|HEIGHT IN METRES|m|abbr=on}} or {{convert|FEET|ft||INCHES|in|abbr=on}} -->
| weight                  = <!-- {{convert|WEIGHT IN KILOS|kg|abbr=on}} or {{convert|WEIGHT IN POUNDS|lb|abbr=on}} -->
| turnedpro               = 
| retired                 =
| plays                   = 
| coach                   = 
| racquet                 =
| website                 = <!-- official web site address like this: [http://www.site.com www.site.com] -->
| event                   = 
| years_active            = 
| highest_ranking         = 
| date_of_highest_ranking = 
| current_ranking         = 
| date_of_current_ranking = 
| titles                  = 
| finals                  =
| WorldOpenresult         =
| medaltemplates          =
| updated                 = <!-- adds date this template was last updated at an individual article -->
}}


Example

{{Infobox squash player
| name                    = Nicol David
| image                   = Nicol2009.jpg
| caption                 = Nicol Ann David holding her CIMB Malaysian Squash Open 2009 trophy.
| fullname                = Nicol Ann David
| nickname                = Duracell Bunny 
| country                 = {{MAS}}
| residence               = [[Amsterdam]], [[The Netherlands]]
| birth_date              = {{birth date and age|1983|8|26}}
| birth_place             = [[Penang]], Malaysia
| height                  = {{height|m=1.63|precision=0}}
| weight                  = {{convert|50|kg|lb}}
| turnedpro               = 2000
| retired                 = Active
| plays                   = Right handed
| coach                   = [[Liz Irving]]
| racquet                 = [[Prince Sports|Prince]]
| website                 = [http://www.nicoldavid.com/ www.nicoldavid.com]
| event                   = Women's singles 
| highest_ranking         = No. 1 
| date_of_highest_ranking = January, 2006
| current_ranking         = No. 1 
| date_of_current_ranking = December, 2009
| titles                  = 41
| finals                  = 54
| WorldOpenresult         = '''W''' (2005, [[2006 Women's World Open Squash Championship|2006]],
[[2008 Women's World Open Squash Championship|2008]], [[2009 Women's World Open Squash Championship|2009]])
| medaltemplates          =
{{MedalCountry | {{MAS}} }}
{{MedalSport | [[Squash (sport)|Squash]]}}
{{MedalCompetition|[[Commonwealth Games]]}}
{{MedalSilver  | [[2002 Commonwealth Games results|2002 Manchester]] | Mixed Doubles}}
{{MedalCompetition | [[Asian Games]]}}
{{MedalGold  | [[Squash at the 1998 Asian Games|1998 Bangkok]] | Individual}}
{{MedalSilver  | [[Squash at the 2002 Asian Games|2002 Busan]] | Individual}}
{{MedalGold  | [[Squash at the 2006 Asian Games|2006 Doha]] | Individual}}
{{MedalCompetition | [[World Games]]}}
{{MedalGold  | [[World Games 2005|2005 Duisburg]] | Individual}}
{{MedalGold  | [[Squash at the 2009 World Games|2009 Kaohsiung]] | Individual}}
|updated = December 20, 2009
}}

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 here (women) or here (men).

Microformat

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

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

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.