Skabelon:Infoboks cykelløb rapport/doc
Dette er dokumentationsundersiden til Skabelon:Infoboks cykelløb rapport. Denne side indeholder information om brug, kategorier samt andet indhold, som ikke er en del af den oprindelige skabelonside. |
Skabelonen er beregnet på indkopiering fra engelsk Wikipedia.
Ved at huske at tilføje de to parametre "forrige" og "næste" gøres pilene på øverste linje virksomme. Se eksemplet.
På engelsk Wikipedia bruges den tilsvarende på knap 1600 artikler (April 2016)
På dansk Wikipedia bruges den på omkring 20 artikler (April 2016)
Skabelon til indsættelse
[rediger kildetekst][[{{{forrige}}} | ◀ ]] {{{name}}} [[{{{næste}}} | ▶ ]] | ||
---|---|---|
[[Image:{{{image}}}|200px {{{image_caption}}}]] | ||
{{{image_caption}}} | ||
Løbsdetaljer | ||
Dato: | {{{date}}} | |
Etaper: | {{{stages}}} | |
Distance: | {{{distance}}} {{{unit}}} | |
Vindere | ||
Vinder: | flagikon/core|variant={{{first_natvar}}}|size=}} {{{first}}} | ({{{first_team}}}) |
Anden: | flagikon/core|variant={{{second_natvar}}}|size=}} {{{second}}} | ({{{second_team}}}) |
Tredje: | flagikon/core|variant={{{third_natvar}}}|size=}} {{{third}}} | ({{{third_team}}}) |
Point: | flagikon/core|variant={{{points_natvar}}}|size=}} {{{points}}} | ({{{points_team}}}) |
Bjerg: | flagikon/core|variant={{{mountains_natvar}}}|size=}} {{{mountains}}} | ({{{mountains_team}}}) |
Ungdom: | flagikon/core|variant={{{youth_natvar}}}|size=}} {{{youth}}} | ({{{youth_team}}}) |
{{Cykelløb_rapport | forrige = | næste = | name = | image = | image_caption = | date = | stages = | distance = | unit = | time = | speed = | first = | first_nat = | first_natvar = | first_team = | second = | second_nat = | second_natvar = | second_team = | third = | third_nat = | third_natvar = | third_team = | points = | points_nat = | points_natvar = | points_team = | mountains = | mountains_nat = | mountains_natvar = | mountains_team = | youth = | youth_nat = | youth_natvar = | youth_team = }}
Eksempel
[rediger kildetekst]◀ Giro d'Italia 2008 ▶ | ||
---|---|---|
Etapeoversigt | ||
Løbsdetaljer | ||
Dato: | 10. maj–1. juni | |
Etaper: | 21 | |
Distance: | 3420.4 km | |
Vindere | ||
Vinder: | Alberto Contador | (Astana) |
Anden: | Riccardo Riccò | (Saunier Duval-Scott) |
Tredje: | Marzio Bruseghin | (Lampre) |
Point: | Daniele Bennati | (Liquigas) |
Bjerg: | Emanuele Sella | (CSF Group-Navigare) |
Ungdom: | Riccardo Riccò | (Saunier Duval-Scott) |
{{Cykelløb rapport | forrige = Giro d'Italia 2007 | næste = Giro d'Italia 2009 | name = Giro d'Italia 2008 | image = Giro d Italia 2008.png | image_caption = Etapeoversigt | date = [[10. maj]]–[[1. juni]] | stages = 21 | distance = 3420.4 | unit = km | time = 89:56.49 | speed = 38.03 | first = [[Alberto Contador]] | first_nat = ESP | first_natvar = | first_team = [[Team Astana|Astana]] | second = [[Riccardo Riccò]] | second_nat = ITA | second_natvar = | second_team = [[Saunier Duval-Scott]] | third = [[Marzio Bruseghin]] | third_nat = ITA | third_natvar = | third_team = [[Lampre-Fondital|Lampre]] | points = [[Daniele Bennati]] | points_nat = ITA | points_natvar = | points_team = [[Liquigas]] | mountains = [[Emanuele Sella]] | mountains_nat = ITA | mountains_natvar = | mountains_team = [[CSF Group-Navigare]] | youth = [[Riccardo Riccò]] | youth_nat = ITA | youth_natvar = | youth_team = [[Saunier Duval-Scott]] }}
Materiale fra den engelske vejledning
[rediger kildetekst]Usage / Brug
[rediger kildetekst]
|
|
|
|
Parameters / Parametre
[rediger kildetekst]Parameter | Usage |
---|---|
name | Name of the race - typically the same as the title |
series | Name of the series of which the race is a part |
race_no | The number of the race in the series |
season_no | The total number of races in the series |
image | A relevant image, omitting File: |
image caption | A caption to explain the image |
image_alt | An alternative text for the image (see WP:ALT) |
date | Date(s) of the race. Use {{Start date}} (and {{End date}}) |
stages | Must put in 1 for a single-day race |
distance | Distance of race - just the number |
unit | Unit of measurement of distance - typically km or mi: the template will then automatically work out a conversion |
time | Total time of the race winner |
speed | Speed of the winner, in the same unit of measurement as the distance |
type | For a championship event where medals are awarded, enter medals |
first | General classification podium |
second | |
third | |
points | Winner of each classification |
mountains | |
youth | |
combination | |
sprints | |
intergiro | |
combativity | |
team | |
teampoints | |
*_nat | Nationality of respective winner, to display the cyclists national flag |
*_natvar | Variation of national flag, to enable historical flags |
*_team | Team of respective winner |
*_color | Color of jersey of respective classification, to show the jersey next to the relevant classification |
previous | Wikilinked name of the Wikipedia article about the previous edition, if there is one, piped to show just the year (and optionally the location if different) |
next | Wikilinked name of the Wikipedia article about the next edition, if there is one, piped to show just the year (and optionally the location if different) |
TemplateData
[rediger kildetekst]TemplateData
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dette er denne skabelons TemplateData-dokumentation, som bruges af VisualEditor og andre værktøjer.
Infoboks cykelløb rapport Ingen beskrivelse.
|