Template:Cjersey/doc

From blackwiki
Jump to navigation Jump to search

Usage

{{cjersey}} generates icons of cycling jerseys to use to denote the current leader of a classification in cycling result tables.

cjersey has three parameters: the first is the colour of the jersey, the second the name of the classification. An optional size parameter is also available to customise the size of the jersey, defaulting to 20px.

Jerseys available

These are the currently available jerseys:

Examples

  • {{cjersey|green|Points classification|size=5px}} gives 5px
  • {{cjersey|white|Young rider classification}} gives 20px
  • {{cjersey|yellow|Points classification|size=35px}} gives 35px

TemplateData

Provides jersey icons for leaders of classifications in cycling races

Template parameters

ParameterDescriptionTypeStatus
Colour1

Colour of the jersey (lowercase)

Linerequired
Classification2

Name of the classification (e.g. "General classification")

Linesuggested
Size size

Size of the jersey image

Default
20px
Lineoptional