Difference between revisions of "Template:Infobox darts player"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(allow "full_name" as alternative for "fullname", similar to Infobox sportsperson and others)
imported>Dave.Dunford
m (en dash)
Line 45: Line 45:
 
| data17    = {{{currentrank|}}}
 
| data17    = {{{currentrank|}}}
  
|header18    = {{#if:{{{BDO World|}}}{{{World Masters|}}}{{{World Darts Trophy|}}}{{{Int. Darts League|}}}{{{Zuiderduin Masters|}}}|BDO majors - best performances}}
+
|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]]
 
| label19    = [[BDO World Darts Championship|World Ch'ship]]
Line 58: Line 58:
 
| data23    = {{{Zuiderduin Masters|{{{Dutch 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}}
+
|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]]
 
| label25    = [[PDC World Darts Championship|World Ch'ship]]

Revision as of 18:51, 26 December 2019

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