Template:Infobox squash player: Difference between revisions
en>Plastikspork (Fix navbox class in infobox) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:06, 18 January 2023
Script error: No such module "Wikidata". |
File:Lua-Logo.svg | This template uses Lua: |
Usage
Script error: No such module "Parameter names example".
{{Infobox squash player | name = | image = <!-- formatted like this: Example.jpg --> | alt = <!-- alternative text, see [[WP:ALT]] --> | caption = <!-- brief text caption for the image --> | full_name = <!-- only use if different from name --> | nickname = | country = | residence = | birth_name = <!-- if different from name or full_name --> | birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} --> | birth_place = | children = | death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} --> | death_place = | height = <!-- "X cm" or "X ft Y in" (auto conversion) --> | weight = <!-- "X kg" or "X lb" (auto conversion) --> | turnedpro = | retired = | plays = | coach = | racquet = | website = <!-- official website: {{URL|example.com}} --> | event = | highest_ranking = | date_of_highest_ranking = | current_ranking = | date_of_current_ranking = | titles = | finals = | WorldOpenresult = | medaltemplates = | show-medals = <!-- to collapse medal section set as: no --> | module = | updated = <!-- date template last updated in article --> }}
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 |
alt | alt | no description | Unknown | optional |
caption | caption | no description | Unknown | optional |
full_name | full_name | no description | Unknown | optional |
fullname | fullname | no description | Unknown | optional |
nickname | nickname | no description | Unknown | optional |
country | country | no description | Unknown | optional |
residence | residence | no description | Unknown | optional |
birth_name | birth_name | 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 |
height | height | no description | Unknown | optional |
weight | weight | no description | Unknown | optional |
turnedpro | turnedpro | no description | Unknown | optional |
retired | retired | no description | Unknown | optional |
plays | plays | no description | Unknown | optional |
coach | coach | no description | Unknown | optional |
racquet | racquet | no description | Unknown | optional |
website | website | no description | Unknown | optional |
event | event | no description | Unknown | optional |
highest_ranking | highest_ranking | no description | Unknown | optional |
date_of_highest_ranking | date_of_highest_ranking | no description | Unknown | optional |
current_ranking | current_ranking | no description | Unknown | optional |
date_of_current_ranking | date_of_current_ranking | no description | Unknown | optional |
titles | titles | no description | Unknown | optional |
finals | finals | no description | Unknown | optional |
WorldOpenresult | WorldOpenresult | no description | Unknown | optional |
medals | medals | no description | Unknown | optional |
medaltemplates | medaltemplates | no description | Unknown | optional |
medals-expand | medals-expand | no description | Unknown | optional |
show-medals | show-medals | no description | Unknown | optional |
module | module | no description | Unknown | optional |
updated | updated | no description | Unknown | optional |
Children | Children | no description | Unknown | optional |
Example
File:Nicol2009.jpg | |
Full name | Nicol Ann David |
---|---|
Nickname(s) | Duracell Bunny |
Country | File:Flag of Malaysia.svg Malaysia |
Residence | Amsterdam, Netherlands |
Born | Penang, Malaysia | August 26, 1983
Height | Script error: No such module "person height". |
Weight | Script error: No such module "Person weight". |
Turned Pro | 2000 |
Retired | Active |
Plays | Right handed |
Coached by | Liz Irving |
Racquet used | Prince |
Website | Script error: No such module "URL". |
Women's singles | |
Highest ranking | No. 1 (January 2006) |
Current ranking | No. 1 (December 2009) |
Title(s) | 41 |
Tour final(s) | 54 |
World Open | W (2005, 2006, 2008, 2009) |
Medal record | |
Last updated: December 20, 2009. |
{{Infobox squash player | name = Nicol David | image = Nicol2009.jpg | caption = Nicol Ann David holding her CIMB Malaysian Squash Open 2009 trophy. | full_name = Nicol Ann David | nickname = Duracell Bunny | country = {{MAS}} | residence = [[Amsterdam]], Netherlands | birth_date = {{birth date and age|1983|8|26}} | birth_place = [[Penang]], Malaysia | height = 163 cm | weight = 50 kg | turnedpro = 2000 | retired = Active | plays = Right handed | coach = [[Liz Irving]] | racquet = [[Prince Sports|Prince]] | website = {{URL|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 = {{MedalSport | Women's [[squash (sport)|squash]] }} {{MedalCountry | {{MAS}} }} {{MedalCompetition | [[Commonwealth Games]] }} {{MedalSilver | [[2002 Commonwealth Games|2002 Manchester]] | [[Squash at the 2002 Commonwealth Games|Mixed doubles]] }} {{MedalCompetition | [[Asian Games]] }} {{MedalGold | [[1998 Asian Games|1998 Bangkok]] | [[Squash at the 1998 Asian Games|Individual]] }} {{MedalSilver | [[2002 Asian Games|2002 Busan]] | [[Squash at the 2002 Asian Games|Individual]] }} {{MedalGold | [[2006 Asian Games|2006 Doha]] | [[Squash at the 2006 Asian Games|Individual]] }} {{MedalCompetition | [[World Games]] }} {{MedalGold | [[World Games 2005|2005 Duisburg]] | [[Squash at the World Games 2005|Individual]] }} {{MedalGold | [[World Games 2009|2009 Kaohsiung]] | [[Squash at the World Games 2009|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).
Embedding other templates
The module parameter is used for embedding other templates into this infobox (see Wikipedia:Infobox modules).
{{Infobox squash player | name = | <!-- etc. --> | module = {{Infobox ABC | embed = yes <!-- or child=yes / subbox=yes --> | <!-- etc. --> }} }}
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.
Tracking category
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 |
alt | alt | no description | Unknown | optional |
caption | caption | no description | Unknown | optional |
full_name | full_name | no description | Unknown | optional |
fullname | fullname | no description | Unknown | optional |
nickname | nickname | no description | Unknown | optional |
country | country | no description | Unknown | optional |
residence | residence | no description | Unknown | optional |
birth_name | birth_name | 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 |
height | height | no description | Unknown | optional |
weight | weight | no description | Unknown | optional |
turnedpro | turnedpro | no description | Unknown | optional |
retired | retired | no description | Unknown | optional |
plays | plays | no description | Unknown | optional |
coach | coach | no description | Unknown | optional |
racquet | racquet | no description | Unknown | optional |
website | website | no description | Unknown | optional |
event | event | no description | Unknown | optional |
highest_ranking | highest_ranking | no description | Unknown | optional |
date_of_highest_ranking | date_of_highest_ranking | no description | Unknown | optional |
current_ranking | current_ranking | no description | Unknown | optional |
date_of_current_ranking | date_of_current_ranking | no description | Unknown | optional |
titles | titles | no description | Unknown | optional |
finals | finals | no description | Unknown | optional |
WorldOpenresult | WorldOpenresult | no description | Unknown | optional |
medals | medals | no description | Unknown | optional |
medaltemplates | medaltemplates | no description | Unknown | optional |
medals-expand | medals-expand | no description | Unknown | optional |
show-medals | show-medals | no description | Unknown | optional |
module | module | no description | Unknown | optional |
updated | updated | no description | Unknown | optional |
Children | Children | no description | Unknown | optional |
- Infobox templates
- Pages with broken file links
- Lua-based templates
- Templates using data from Wikidata
- Templates generating hCards
- Squash templates
- Sportsperson infobox templates
- Infobox templates with module parameter
- Infobox templates with updated parameter
- Infobox templates using Wikidata
- Templates that add a tracking category