Wikidata:WikiProject Cycling/Documentation/listofstages
Stage | Date | Course | type | Distance - km (mi) | Stage winner | Overall leader |
---|---|---|---|---|---|---|
1re stage | 19 Jan | Prospect – Lyndoch | 130.8 | Caleb Ewan | Caleb Ewan | |
2e stage | 20 Jan | Unley – Stirling | 132 | Jay McCarthy | Jay McCarthy | |
3e stage | 21 Jan | Glenelg – Campbelltown | 139 | Simon Gerrans | Simon Gerrans | |
4e stage | 22 Jan | Norwood – Victor Harbor | 138 | Simon Gerrans | Simon Gerrans | |
5e stage | 23 Jan | McLaren Vale – Willunga | 151.5 | Richie Porte | Simon Gerrans | |
6e stage | 24 Jan | Adelaide – Adelaide | 90 | Caleb Ewan | Simon Gerrans |
The listofstages function generates in the body of an article a table listing the stages of a cycle race, with the stage number, the date, the departure and arrival cities, the type of stage, the distance, the stage winner and overall leader. For this documentation, 2016 Tour Down Under (Q21093836) will be taken as an example. The item of the race carries the Q21093836 number, module is always called by {{Cycling race/listofstages|Q21093836}}
, regardless of the language version. First, each stage of the cycling race must have its own item, it can have two items for a small stage race up to twenty for a Grand Tour. On the part of the cycling race, in addition to more traditional information to fill the infobox, you need to list the stages items with has part(s) (P527). Values are 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) and 2016 Tour Down Under, Stage 6 (Q21934634).
Secondly, the work takes place in each of the items of the stages of this race. The example used here is the 2016 Tour Down Under, Stage 1 (Q21934629).
- instance of (P31) is used to define the type of stage. Possible values are individual time trial (Q2266066), team time trial (Q2348250), uphill time trial (Q20679712), prologue (Q485321), plain stage (Q20646667), hilly stage (Q20646670), medium mountain stage (Q20680270) and mountain stage (Q20646668). If this information is displayed as such in the infobox for the table in question is a small icon that appears;
- part of (P361) is used to define the race which contains the stage, here Wikibase value (Q19798642). The value is necessarily a cycling race edition;
- series ordinal (P1545) is used to indicate the stage number, here 1. When the race includes halve stages, simply enter 2a or 2b for example. If it is a prologue, write 0.
- point in time (P585) is used to indicate the date. This must include the day, month and year even if the year is not shown in the table;
- start point (P1427) is used to indicate the place of departure, as far as possible it should be a city, here it comes Prospect (Q3924087);
- destination point (P1444) is used to indicate the place of arrival, if possible it should be a city, here it comes Lyndoch (Q1415174);
- event distance (P3157)
length (P2043)is used to indicate the distance/lenght of the stage, be sure to attach the unit is km (kilometre). The value, here 130.8 km, is added without bounds (i.e. without +-0) if there is no uncertainty specified in sources. If the route comes to have changed, do not delete the wrong value because it is contained in the sources, it must be set to deprecated rank, and add qualifier reason for deprecated rank (P2241) with the value Q22260785, use mileage of an erroneous cycling race (Q21848415) if it is another mistake. In this case, it is necessary to add sources; - ProCyclingStats race ID (P2327) does not affect the rendering of the table, it is just imperative to source data. The value is usually a five- or six-digit number, as here 163234. It is also possible that this is the name of the page. Template:ProCyclingStats (Q20742687) is operational in twenty languages thanks to this property;
- winner (P1346) is used to list the different winners, jerseys holders and riders on the podium, any value must necessarily have a qualifier. For the smooth running of the table, it is usually necessary to know two values:
- The stage winner, here Caleb Ewan (Q2933765), qualified by of (P642) that is set to stage winner (Q20882747);
- The overall leader at the end of the stage, again Caleb Ewan (Q2933765), qualified by of (P642) that is set to overall leader at the end of the stage (Q20882763). When it is the last stage of the race, the value must be overall winner general classification (Q20882667).
These properties are used to complete the table. It is possible to make additional statements to fill the stage infobox. The number of values for has part(s) (P527) can count the stages to the infobox cycle races.