Template:Cjersey/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:Cjersey. It contains usage information, categories and other content that is not part of the original template page. |
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:
blue
blue polkadotFile:Jersey blue dotted.pngblue yellow fish
black
brown20pxgoldFile:Jersey gold.svggreen20pxorange20pxpink
purple
polkadot
polkadot inverse
red20pxred numberFile:Jersey red number.svgsilver20pxturquoiseFile:MaillotCyan.PNGwhite20pxyellow20pxroseFile:Jersey rosa.svglight blue
grey20pxred greenFile:Jersey red green.svgyellow number20pxeuropean champion
oceania champion20pxrainbowFile:Jersey rainbow.svgrainbow tt20pxtrack world cupFile:UCI Track World Cup jersey.pngwomen world cup20pxProTourDauphineFile:Jersey yellow-bluebar.svgTour de Pologne20pxTour de Suisse points
Amissa Bongo mountainsFile:Jersey white dots on green.svgVolta a Catalunya20pxcombination20pxgreen number= 20pxunknownFile:Jersey unknown.svg
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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Colour | 1 | Colour of the jersey (lowercase) | Line | required |
| Classification | 2 | Name of the classification (e.g. "General classification") | Line | suggested |
| Size | size | Size of the jersey image
| Line | optional |