Template:Cycling pw rider
|- |{{{year}}} | style="text-align: left;" | |{{{name}}} | style="text-align: left;" | |{{{team}}}
Cycling past winner is a set of five templates to create a standardised palmares for cycling races. This set is designed for a single winner, with details of their team. The five templates are:
- {{Cycling pw start}}
- {{Cycling pw rider}}
- {{Cycling pw no race}}
- {{Cycling pw mid}}
- {{Cycling pw end}}
{{Cycling pw rider}} and {{Cycling pw no race}} have parameters
Using the templates together
The templates create a list in two columns. Every list must start with {{Cycling pw start}}. Each race edition needs a {{Cycling pw rider}}, or {{Cycling pw no race}} if there was a year without an edition, with parameters as set out below. The {{Cycling pw mid}} template marks the point where the list is split from the first column to the second. Finally, the list must end with {{Cycling pw end}} to close everything up.
Parameters of {{Cycling pw rider}}
{{Cycling pw rider|year= |name= |nat= |natvar= |team= |teamnat= |teamnatvar= }}
- {{{year}}} - edition of race, wikilinked to the pace page if applicable, not wikilinked if one doesn't exist or is unlikely to exist
- {{{name}}} - Rider's name, wikilinked
- {{{nat}}} - the rider's UCI registered nationality, can either be the three letter code or full name. Do not wikilink
- {{{natvar}}} - allows a contemporary flag to be shown by choosing a flag variation. If left blank, the default is the current flag.
- {{{team}}} - name of the team, wikilinked
- {{{teamnat}}} - UCI reigistered team nationality. Do not wikilink
- {{{teamnatvar}}} - allows a contemporary flag to be shown by choosing a flag variation. If left blank, the default is the current flag.
Parameters of {{Cycling pw no race}}
{{Cycling pw no race|year= }}
- {{{year}}} - year the race was not run
Quick use
To aid quick use, each template can cut out past winner and replace it with pw, namely:
- {{Cycling pw start}} > {{Cycling pw start}}
- {{Cycling pw rider}} > {{Cycling pw rider}}
- {{Cycling pw no race}} > {{Cycling pw no race}}
- {{Cycling pw mid}} > {{Cycling pw mid}}
- {{Cycling pw end}} > {{Cycling pw end}}
Parameters remain the same.
Style guide
List of works
As per WP:LOW, entries should be order oldest first and newest at the bottom.
The above documentation is transcluded from Template:Cycling pw rider/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |