Template:Cycling pw rider/doc
This is a documentation subpage for Template:Cycling pw rider. It may contain usage information, categories and other content that is not part of the original template page. |
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
changeThe 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}}
change{{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}}
change{{Cycling pw no race|year= }}
- {{{year}}} - year the race was not run
Quick use
changeTo 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
changeList of works
changeAs per WP:LOW, entries should be order oldest first and newest at the bottom.