Module:Cycling team/doc
This is the documentation page for Module:Cycling team
Module:Cycling team is hosted on Wikidata, where the code is developed. Currently there is one function Cycling team/squad which displays a list of team riders in particular season.
Currently it is deployed on these Wikipedias:
You can add your own Wikipedia by translation some messages in your language (look for l10nDef in code) and copying code to your wiki.
Requirements
[edit]Module requires Template:Birth date and age2 (Q6438902) to be present on your wiki with name "Template:Birth date and age2" (can be redirect). See function getDateAndAgeOnDate if you want to handle it differently on your wiki.
Current issues / TODO list
[edit]- Sorting by surname - no proper way to do it.
- Footnotes for riders who have left/joined the team mid-season.
Usage
[edit]To use squad function, indicate Wikidata Qnum of team squad. Optionally indicate 1 or 2 (default) column layout.
Examples
[edit]Cannondale Pro Cycling team 2016
[edit]{{#invoke:Cycling team|squad|1=Q21769874}}
Topsport Vlaanderen-Baloise 2016, 1 column layout
[edit]{{#invoke:Cycling team|squad|1=Q21968189|columns=1}}
|