Fyrimynd:Cyclingresult/doc
Hetta er ein dokumentatión undirsíða til Fyrimynd:Cyclingresult. Hon inniheldur kunning um nýtsluna, bólkar og um annað innihald, ið ikki er við í uppruna fyrimynd síðuni. |
Usage
[rætta wikitekst]are used for creating results tables of cycling articles.
The table begins with {{Cyclingresult start}}
, then one or more {{Cyclingresult}}
and finishes with {{Cyclingresult end}}
.
Example of table with 2 riders (note: an infinite amount of riders is possible):
Nr. | Súkklari | Lið | Tíð |
---|---|---|---|
1 | Ellen van Dijk (NED) | Boels Dolmans Cycling Team | 2h 15' 30" |
2 | Evelyn Stevens (USA) | Boels Dolmans Cycling Team | + 30" |
Cyclingresult start
[rætta wikitekst]{{Cyclingresult start}}
gives the header of the results table of the table. It gives:
Nr. | Súkklari | Lið | Tíð |
---|
{{Cyclingresult start|points=yes}}
can be used to list points instead of time:
Nr. | Súkklari | Lið | Stig |
---|
If you are not listing teams or times:
{{Cyclingresult start|team=no}}
gives:
Nr. | Súkklari | Tíð |
---|
{{Cyclingresult start|time=no}}
gives:
Nr. | Súkklari | Lið
|
---|
{{Cyclingresult start|team=no|time=no}}
gives:
Nr. | Súkklari
|
---|
You can set a custom title, or disable the display of a title:
{{Cyclingresult start|title=Result of stage 1}}
gives:
Nr. | Súkklari | Lið | Tíð |
---|
{{Cyclingresult start|title=none}}
gives:
Nr. | Súkklari | Lið | Tíð |
---|
Cyclingresult
[rætta wikitekst]{{Cyclingresult}}
results in one row of the results table. It is used in the following way:
{{Cyclingresult|position|rider name|rider country (code)|team|time}}
Example:
{{Cyclingresult start}} {{Cyclingresult|1|Ellen van Dijk|NED|[[Boels Dolmans Cycling Team]]|2h 15' 30"}} {{Cyclingresult|2|Evelyn Stevens|United States|Boels Dolmans Cycling Team|+ 30"}} {{Cyclingresult end}}
gives:
Nr. | Súkklari | Lið | Tíð |
---|---|---|---|
1 | Ellen van Dijk (NED) | Boels Dolmans Cycling Team | 2h 15' 30" |
2 | Evelyn Stevens (USA) | Boels Dolmans Cycling Team | + 30" |
Adding a jersey or a note
[rætta wikitekst]Sometimes you want to add a jersey to a rider's entry in the results table. You can add this by adding the jersey as the sixth parameter, using {{cjersey}} if appropriate.
{{Cyclingresult start}} {{Cyclingresult|1|Ellen van Dijk|NED|[[Boels Dolmans Cycling Team]]|2h 15' 30"|{{cjersey|women world cup}}}} {{Cyclingresult|2|Evelyn Stevens|United States|Boels Dolmans Cycling Team|+ 30"}} {{Cyclingresult end}}
gives:
Nr. | Súkklari | Lið | Tíð |
---|---|---|---|
1 | Ellen van Dijk (NED) | Boels Dolmans Cycling Team | 2h 15' 30" |
2 | Evelyn Stevens (United States) | Boels Dolmans Cycling Team | + 30" |
No country indication
[rætta wikitekst]If you don't want to include the rider's nationality, leave the parameter empty:
{{Cyclingresult start}} {{Cyclingresult|1|Ellen van Dijk||[[Boels Dolmans Cycling Team]]|2h 15' 30"}} {{Cyclingresult|2|Evelyn Stevens||Boels Dolmans Cycling Team|+ 30"}} {{Cyclingresult end}}
gives:
Nr. | Súkklari | Lið | Tíð |
---|---|---|---|
1 | Ellen van Dijk | Boels Dolmans Cycling Team | 2h 15' 30" |
2 | Evelyn Stevens | Boels Dolmans Cycling Team | + 30" |
No team or time
[rætta wikitekst]You can also omit the time or team entries from the results table: leave the relevant parameters empty. Don't forget to add |team=no, |time=no or |time=no|team=no in the {{cyclingresult start}} entry.
Example
{{Cyclingresult start|team=no}} {{Cyclingresult|1|Ellen van Dijk|NED||2h 15' 30"}} {{Cyclingresult|2|Evelyn Stevens|USA||+ 30"}} {{Cyclingresult end}}
gives:
Nr. | Súkklari | Tíð |
---|---|---|
1 | Ellen van Dijk (NED) | 2h 15' 30" |
2 | Evelyn Stevens (USA) | + 30" |
Team time trial
[rætta wikitekst]The template can be used for the result of a team time trial:
{{Cyclingresult start|rider=no}} {{Cyclingresult|1|||[[Boels Dolmans Cycling Team]]|2h 15' 30"}} {{Cyclingresult|2|||{{ct|RBW|2015}}|+ 30"}} {{Cyclingresult end}}
gives:
Nr. | Súkklari | Lið | Tíð |
---|---|---|---|
1 | Boels Dolmans Cycling Team | 2h 15' 30" | |
2 | Rabo–Liv | + 30" |
Adding a source
[rætta wikitekst]You can add a source to the table by adding the source
parameter to {{cyclingresult end}}. For example:
{{cyclingresult start}} {{cyclingresult|1|[[Niki Terpstra]]|NED|{{ct|OPQ|2014}}|6hr 9' 1"}} {{cyclingresult end|source=<ref>{{cite web|title=Paris - Roubaix results|url=http://www.procyclingstats.com/race/Paris_Roubaix_2014|website=ProCyclingStats|accessdate=15 July 2015}}</ref>}}
Nr. | Súkklari | Lið | Tíð |
---|---|---|---|
1 | Niki Terpstra (NED) | Omega Pharma–Quick-Step | 6hr 9' 1" |
Kelda: [1] |
- ↑ "Paris - Roubaix results". http://www.procyclingstats.com/race/Paris_Roubaix_2014. Heintað 15 July 2015.