Template:Infobox darts player/doc: Difference between revisions

From The Democratikan Wiki
No edit summary
 
m (1 revision imported)
 
(No difference)

Latest revision as of 03:01, 15 February 2024

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.

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1.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}}}
WDF{{{WDF}}}
WSDT{{{WSDT}}}
Current world ranking{{{currentrank}}}
WDF major events – best performances
World Ch'ship{{{BDO World}}}
World Masters{{{World Masters}}}
World Trophy{{{World Darts Trophy}}}
Int. Darts League{{{Int. Darts League}}}
Finder Masters{{{Zuiderduin Masters}}}
Australian Open{{{Australian Open}}}
Dutch Open{{{Dutch Open}}}
PDC premier events – best performances
World Ch'ship{{{PDC World}}}
World Matchplay{{{Matchplay}}}
World Grand Prix{{{Grand Prix}}}
UK Open{{{UK Open}}}
Grand Slam{{{Grand Slam}}}
European Ch'ship{{{European}}}
Premier League{{{Premier League}}}
Ch'ship League{{{Championship League}}}
Desert Classic{{{Vegas}}}
US Open/WSoD{{{US Open}}}
PC Finals{{{PC Finals}}}
Masters{{{Masters}}}
Champions League{{{Champions League}}}
World Series Finals{{{World Series Finals}}}
WSDT major events – best performances
World Ch'ship{{{Seniors World}}}
World Matchplay{{{Seniors Matchplay}}}
World Masters{{{Seniors Masters}}}
Champions{{{Seniors Champions}}}
Other tournament wins
TournamentYears
{{{tournament}}}{{{results}}}
Other achievements
{{{achievement}}}
Medal record

{{{medaltemplates}}}

Updated on {{{updated}}}.

<syntaxhighlight lang="wikitext" style="overflow:auto">

Personal information
BornError: Need valid birth date: year, month, day

</syntaxhighlight>

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):

<syntaxhighlight lang="wikitext">

| results =

BDO World Championship 1924
World Matchplay 1925, 1926
AN Other 1934

</syntaxhighlight>

and it will display

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

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.