Template:Infobox darts player/sandbox
This is the template sandbox page for Template:Infobox darts player (diff). See also the companion subpage for test cases. |
This template uses Lua: |
- image (P18) (see uses)
Usage
[edit]Copy and paste this into your article. If there is no data for a particular section just leave it blank. For BDO and PDC, input the years they played in each particular organisation (where applicable) e.g. BDO = 1987 to 1993.
{{{name}}} | |||
---|---|---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]] | |||
Personal information | |||
Full name | {{{full_name}}} | ||
Nickname | {{{nickname}}} | ||
Born | {{{birth_date}}} {{{birth_place}}} | ||
Died | {{{death_date}}} {{{death_place}}} | ||
Home town | {{{hometown}}} | ||
Darts information | |||
Playing darts since | {{{since}}} | ||
Darts | {{{darts}}} | ||
Laterality | {{{laterality}}} | ||
Career record | {{{careerrecord}}} | ||
Prize money | {{{careerprizemoney}}} | ||
Walk-on music | {{{music}}} | ||
Organisation (see split in darts) | |||
BDO | {{{BDO}}} | ||
PDC | {{{PDC}}} | ||
Current world ranking | {{{currentrank}}} | ||
BDO majors - best performances | |||
World Ch'ship | {{{BDO World}}} | ||
World Masters | {{{World Masters}}} | ||
World Darts Trophy | {{{World Darts Trophy}}} | ||
Int. Darts League | {{{Int. Darts League}}} | ||
Finder Masters | {{{Zuiderduin Masters}}} | ||
PDC premier events - best performances | |||
World Ch'ship | {{{PDC World}}} | ||
World Matchplay | {{{Matchplay}}} | ||
World Grand Prix | {{{Grand Prix}}} | ||
Grand Slam | {{{Grand Slam}}} | ||
Premier League | {{{Premier League}}} | ||
Ch'ship League | {{{Championship League}}} | ||
Desert Classic | {{{Vegas}}} | ||
European Ch'ship | {{{European}}} | ||
UK Open | {{{UK Open}}} | ||
US Open/WSoD | {{{US Open}}} | ||
Players Ch'ship Finals | {{{PC Finals}}} | ||
Masters | {{{Masters}}} | ||
Champions League | {{{Champions League}}} | ||
World Series Finals | {{{World Series Finals}}} | ||
Other tournament wins | |||
Tournament | Years | ||
{{{tournament}}} | {{{results}}} | ||
Other achievements | |||
{{{achievement}}} | |||
Medal record
| |||
Updated on {{{updated}}}. |
{{Infobox darts player
| name =
| image =
| caption =
| full_name = <!-- if different -->
| nickname =
| birth_date = {{birth date and age|yyyy|mm|dd}}
| birth_place =
| death_date =
| death_place =
| hometown =
| since =
| darts =
| laterality =
| careerrecord =
| careerprizemoney =
| music =
| BDO =
| PDC =
| WDF =
| WSDT =
| currentrank =
| BDO World =
| World Masters =
| BDO World Trophy =
| World Darts Trophy =
| Int. Darts League =
| Zuiderduin Masters =
| Australian Open =
| Dutch Open =
| PDC World =
| Matchplay =
| Grand Prix =
| UK Open =
| Grand Slam =
| European =
| Premier League =
| Championship League =
| Vegas =
| US Open =
| PC Finals =
| The Masters =
| Champions League =
| World Series Finals =
| Seniors World =
| Seniors Matchplay =
| Seniors Masters =
| Seniors Champions =
| tournament =
| resultyears =
| achievement =
| medaltemplates =
| updated =
}}
For each tournament add the best performance e.g. | Matchplay = QF 1998 or | World Masters = Runner-up 1952. If they haven't played in a particular or info is not available just leave blank. For filling in the updated parameter, use {{subst:Date}}
or {{subst:Date|2=mdy}}
.
For multiple tournament wins, use |results=
with {{aligned table}} (as in this example):
| results = {{aligned table|leftright=y|fullwidth=y
| BDO World Championship | 1924
| World Matchplay | 1925, 1926
| AN Other | 1934
}}
and it will display
Example Player | |||||||
---|---|---|---|---|---|---|---|
Born | |||||||
Other tournament wins | |||||||
|
Microformat
[edit]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
[edit]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
[edit]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.