Wikidata:WikiProject Cycling/Documentation/infobox

From Wikidata
Jump to navigation Jump to search

Module:Cycling race

2016 Tour Down Under
Race details
Course18e Tour Down Under
Competition2016 UCI World Tour 2.UWT
Stages6
Dates19 – 24 January 2016
Distance781.3 km
CountryAUS Australia
Journey originProspect
Journey destinationAdelaide
Teams20
Starting riders140
Arriving riders134
Average speed40.709 km/h
Official siteOfficial site
Palmares
WinnerAUS Simon Gerrans (Orica-GreenEDGE)
SecondAUS Richie Porte (BMC Racing Team)
ThirdCOL Sergio Henao (Team Sky)
PointsAUS Simon Gerrans (Orica-GreenEDGE)
MountainsCOL Sergio Henao (Team Sky)
YouthAUS Jay McCarthy (Tinkoff)
TeamUSA Cannondale
20152017
Documentation

The documentation for this function will be a mix between 2016 Tour Down Under (Q21093836) and 2015 Grand Prix de Fourmies (Q20872499). After the development of the functions listofstages and listofwinners, it was important to develop a function infobox that would, like others, potentially benefit all language versions of Wikipedia. This function does not give extra work, on the french Wikipedia, infoboxes are already completely filled with data as we enter on Wikidata. The idea is to permit to benefit the other language versions, hoping that other contributors do the same. Expected time gains should ideally be allocated to bring more writings in articles and to treat all cycling races of the UCI. To enable contributors to work in several languages, the name of the function must never be translated. The infobox is always called by {{Cycling race/infobox|Q21093836}}.

First, check if the item exists, if it is not the case, create it. We must be careful enough because it is not uncommon for cycling races have different names according to the language. The ideal is to go in the cycling competition element verify if has part(s) (P527) includes a value for the 2016 edition of the race. Once on the item of the edition of the cycling race, it must be given a label and description. A written label in different main languages ​​minimizes the risk of duplicates are created. You must then fill the infobox by giving values ​​to the properties :

2015 Grand Prix de Fourmies
Race details
Course83e Grand Prix de Fourmies
Competitions2015 UCI Europe Tour 1.HC
French Road Cycling Cup
Date6 September 2015
Distance205 km
CountryFRA France
Journey originFourmies
Journey destinationFourmies
Teams22
Starting riders173
Arriving riders162
Average speed43.312 km/h
Cost330,000 €
Official siteOfficial site
Palmares
WinnerITA Fabio Felline (Trek Factory Racing)
SecondBEL Tom Boonen (Etixx-Quick Step)
ThirdFRA Nacer Bouhanni (Cofidis, Solutions Crédits)
20142016
Documentation
country (P17) Australia (Q408)
image (P18) Fourmies - Grand Prix de Fourmies, 6 septembre 2015 (E19).JPG
media legend (P2096) : ...
instance of (P31) Tour Down Under (Q756827)
follows (P155) 2015 Tour Down Under (Q18600560)
followed by (P156) 2017 Tour Down Under (Q22338002)
locator map image (P242) Grand Prix de Fourmies 2015 (A).jpg
subclass of (P279) 1.HC (Q22231108)
part of (P361) 2016 UCI World Tour (Q20970765)
edition number (P393) 18
has part(s) (P527) 2016 Tour Down Under, Stage 1 (Q21934629)
2016 Tour Down Under, Stage 2 (Q21934630)
2016 Tour Down Under, Stage 3 (Q21934631)
2016 Tour Down Under, Stage 4 (Q21934632)
2016 Tour Down Under, Stage 5 (Q21934633)
2016 Tour Down Under, Stage 6 (Q21934634)
start time (P580) 19th January 2016
end time (P582) 24th January 2016
point in time (P585) 6th September 2015
sport (P641) road bicycle racing (Q3609)
number of participants (P1132) 140
location (P276) : beginning (Q529711)
134
location (P276) : end (Q12769393)
winner (P1346) Simon Gerrans (Q255439)
of (P642) : overall winner general classification (Q20882667)
Richie Porte (Q518222)
of (P642) : second overall (Q20882668)
Sergio Henao (Q713320)
of (P642) : third overall (Q20882669)
Simon Gerrans (Q255439)
of (P642) : winner of the points classification (Q20883007)
Sergio Henao (Q713320)
of (P642) : winner of the mountain classification (Q20883212)
Jay McCarthy (Q547194)
of (P642) : winner of the young rider classification (Q20883139)
Cannondale-Drapac 2016 (Q21769874)
of (P642) : winner of the teams classification by time (Q20882921)
start point (P1427) Prospect (Q3924087)
destination point (P1444) Adelaide (Q5112)
official name (P1448) ...
participating team (P1923) AG2R La Mondiale 2016 (Q21528775)
2016 Astana (Q21769847)
2016 BMC Racing (Q21769863)
Cannondale-Drapac 2016 (Q21769874)
...
speed (P2052) 40,709 km/h
capital cost (P2130) 330000 €
ProCyclingStats race ID (P2327) 163240
Cycling Archives race ID (archived) (P2330) 267832
event distance (P3157) length (P2043) 781,3 km

The placed at the bottom right of the infobox is a tool showing the properties that were not indicated and should be.