• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Infobox darts player/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Infobox darts player
This is the template sandbox page for Template:Infobox darts player (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Infobox (sandbox)
  • Module:InfoboxImage (sandbox)
  • Module:Wikidata (sandbox)
This template uses the Wikidata property:
  • image (P18) (see uses)

Contents

  • 1 Usage
  • 2 Microformat
    • 2.1 Sub-templates
    • 2.2 Classes

Usage

edit

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.

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]]
{{{caption}}}
Personal information
Full name{{{full_name}}}
Nickname{{{nickname}}}
Born{{{birth_date}}}
{{{birth_place}}}
Died{{{death_date}}}
{{{death_place}}}
Home town{{{hometown}}}
Darts information
Playing darts since{{{since}}}
Darts{{{darts}}}
Laterality{{{laterality}}}
Career record{{{careerrecord}}}
Prize money{{{careerprizemoney}}}
Walk-on music{{{music}}}
Organisation (see split in darts)
BDO{{{BDO}}}
PDC{{{PDC}}}
Current world ranking{{{currentrank}}}
BDO majors - best performances
World Ch'ship{{{BDO World}}}
World Masters{{{World Masters}}}
World Darts Trophy{{{World Darts Trophy}}}
Int. Darts League{{{Int. Darts League}}}
Finder Masters{{{Zuiderduin Masters}}}
PDC premier events - best performances
World Ch'ship{{{PDC World}}}
World Matchplay{{{Matchplay}}}
World Grand Prix{{{Grand Prix}}}
Grand Slam{{{Grand Slam}}}
Premier League{{{Premier League}}}
Ch'ship League{{{Championship League}}}
Desert Classic{{{Vegas}}}
European Ch'ship{{{European}}}
UK Open{{{UK Open}}}
US Open/WSoD{{{US Open}}}
Players Ch'ship Finals{{{PC Finals}}}
Masters{{{Masters}}}
Champions League{{{Champions League}}}
World Series Finals{{{World Series Finals}}}
Other tournament wins
TournamentYears
{{{tournament}}}{{{results}}}
Other achievements
{{{achievement}}}
Medal record

{{{medaltemplates}}}

Updated on {{{updated}}}.
{{Infobox darts player
| name                = 
| image               = 
| caption             = 
| full_name           = <!-- if different -->
| 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                 = 
| WSDT                = 
| 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 = 
| Seniors World       = 
| Seniors Matchplay   = 
| Seniors Masters     = 
| Seniors Champions   = 
| 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

Darts player
Example Player
Born
Other tournament wins
BDO World Championship 1924
World Matchplay 1925, 1926
AN Other 1934

Microformat

edit

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

edit

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

edit

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.

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.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Infobox_darts_player/sandbox&oldid=869231470"
Last edited on 17 November 2018, at 07:21

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 17 November 2018, at 07:21 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop