Template:Infobox darts player/doc

From The Global Wiki
< Template:Infobox darts player
Revision as of 01:10, 18 January 2023 by Ofngv (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

Script error: No such module "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  = 
| Australian Open     = 
| Dutch Open          = 
| PDC World           = 
| Matchplay           = 
| Grand Prix          = 
| UK Open             =
| Grand Slam          = 
| European            = 
| Premier League      = 
| Championship League = 
| Vegas               = 
| 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 HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.