User:SebastianHellmann/doc2
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) eg BDO = 1987 to 1993.
{{Infobox darts player | playername = | image = [[Image:Replace this image male.svg|150px]] | fullname = | nickname = | dateofbirth = {{birth date and age|yyyy|mm|dd}} | cityofbirth = | countryofbirth = | dateofdeath = | cityofdeath = | countryofdeath = | hometown = | homecountry = | since = | darts = | laterality = | music = | BDO = | PDC = | currentrank = | BDO World = | World Masters = | World Darts Trophy = | Int. Darts League = | Dutch Masters = | PDC World = | Matchplay = | Grand Prix = | Grand Slam = | Premier League = | Championship League = | Vegas = | European = | UK Open = | US Open = | PC Finals = | tournament = | resultyears = | achievement = }} |
For each tournament add the best performance eg | 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 multiple tournament wins list all the tournaments first, then the years in the same order (as in this example):
| tournament = BDO World Championship <br /> World Matchplay <br /> AN Other <br /> | resultyears = 1924 <br /> 1925, 1926 <br /> 1934 <br /> |
and it will display
SebastianHellmann/doc2 | |
---|---|
Born | |
Other tournament wins | |
Tournament | Years |
BDO World Championship World Matchplay | 1924 1925, 1926 |
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.
Template Annotation
[edit]The aim of this semantic annotation is to provide additional and strict information about the infobox usage.
Template Mapping | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
relates to class: Athlete | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Semantic annotations are intended to provide a coherent description of infobox templates. See here for further information: Page with explanation and RDF OWL |