Utilisateur:GAN/Description of module functions

Changes

modifier
  • local function getPlaceLink(placeID)

Added support for Cycling race/lang so that you can add alternative options for displaying the start and finish of races. As well as a number of other names and infoboxes of the season and championship

listofteams

modifier

Listing of second national teams (d:Q99658502) (for example team "B" on Tour de France ) and U-19 teams (d:Q54555994). They are displayed similarly to U-23 teams.

Found another type of team - "regional team" (d:Q20653570). Made them added to Regional and club teams. An attempt to make the display of the region similar to the national teams (in the native language), but with the country flag - did not work

infobox

modifier
  • New templates based on "infobox" --> "infoboxseason" and "infoboxChamp". For seasons and championships, similar to normal races.

listofwinners

modifier

listofwinners --> "beginyear" and "endyear"

modifier
  • removed templates from the module listofwinnersfirstpart, listofwinnerssecondpart, listofwinnersChampfirstpart and listofwinnersChampsecondpart
Why not. Psemdel (discuter) 11 octobre 2020 à 18:23 (CEST)
  • listofwinnerssecondpart and listofwinnersChampsecondpart managed to be replaced. I suspect that you can make it possible to add after the template. Or even combine both possibilities together.
Yes, it is just the same without title. Psemdel (discuter) 11 octobre 2020 à 18:23 (CEST)

{Cycling race/listofwinnerscountryU23|Q...|X|Y|Z}}

  • Q... - element on high pressure
  • X - the year from which to start displaying the list of winners
  • Y - the year to finish start displaying the list of winners
  • Z - if there is no or = 0 (zero) --> standard heading, if = 1 (one) --> arbitrary heading and the ability to add the necessary text on top, if = 2 (two) -> only results and the ability to add the necessary text above and below. Allows you to combine several identical tables into one.

Display options

modifier

Joining two tables

modifier

Adding a header inside a table with a column shift

modifier

Tables for seasonal tournaments on the example of the UCI Europe Tour

modifier