Difference between revisions of "Template:Infobox darts player"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Kemba Chucker (Increased a little bit as the boxes for darts players are normally very wide) |
imported>DLManiac (new rankings in town) |
||
| Line 42: | Line 42: | ||
| label16 = [[Professional Darts Corporation|PDC]] | | label16 = [[Professional Darts Corporation|PDC]] | ||
| data16 = {{{PDC|}}} | | data16 = {{{PDC|}}} | ||
| − | | label17 = [[Darts world rankings|Current world ranking]] | + | | label17 = [[Professional Darts Corporation|PDC]] |
| − | | | + | | data17 = {{{PDC|}}} |
| + | | label18 = [[Darts world rankings|Current world ranking]] | ||
| + | | data18 = {{{currentrank|}}} | ||
| − | | | + | |header19 = {{#if:{{{BDO World|}}}{{{World Masters|}}}{{{World Darts Trophy|}}}{{{Int. Darts League|}}}{{{Zuiderduin Masters|}}}|BDO majors – best performances}} |
| − | | | + | | label20 = [[BDO World Darts Championship|World Ch'ship]] |
| − | | | + | | data20 = {{{BDO World|}}} |
| − | | | + | | label21 = [[World Masters (darts)|World Masters]] |
| − | | | + | | data21 = {{{World Masters|}}} |
| − | | | + | | label22 = [[World Darts Trophy]] |
| − | | | + | | data22 = {{{World Darts Trophy|}}} |
| − | | | + | | label23 = [[International Darts League|Int. Darts League]] |
| − | | | + | | data23 = {{{Int. Darts League|}}} |
| − | | | + | | label24 = [[Finder Darts Masters|Finder Masters]] |
| − | | | + | | data24 = {{{Zuiderduin Masters|{{{Dutch Masters|}}}}}} |
| − | | | + | |header25 = {{#if:{{{PDC World|}}}{{{Matchplay|}}}{{{Grand Prix|}}}{{{Grand Slam|}}}{{{Premier League|}}}{{{Championship League|}}}{{{Vegas|}}}{{{European|}}}{{{UK Open|}}}{{{US Open|}}}{{{PC Finals|}}}|PDC premier events – best performances}} |
| − | | | + | | label26 = [[PDC World Darts Championship|World Ch'ship]] |
| − | | | + | | data26 = {{{PDC World|}}} |
| − | | | + | | label27 = [[World Matchplay (darts)|World Matchplay]] |
| − | | | + | | data27 = {{{Matchplay|}}} |
| − | | | + | | label28 = [[World Grand Prix (darts)|World Grand Prix]] |
| − | | | + | | data28 = {{{Grand Prix|}}} |
| − | | | + | | label29 = [[Grand Slam of Darts|Grand Slam]] |
| − | | | + | | data29 = {{{Grand Slam|}}} |
| − | | | + | | label30 = [[Premier League Darts|Premier League]] |
| − | | | + | | data30 = {{{Premier League|}}} |
| − | | | + | | label31 = [[Championship League Darts|Ch'ship League]] |
| − | | | + | | data31 = {{{Championship League|}}} |
| − | | | + | | label32 = [[Las Vegas Desert Classic|Desert Classic]] |
| − | | | + | | data32 = {{{Vegas|}}} |
| − | | | + | | label33 = [[European Championship (darts)|European Ch'ship]] |
| − | | | + | | data33 = {{{European|}}} |
| − | | | + | | label34 = [[UK Open]] |
| − | | | + | | data34 = {{{UK Open|}}} |
| − | | | + | | label35 = [[US Open (darts)|US Open]]/[[World Series of Darts (2006 tournament)|WSoD]] |
| − | | | + | | data35 = {{{US Open|}}} |
| − | | | + | | label36 = [[Players Championship Finals|Players Ch'ship Finals]] |
| − | | | + | | data36 = {{{PC Finals|}}} |
| − | | | + | | label37 = [[Masters (darts)|Masters]] |
| − | | | + | | data37 = {{{Masters|}}} |
| − | | | + | | label38 = [[Champions League of Darts|Champions League]] |
| − | | | + | | data38 = {{{Champions League|}}} |
| − | | | + | | label39 = [[World Series of Darts Finals|World Series Finals]] |
| − | | | + | | data39 = {{{World Series Finals|}}} |
| − | | | + | |header40 = {{#if:{{{results|{{{resultyears|}}}}}}|Other tournament wins}} |
| − | | | + | | label41 = {{#if:{{{tournament|}}}|Tournament}} |
| − | | | + | | data41 = {{#if:{{{resultyears|}}}|'''Years'''}} |
| − | | | + | | label42 = {{{tournament|}}} |
| − | | | + | | data42 = {{{results|{{{resultyears|}}}}}} |
| − | | | + | |header43 = {{#if:{{{achievement|}}}|Other achievements}} |
| − | | | + | |data44 = {{{achievement|}}} |
| − | | | + | | header45 = {{Infobox medal templates |
|medals = {{{medaltemplates|}}} | |medals = {{{medaltemplates|}}} | ||
|expand = {{#ifeq:{{lc:{{{show-medals}}}}}|no||yes}} | |expand = {{#ifeq:{{lc:{{{show-medals}}}}}|no||yes}} | ||
Revision as of 07:23, 22 October 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. |