Difference between revisions of "Template:Infobox squash player/doc"
Jump to navigation
Jump to search
imported>Zyxw (note module used, add link to tracking category, add category) |
imported>Zyxw m (update examples) |
||
| Line 5: | Line 5: | ||
== Usage == | == Usage == | ||
| − | {{Parameter names example | name | image | image_size | alt | caption | full_name | nickname | country | residence | birth_date | birth_place | death_date | death_place | height | weight | turnedpro | retired | plays | coach | racquet | website | event | highest_ranking | date_of_highest_ranking | current_ranking | date_of_current_ranking | titles | finals | WorldOpenresult | medaltemplates | show-medals | updated }} | + | {{Parameter names example | name | image | image_size | alt | caption | full_name | nickname | country | residence | birth_name | birth_date | birth_place | death_date | death_place | height | weight | turnedpro | retired | plays | coach | racquet | website | event | highest_ranking | date_of_highest_ranking | current_ranking | date_of_current_ranking | titles | finals | WorldOpenresult | medaltemplates | show-medals | updated }} |
| − | + | <pre style="overflow:auto; white-space:pre;"> | |
| − | + | {{Infobox squash player | |
| name = | | name = | ||
| image = <!-- formatted like this: Example.jpg --> | | image = <!-- formatted like this: Example.jpg --> | ||
| alt = <!-- alternative text, see [[WP:ALT]] --> | | alt = <!-- alternative text, see [[WP:ALT]] --> | ||
| caption = <!-- brief text caption for the image --> | | caption = <!-- brief text caption for the image --> | ||
| − | | full_name = | + | | full_name = <!-- only use if different from name --> |
| nickname = | | nickname = | ||
| country = | | country = | ||
| residence = | | residence = | ||
| + | | birth_name = <!-- if different from name or full_name --> | ||
| birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} --> | | birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} --> | ||
| birth_place = | | birth_place = | ||
| death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} --> | | death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} --> | ||
| death_place = | | death_place = | ||
| − | | height = <!-- "X cm" or "X ft Y in" ( | + | | height = <!-- "X cm" or "X ft Y in" (auto conversion) --> |
| − | | weight = <!-- "X kg" or "X lb" ( | + | | weight = <!-- "X kg" or "X lb" (auto conversion) --> |
| turnedpro = | | turnedpro = | ||
| retired = | | retired = | ||
| Line 28: | Line 29: | ||
| coach = | | coach = | ||
| racquet = | | racquet = | ||
| − | | website = <!-- official website: {{URL| | + | | website = <!-- official website: {{URL|example.com}} --> |
| event = | | event = | ||
| years_active = | | years_active = | ||
| Line 40: | Line 41: | ||
| medaltemplates = | | medaltemplates = | ||
| show-medals = <!-- to collapse medal section set as: no --> | | show-medals = <!-- to collapse medal section set as: no --> | ||
| − | | updated = <!-- date template | + | | updated = <!-- date template last updated in article --> |
| − | }}</pre> | + | }} |
| − | + | </pre> | |
| − | {{clear | + | {{clear}} |
== Example == | == Example == | ||
| Line 53: | Line 54: | ||
| nickname = Duracell Bunny | | nickname = Duracell Bunny | ||
| country = {{MAS}} | | country = {{MAS}} | ||
| − | | residence = [[Amsterdam]], | + | | residence = [[Amsterdam]], Netherlands |
| birth_date = {{birth date and age|1983|8|26}} | | birth_date = {{birth date and age|1983|8|26}} | ||
| birth_place = [[Penang]], Malaysia | | birth_place = [[Penang]], Malaysia | ||
| Line 66: | Line 67: | ||
| event = Women's singles | | event = Women's singles | ||
| highest_ranking = No. 1 | | highest_ranking = No. 1 | ||
| − | | date_of_highest_ranking = January | + | | date_of_highest_ranking = January 2006 |
| current_ranking = No. 1 | | current_ranking = No. 1 | ||
| − | | date_of_current_ranking = December | + | | date_of_current_ranking = December 2009 |
| titles = 41 | | titles = 41 | ||
| finals = 54 | | finals = 54 | ||
| Line 88: | Line 89: | ||
}} | }} | ||
| − | + | <pre style="overflow:auto;"> | |
| − | + | {{Infobox squash player | |
| name = Nicol David | | name = Nicol David | ||
| image = Nicol2009.jpg | | image = Nicol2009.jpg | ||
| Line 96: | Line 97: | ||
| nickname = Duracell Bunny | | nickname = Duracell Bunny | ||
| country = {{MAS}} | | country = {{MAS}} | ||
| − | | residence = [[Amsterdam]], | + | | residence = [[Amsterdam]], Netherlands |
| birth_date = {{birth date and age|1983|8|26}} | | birth_date = {{birth date and age|1983|8|26}} | ||
| birth_place = [[Penang]], Malaysia | | birth_place = [[Penang]], Malaysia | ||
| Line 109: | Line 110: | ||
| event = Women's singles | | event = Women's singles | ||
| highest_ranking = No. 1 | | highest_ranking = No. 1 | ||
| − | | date_of_highest_ranking = January | + | | date_of_highest_ranking = January 2006 |
| current_ranking = No. 1 | | current_ranking = No. 1 | ||
| − | | date_of_current_ranking = December | + | | date_of_current_ranking = December 2009 |
| titles = 41 | | titles = 41 | ||
| finals = 54 | | finals = 54 | ||
| Line 129: | Line 130: | ||
{{MedalGold | [[World Games 2009|2009 Kaohsiung]] | [[Squash at the World Games 2009|Individual]] }} | {{MedalGold | [[World Games 2009|2009 Kaohsiung]] | [[Squash at the World Games 2009|Individual]] }} | ||
| updated = December 20, 2009 | | updated = December 20, 2009 | ||
| − | }}</pre> | + | }} |
| − | + | </pre> | |
| − | {{clear | + | {{clear}} |
== Notes == | == Notes == | ||
Revision as of 07:53, 11 December 2019
| This is a documentation subpage for Template:Infobox squash player. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
Usage
Template: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 =
| 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 =
| years_active =
| 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 -->
| updated = <!-- date template last updated in article -->
}}
Example
| File:Nicol2009.jpg Nicol Ann David holding her CIMB Malaysian Squash Open 2009 trophy. | |
| Full name | Nicol Ann David |
|---|---|
| Nickname(s) | Duracell Bunny |
| Country | File:Flag of Malaysia.svg Malaysia |
| Residence | Amsterdam, Netherlands |
| Born | August 26, 1983 Penang, Malaysia |
| Height | 163 cm (5 ft 4 in) |
| Weight | 50 kg (110 lb) |
| Turned Pro | 2000 |
| Retired | Active |
| Plays | Right handed |
| Coached by | Liz Irving |
| Racquet used | Prince |
| Website | Template: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 on: 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).
Microformat
Tracking category