Difference between revisions of "Template:Infobox darts player/sandbox"
Jump to navigation
Jump to search
imported>Navops47 |
imported>Zyxw (copy of current template) |
||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| − | | bodyclass | + | | bodyclass = vcard |
| − | + | | aboveclass = fn | |
| − | + | | above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | |
| − | | aboveclass | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{#invoke:Wikidata|claim|P18}}}}}|size={{#if:{{{image_size|}}}|{{{image_size|}}}|{{{imagesize|}}}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}}} |
| − | + | | caption = {{{caption|{{#invoke:Wikidata |getImageLegend|FETCH_WIKIDATA}}}}} | |
| − | + | | headerstyle = background:#b0c4de; | |
| − | |||
| − | | above | ||
| − | | image | ||
| − | | caption | ||
| − | | header1 | + | | header1 = {{#if:{{{full_name|}}}{{{fullname|}}}{{{nickname|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{hometown|}}}{{{homecountry|}}}|Personal information}} |
| − | | label2 | + | | label2 = Full name |
| − | | data2 | + | | data2 = {{{full_name|{{{fullname|}}}}}} |
| − | | label3 | + | | label3 = Nickname |
| − | | class3 | + | | class3 = nickname |
| − | | data3 | + | | data3 = {{{nickname|}}} |
| − | | label4 | + | | label4 = Born |
| − | | data4 | + | | data4 = {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}} }} |
| − | | label5 | + | | label5 = Died |
| − | | data5 | + | | data5 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}} }} |
| − | | label6 | + | | label6 = Home town |
| − | | data6 | + | | data6 = {{br separated entries|{{{hometown|}}}|{{{homecountry|}}} }} |
| − | | header7 | + | | header7 = {{#if:{{{since|}}}{{{darts|}}}{{{laterality|}}}{{{music|}}}|Darts information}} |
| − | | label9 | + | | label8 = Playing darts since |
| − | | data9 | + | | data8 = {{{since|}}} |
| − | | label10 | + | | label9 = Darts |
| − | | data10 | + | | data9 = {{{darts|}}} |
| − | | label11 = Walk-on music | + | | label10 = [[Laterality]] |
| − | | | + | | data10 = {{{laterality|}}} |
| + | | label11 = Career record | ||
| + | | data11 = {{{careerrecord|}}} | ||
| + | | label12 = Prize money | ||
| + | | data12 = {{{careerprizemoney|}}} | ||
| + | | label13 = Walk-on music | ||
| + | | data13 = {{{music|}}} | ||
| − | | | + | | header14 = {{#if:{{{PDC|}}}{{{BDO|}}}{{{currentrank|}}}|Organisation (see [[split in darts]])}} |
| − | | | + | | label15 = [[British Darts Organisation|BDO]] |
| − | | | + | | data15 = {{{BDO|}}} |
| − | | | + | | label16 = [[Professional Darts Corporation|PDC]] |
| − | | | + | | data16 = {{{PDC|}}} |
| − | | | + | | label17 = [[Darts world rankings|Current world ranking]] |
| − | | | + | | data17 = {{{currentrank|}}} |
| − | | | + | |header18 = {{#if:{{{BDO World|}}}{{{World Masters|}}}{{{World Darts Trophy|}}}{{{Int. Darts League|}}}{{{Zuiderduin Masters|}}}|BDO majors - best performances}} |
| − | | | + | | label19 = [[BDO World Darts Championship|World Ch'ship]] |
| − | | | + | | data19 = {{{BDO World|}}} |
| − | | | + | | label20 = [[World Masters (darts)|World Masters]] |
| − | | | + | | data20 = {{{World Masters|}}} |
| + | | label21 = [[World Darts Trophy]] | ||
| + | | data21 = {{{World Darts Trophy|}}} | ||
| + | | label22 = [[International Darts League|Int. Darts League]] | ||
| + | | data22 = {{{Int. Darts League|}}} | ||
| + | | label23 = [[Finder Darts Masters|Finder Masters]] | ||
| + | | data23 = {{{Zuiderduin Masters|{{{Dutch Masters|}}}}}} | ||
| − | | | + | |header24 = {{#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}} |
| − | | | + | | label25 = [[PDC World Darts Championship|World Ch'ship]] |
| − | }} | + | | data25 = {{{PDC World|}}} |
| − | + | | label26 = [[World Matchplay (darts)|World Matchplay]] | |
| + | | data26 = {{{Matchplay|}}} | ||
| + | | label27 = [[World Grand Prix (darts)|World Grand Prix]] | ||
| + | | data27 = {{{Grand Prix|}}} | ||
| + | | label28 = [[Grand Slam of Darts|Grand Slam]] | ||
| + | | data28 = {{{Grand Slam|}}} | ||
| + | | label29 = [[Premier League Darts|Premier League]] | ||
| + | | data29 = {{{Premier League|}}} | ||
| + | | label30 = [[Championship League Darts|Ch'ship League]] | ||
| + | | data30 = {{{Championship League|}}} | ||
| + | | label31 = [[Las Vegas Desert Classic|Desert Classic]] | ||
| + | | data31 = {{{Vegas|}}} | ||
| + | | label32 = [[European Championship (darts)|European Ch'ship]] | ||
| + | | data32 = {{{European|}}} | ||
| + | | label33 = [[UK Open]] | ||
| + | | data33 = {{{UK Open|}}} | ||
| + | | label34 = [[US Open (darts)|US Open]]/[[World Series of Darts (2006 tournament)|WSoD]] | ||
| + | | data34 = {{{US Open|}}} | ||
| + | | label35 = [[Players Championship Finals|Players Ch'ship Finals]] | ||
| + | | data35 = {{{PC Finals|}}} | ||
| + | | label36 = [[Masters (darts)|Masters]] | ||
| + | | data36 = {{{Masters|}}} | ||
| + | | label37 = [[Champions League of Darts|Champions League]] | ||
| + | | data37 = {{{Champions League|}}} | ||
| + | | label38 = [[World Series of Darts Finals|World Series Finals]] | ||
| + | | data38 = {{{World Series Finals|}}} | ||
| − | {{ | + | |header39 = {{#if:{{{results|{{{resultyears|}}}}}}|Other tournament wins}} |
| − | </noinclude> | + | |
| + | | label40 = {{#if:{{{tournament|}}}|Tournament}} | ||
| + | | data40 = {{#if:{{{resultyears|}}}|'''Years'''}} | ||
| + | | label41 = {{{tournament|}}} | ||
| + | | data41 = {{{results|{{{resultyears|}}}}}} | ||
| + | |||
| + | |header42 = {{#if:{{{achievement|}}}|Other achievements}} | ||
| + | |data43 = {{{achievement|}}} | ||
| + | |||
| + | | header44 = {{Infobox medal templates | ||
| + | |medals = {{{medaltemplates|}}} | ||
| + | |expand = {{#ifeq:{{lc:{{{show-medals}}}}}|no||yes}} | ||
| + | }} | ||
| + | |||
| + | | belowstyle = color:darkslategray; font-size:82% | ||
| + | | below = {{#if:{{{updated|}}}|Updated on {{{updated}}}.}} | ||
| + | |||
| + | }}<noinclude>{{Documentation}}</noinclude> | ||
Latest revision as of 07:21, 17 November 2018
| Script error: No such module "Wikidata". Script error: No such module "Wikidata". |
| This is the template sandbox page for Template:Infobox darts player (diff). See also the companion subpage for test cases. |
| 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. |