Difference between revisions of "Template:Infobox darts player"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Heiko Gerber (redundant, can just be added behind "hometown", e.g. London, England) |
imported>Kemba Chucker (Increased a little bit as the boxes for darts players are normally very wide) |
||
| Line 3: | Line 3: | ||
| aboveclass = fn | | aboveclass = fn | ||
| above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | | above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | ||
| − | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{#invoke:Wikidata|claim|P18}}}}}|size={{#if:{{{image_size|}}}|{{{image_size|}}}|{{{imagesize|}}}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}}} | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{#invoke:Wikidata|claim|P18}}}}}|size={{#if:{{{image_size|}}}|{{{image_size|}}}|{{{imagesize|}}}}}|sizedefault=frameless|upright=1.1|alt={{{alt|}}}}} |
| caption = {{{caption|{{#invoke:Wikidata |getImageLegend|FETCH_WIKIDATA}}}}} | | caption = {{{caption|{{#invoke:Wikidata |getImageLegend|FETCH_WIKIDATA}}}}} | ||
| headerstyle = background:#b0c4de; | | headerstyle = background:#b0c4de; | ||
Revision as of 18:47, 3 September 2020
| Script error: No such module "Wikidata". Script error: No such module "Wikidata". |
[[Category:Infobox templates|Template:Remove first word]]
| 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. |