Difference between revisions of "Template:Infobox darts player"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Dave.Dunford m (en dash) |
imported>Heiko Gerber (redundant, can just be added behind "hometown", e.g. London, England) |
||
| Line 7: | Line 7: | ||
| headerstyle = background:#b0c4de; | | headerstyle = background:#b0c4de; | ||
| − | | header1 = {{#if:{{{full_name|}}}{{{fullname|}}}{{{nickname|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{hometown | + | | header1 = {{#if:{{{full_name|}}}{{{fullname|}}}{{{nickname|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{hometown|}}}|Personal information}} |
| label2 = Full name | | label2 = Full name | ||
| Line 19: | Line 19: | ||
| data5 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}} }} | | data5 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}} }} | ||
| label6 = Home town | | label6 = Home town | ||
| − | | data6 = {{br separated entries|{{{hometown | + | | data6 = {{br separated entries|{{{hometown|}}} }} |
| header7 = {{#if:{{{since|}}}{{{darts|}}}{{{laterality|}}}{{{music|}}}|Darts information}} | | header7 = {{#if:{{{since|}}}{{{darts|}}}{{{laterality|}}}{{{music|}}}|Darts information}} | ||
Revision as of 06:02, 29 August 2020
| Script error: No such module "Wikidata". Script error: No such module "Wikidata". |
[[Category:Infobox templates|Template:Remove first word]]
| 30px | This template uses Lua: |
Usage
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.
Template:Parameter names example
{{Infobox darts player
| name =
| image =
| full_name =
| 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 =
| currentrank =
| BDO World =
| World Masters =
| BDO World Trophy =
| World Darts Trophy =
| Int. Darts League =
| Zuiderduin Masters =
| PDC World =
| Matchplay =
| Grand Prix =
| Grand Slam =
| Premier League =
| Championship League =
| Vegas =
| European =
| UK Open =
| US Open =
| PC Finals =
| The Masters =
| Champions League =
| World Series Finals =
| 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 | |
|---|---|
| Other tournament wins | |
| Script error: No such module "aligned table". |
Microformat
| The above documentation is transcluded from Template:Infobox darts player/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |