Template:Cycling past winner rider/doc
This is a documentation subpage for Template:Cycling past winner 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 six templates to create a standardised palmares for cycling races. This set is designed for a single winner, with details of their team. The six templates are:
- {{Cycling past winner start}}
- {{Cycling past winner rider}}
- {{Cycling past winner rider2}}
- {{Cycling past winner no race}}
- {{Cycling past winner unknown}}
- {{Cycling past winner end}}
{{Cycling past winner rider}}, {{Cycling past winner rider2}}, {{Cycling past winner no race}} and {{Cycling past winner unknown}} have parameters
Using the templates together
[edit]The templates create a list in two columns. Every list must start with {{Cycling past winner start}}. Each race edition needs a {{Cycling past winner rider}}, or {{Cycling past winner no race}} if there was a year without an edition, with parameters as set out below. Finally, the list must end with {{Cycling past winner end}} to close everything up.
Parameters of {{Cycling past winner rider}}
[edit]{{Cycling past winner rider|year= |name= |nat= |natvar= |team= }}
- {{{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
Parameters of {{Cycling past winner no race}}
[edit]{{Cycling past winner no race|year= |reason= }}
- {{{year}}} - year the race was not run
- {{{reason}}} - reason for the lack of a race (optional)
Parameters of {{Cycling past winner unknown}}
[edit]{{Cycling past winner unknown|year= }}
- {{{year}}} - years for which it is unknown if the race was run or who the winner was
Quick use
[edit]To aid quick use, each template can cut out past winner and replace it with pw, namely:
- {{Cycling past winner start}} > {{Cycling pw start}}
- {{Cycling past winner rider}} > {{Cycling pw rider}}
- {{Cycling past winner rider2}} > {{Cycling pw rider2}}
- {{Cycling past winner no race}} > {{Cycling pw no race}}
- {{Cycling past winner unknown}} > {{Cycling pw unknown}}
- {{Cycling past winner end}} > {{Cycling pw end}}
Parameters remain the same.
Style guide
[edit]List of works
[edit]As per WP:LOW, entries should be order oldest first and newest at the bottom.