Template:Cjersey/doc
< Template:Cjersey
Jump to navigation
Jump to search
Revision as of 14:44, 24 April 2020 by imported>Vanisaac (→TemplateData: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
| 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 polkadot
blue yellow fish
black
brown
gold
green20pxorange20pxpink20pxpurple20pxpolkadot20pxpolkadot inverse20pxred20pxred number20pxsilver20pxturquoise20pxwhite20pxyellow20pxrose20pxlight blue20pxgrey20pxred green20pxyellow number20pxeuropean champion20pxoceania champion20pxrainbow20pxrainbow tt20pxtrack world cup20pxwomen world cup20pxProTour20pxDauphine20pxTour de Pologne20pxTour de Suisse points20pxAmissa Bongo mountains20pxVolta a Catalunya20pxcombination20pxgreen number= 20pxunknown20px
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 |