Module:Cycling race/doc
This is the documentation page for Module:Cycling race
Module Cycling race is hosted on Wikidata, where the code is developed. There are several language versions of this module, with several adaptations, which are getting an update if the code is improved. Don't rename the copy or change the code, since this makes it difficult or even impossible to update your language version. A better way is to directly improve this module or to come to the talk page of this module in Wikidata (d:Module talk:Cycling race) to ask for improvements or to show us your improvements. But if you decide to go it alone, no problem, since this code is open source.
The major functions of this module are used to display data tables with content from Wikidata. This documentation will show you how to use this module and how you can insert into Wikidata items your data so that this module is able to show your data on your local Wikipedia.
Messages to our users
edit- You want to display the name of countries in teamroster, stageclassification and generalclassification ? Create on your Wikipedia the Module:Cycling race/lang, translate it and link it to Module:Cycling race/lang (Q27922085). If you show quite often country names that are not in the lang module it is better to adapt the list, because this will speed up the Wikipedia article. Another reason to edit the lang module is to shorten a long country name.
- You want to work in your language ? Translate our kit and verify each month our new entries. Don't forget our kit about jerseys.
- You can update your documentation about Template:Cycling race/listofwinners (Q22054867) thanks to the two new specific cases detailed on Modèle:Cycling race/listofwinners : a race with a name change and a race with an edition cancelled.
- You want 2017 team rosters ? Click here and take our data. Make yourself the necessary updates if a cyclist change of team during the season. You want data for 2017 races ? click here.
- For last version of the module, copy Module:Cycling race/data on your local Wikipedia. Also export Module:Cycling race/l10n all by using Module:Cycling race/data exporter, just change the local wiki = "fr" in the code to your language and copy it in you Wikipedia Module:Cycling race/l10n.
- Tests: Module:Cycling race/Test
Adaptations
editModule:Cycling race (Q21707933) → Template:Cycling race/listofstages (Q21707927), Template:Cycling race/listofwinners (Q22054867), Template:Cycling race/infobox (Q22569576), Template:Cycling race/teamroster (Q23013328), Template:Cycling race/generalclassification (Q24788750), Template:Cycling race/stageclassification (Q24788814), Template:Cycling race/teamtimetrialclassification (Q26776118), Template:Cycling race/listofteams (Q26817513), Template:Cycling race/stageinfobox (Q27093254), Template:Cycling race/pointsclassification (Q28381349)
- fr:Module:Cycling race
- nl:Module:Cycling race
- br:Module:Cycling race
- mk:Модул:Cycling race
- es:Módulo:Cycling race
- de:Modul:Cycling race
- ro:Modul:Cycling race
- ja:モジュール:Cycling race
- ca:Mòdul:Cycling race
- pt:Módulo:Cycling race
- lv:Modulis:Cycling race
- no:Modul:Cycling race
- lb:Modul:Cycling race
- ru:Модуль:Cycling race
- eo:Modulo:Cycling race
- pl:Moduł:Cycling race
- eu:Modulu:Cycling race
- da:Modul:Cycling race
- cs:Modul:Cycling race
- fi:Moduuli:Cycling race
- sv:Modul:Cycling race
- fo:Module:Cycling race
- ar:وحدة:Cycling race
- hu:Modul:Cycling race
- n:fr:Module:Cycling race
- he:יחידה:Cycling race
- ast:Módulu:Cycling race
- tr:Modül:Cycling race
- nds:Modul:Cycling_race
- als:Modul:Cycling_race
Documenting functions
editWikidata:WikiProject Cycling/Documentation/Propertiesoverview
Cycling race/listofstages
editWikidata:WikiProject Cycling/Documentation/listofstages
Cycling race/listofstagesclassification
editWikidata:WikiProject Cycling/Documentation/listofstagesclassification
Cycling race/listofwinners
edit- Wikidata:WikiProject Cycling/Documentation/listofwinners
- Wikidata:WikiProject Cycling/Documentation/listofwinnersChamp
- Wikidata:WikiProject Cycling/Documentation/listofwinnersChampsecondpart
- Wikidata:WikiProject Cycling/Documentation/listofpointswinners
- Wikidata:WikiProject Cycling/Documentation/listofmountainwinners
- Wikidata:WikiProject Cycling/Documentation/listofyoungwinners
- Wikidata:WikiProject Cycling/Documentation/listofwinnerswithteam
Cycling race/infobox
edit- Wikidata:WikiProject Cycling/Documentation/infobox
- Wikidata:WikiProject Cycling/Documentation/seasoninfobox
- Wikidata:WikiProject Cycling/Documentation/champinfobox
Cycling race/raceinfobox
editWikidata:WikiProject Cycling/Documentation/raceinfobox
Cycling race/teamroster
editWikidata:WikiProject Cycling/Documentation/teamroster
Cycling race/generalclassification
editWikidata:WikiProject Cycling/Documentation/generalclassification
Cycling race/stageclassification
editWikidata:WikiProject Cycling/Documentation/stageclassification
Cycling race/teamtimetrialclassification
editWikidata:WikiProject Cycling/Documentation/teamtimetrialclassification
Cycling race/listofteams
editWikidata:WikiProject Cycling/Documentation/listofteams
Cycling race/stageinfobox
editWikidata:WikiProject Cycling/Documentation/stageinfobox
Cycling race/teamsclassificationbytime
editWikidata:WikiProject Cycling/Documentation/teamsclassificationbytime
Cycling race/teamsclassificationbypoints
editWikidata:WikiProject Cycling/Documentation/teamsclassificationbypoints
Cycling race/pointsclassification
editWikidata:WikiProject Cycling/Documentation/pointsclassification
Cycling race/mountainsclassification
editWikidata:WikiProject Cycling/Documentation/mountainsclassification
Cycling race/sprintsclassification
editWikidata:WikiProject Cycling/Documentation/sprintsclassification
Cycling race/bestyoungclassification
editWikidata:WikiProject Cycling/Documentation/bestyoungclassification
Cycling race/bestyoungclassificationbypoints
editWikidata:WikiProject Cycling/Documentation/bestyoungclassificationbypoints
Cycling race/u23classification
editWikidata:WikiProject Cycling/Documentation/u23classification
Cycling race/combinationclassification
editWikidata:WikiProject Cycling/Documentation/combinationclassification
Cycling race/combativeclassification
editWikidata:WikiProject Cycling/Documentation/combativeclassification
Cycling race/generalclassificationforttt (New)
editWikidata:WikiProject Cycling/Documentation/generalclassificationforttt
Cycling race/UCIclassification
editWikidata:WikiProject Cycling/Documentation/UCIclassification
Cycling race/calendar
edit- Wikidata:WikiProject Cycling/Documentation/Calendar
- Wikidata:WikiProject Cycling/Documentation/Calendarcustom
Cycling race/nationalchampionships
editWikidata:WikiProject Cycling/Documentation/nationalchampionships
Cycling race/startlist
edit- Wikidata:WikiProject Cycling/Documentation/startlist
- Wikidata:WikiProject Cycling/Documentation/startlisttable
Cycling race/stagetitle
editWikidata:WikiProject Cycling/Documentation/stagetitle
Cycling race/riderranking
editWikidata:WikiProject Cycling/Documentation/riderranking
Cycling race/teamranking
edit- teamranking_UCIwomen
- teamranking_WWT
- teamranking_womenWorldCup
- teamranking_UWT
- teamranking_europe
- teamranking_asia
- teamranking_oceania
- teamranking_america
- teamranking_africa
- teamranking_WorldRanking
- teamranking_WorldCalendar
- teamranking_UPT
- teamranking_UCImen
- teamranking_MenWorldCup
- teamranking_Pernod
- teamranking_Desgrange
Are identical in the principle, only the underlying ranking differ. Documentation is: Wikidata:WikiProject Cycling/Documentation/teamranking
Cycling race/riderinfobox
editWikidata:WikiProject Cycling/Documentation/riderinfobox
Cycling race/teaminfobox
editWikidata:WikiProject Cycling/Documentation/teaminfobox
Cycling race/teamseasoninfobox
editWikidata:WikiProject Cycling/Documentation/teamseasoninfobox
Cycling race/victories
editKit to translate
editWikidata:WikiProject Cycling/Kit to translate
Wikidata:WikiProject Cycling/Kit to translate/Jerseys
Wikidata:WikiProject Cycling/Kit to translate/Championships
Wikidata:WikiProject Cycling/Kit to translate/National teams
Wikidata:WikiProject Cycling/Listofwinners
Sourcing Wikidata
editDocumention of the code
editThe more technical documentation of the program is published in English on the page Module talk:Cycling race/doc.