Difference between revisions of "Template:Infobox darts player"

From blackwiki
Jump to navigation Jump to search
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     = {{{currentrank|}}}
+
| data17    = {{{PDC|}}}
 +
| label18   = [[Darts world rankings|Current world ranking]]
 +
| data18     = {{{currentrank|}}}
  
|header18   = {{#if:{{{BDO World|}}}{{{World Masters|}}}{{{World Darts Trophy|}}}{{{Int. Darts League|}}}{{{Zuiderduin Masters|}}}|BDO majors – best performances}}
+
|header19   = {{#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]]
+
| label20   = [[BDO World Darts Championship|World Ch'ship]]
| data19     = {{{BDO World|}}}
+
| data20     = {{{BDO World|}}}
| label20   = [[World Masters (darts)|World Masters]]
+
| label21   = [[World Masters (darts)|World Masters]]
| data20     = {{{World Masters|}}}
+
| data21     = {{{World Masters|}}}
| label21   = [[World Darts Trophy]]
+
| label22   = [[World Darts Trophy]]
| data21     = {{{World Darts Trophy|}}}
+
| data22     = {{{World Darts Trophy|}}}
| label22   = [[International Darts League|Int. Darts League]]
+
| label23   = [[International Darts League|Int. Darts League]]
| data22     = {{{Int. Darts League|}}}
+
| data23     = {{{Int. Darts League|}}}
| label23   = [[Finder Darts Masters|Finder Masters]]
+
| label24   = [[Finder Darts Masters|Finder Masters]]
| data23     = {{{Zuiderduin Masters|{{{Dutch Masters|}}}}}}
+
| data24     = {{{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}}
+
|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}}
  
| label25   = [[PDC World Darts Championship|World Ch'ship]]
+
| label26   = [[PDC World Darts Championship|World Ch'ship]]
| data25     = {{{PDC World|}}}
+
| data26     = {{{PDC World|}}}
| label26   = [[World Matchplay (darts)|World Matchplay]]
+
| label27   = [[World Matchplay (darts)|World Matchplay]]
| data26     = {{{Matchplay|}}}
+
| data27     = {{{Matchplay|}}}
| label27   = [[World Grand Prix (darts)|World Grand Prix]]
+
| label28   = [[World Grand Prix (darts)|World Grand Prix]]
| data27     = {{{Grand Prix|}}}
+
| data28     = {{{Grand Prix|}}}
| label28   = [[Grand Slam of Darts|Grand Slam]]
+
| label29   = [[Grand Slam of Darts|Grand Slam]]
| data28     = {{{Grand Slam|}}}
+
| data29     = {{{Grand Slam|}}}
| label29   = [[Premier League Darts|Premier League]]
+
| label30   = [[Premier League Darts|Premier League]]
| data29     = {{{Premier League|}}}
+
| data30     = {{{Premier League|}}}
| label30   = [[Championship League Darts|Ch'ship League]]
+
| label31   = [[Championship League Darts|Ch'ship League]]
| data30     = {{{Championship League|}}}
+
| data31     = {{{Championship League|}}}
| label31   = [[Las Vegas Desert Classic|Desert Classic]]
+
| label32   = [[Las Vegas Desert Classic|Desert Classic]]
| data31     = {{{Vegas|}}}
+
| data32     = {{{Vegas|}}}
| label32   = [[European Championship (darts)|European Ch'ship]]
+
| label33   = [[European Championship (darts)|European Ch'ship]]
| data32     = {{{European|}}}
+
| data33     = {{{European|}}}
| label33   = [[UK Open]]
+
| label34   = [[UK Open]]
| data33     = {{{UK Open|}}}
+
| data34     = {{{UK Open|}}}
| label34   = [[US Open (darts)|US Open]]/[[World Series of Darts (2006 tournament)|WSoD]]
+
| label35   = [[US Open (darts)|US Open]]/[[World Series of Darts (2006 tournament)|WSoD]]
| data34     = {{{US Open|}}}
+
| data35     = {{{US Open|}}}
| label35   = [[Players Championship Finals|Players Ch'ship Finals]]
+
| label36   = [[Players Championship Finals|Players Ch'ship Finals]]
| data35     = {{{PC Finals|}}}
+
| data36     = {{{PC Finals|}}}
| label36   = [[Masters (darts)|Masters]]
+
| label37   = [[Masters (darts)|Masters]]
| data36     = {{{Masters|}}}
+
| data37     = {{{Masters|}}}
| label37   = [[Champions League of Darts|Champions League]]
+
| label38   = [[Champions League of Darts|Champions League]]
| data37     = {{{Champions League|}}}
+
| data38     = {{{Champions League|}}}
| label38   = [[World Series of Darts Finals|World Series Finals]]
+
| label39   = [[World Series of Darts Finals|World Series Finals]]
| data38     = {{{World Series Finals|}}}
+
| data39     = {{{World Series Finals|}}}
  
|header39   = {{#if:{{{results|{{{resultyears|}}}}}}|Other tournament wins}}
+
|header40   = {{#if:{{{results|{{{resultyears|}}}}}}|Other tournament wins}}
  
| label40   = {{#if:{{{tournament|}}}|Tournament}}
+
| label41   = {{#if:{{{tournament|}}}|Tournament}}
| data40     = {{#if:{{{resultyears|}}}|'''Years'''}}
+
| data41     = {{#if:{{{resultyears|}}}|'''Years'''}}
| label41   = {{{tournament|}}}
+
| label42   = {{{tournament|}}}
| data41     = {{{results|{{{resultyears|}}}}}}
+
| data42     = {{{results|{{{resultyears|}}}}}}
  
|header42   = {{#if:{{{achievement|}}}|Other achievements}}
+
|header43   = {{#if:{{{achievement|}}}|Other achievements}}
|data43     = {{{achievement|}}}
+
|data44     = {{{achievement|}}}
  
| header44   = {{Infobox medal templates
+
| 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]]

50px Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata

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".
[[Category:Infobox templates|Template:Remove first word]]

Microformat

Template:UF-hcard-person