Difference between revisions of "Template:Infobox cycling race report/doc"
en>BaldBoris (protected) |
m (1 revision imported) |
(No difference)
|
Revision as of 10:12, 21 October 2018
Lua error: Internal error: The interpreter exited with status 127. Lua error: Internal error: The interpreter exited with status 127.
Lua error: Internal error: The interpreter exited with status 127. Infobox cycling race report provides an overview and summary of a cycling race report article. It was designed for road races, however can be used for any discipline and can be amended to accommodate other disciplines if this helps; please suggest changes on the talk page.
Usage
|
|
|
|
Parameters
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}}) (see MOS:DATERANGE) |
stages | Must put in 1 for a one-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 |
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) |
Microformat
The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.
- Classes used
The HTML classes of this microformat include:
- Lua error: Internal error: The interpreter exited with status 127.
nor collapse nested elements which use them.
TemplateData
TemplateData for Infobox cycling race report
<templatedata> { "params": { "name": { "label": "Name", "description": "Name of the race - typically the same as the title", "type": "line", "suggested": true }, "series": { "label": "Series", "description": "Name of the series of which the race is a part", "type": "line" }, "race_no": { "label": "Race number", "description": "The number of the race in the series" }, "season_no": { "label": "Season number", "description": "The total number of races in the series" }, "image": { "label": "Image", "description": "Image to display at top of infobox", "type": "wiki-file-name" }, "image_size": { "label": "Image size", "description": "Size of header image (omit px)", "type": "number", "default": "200" }, "image_caption": { "label": "Image caption", "description": "A caption to explain the image", "type": "string", "default": "" }, "image_alt": { "label": "Image ALT", "description": "An alternative text for the image (see WP:ALT)", "type": "line" }, "date": { "label": "Date", "description": "Date(s) of the race. Use (and )" }, "stages": { "label": "Stages", "description": "Number of stages (use 1 for a one-day race)", "type": "number", "autovalue": "1" }, "distance": { "label": "Distance", "description": "Race distance (omit unit)", "type": "number", "autovalue": "" }, "unit": { "label": "Unit", "description": "Unit of distance, usually km or mi", "type": "line", "autovalue": "km" }, "time": { "label": "Time", "description": "Total time of the race winner", "type": "line", "autovalue": "" }, "type": { "label": "Type", "description": "If it's a championship race, enter \"medals\"", "type": "line" }, "first": { "label": "Name of winner", "description": "Name of the winner, wikilinked as appropriate", "type": "line" }, "first_color": { "label": "Winner color", "description": "Colour of the winner's jersey", "type": "line" }, "first_nat": { "label": "Winner's nationality", "description": "Three letter nationality code (e.g. GER)", "type": "line" }, "first_natvar": { "label": "Winner nationality variant", "description": "A flag variant to be used instead of the standard winner's flag, e.g. 1815", "type": "string" }, "first_team": { "label": "Winner's team", "description": "Name of winner's team (use {{ct}})", "type": "line" }, "second": { "label": "Name of second place", "description": "Name of second placed rider, wikilinked", "type": "line" }, "second_nat": { "label": "Second place nationality", "description": "Three letter nationality code (e.g. GER)", "type": "line" }, "second_natvar": { "label": "Second place nationality variant", "description": "A flag variant to be used instead of the standard second place flag, e.g. 1815", "type": "line" }, "second_team": { "label": "Second placed rider's team", "description": "Name of second place rider's team (use {{ct}})", "type": "line" }, "third": { "label": "Name of third place rider", "description": "Name of third placed rider, wikilinked", "type": "line" }, "third_nat": { "label": "Third place rider nationality", "description": "Three letter nationality code (e.g. GER)", "type": "line" }, "third_natvar": { "label": "Third place nationality variant", "description": "A flag variant to be used instead of the standard third place flag, e.g. 1815", "type": "line" }, "third_team": { "label": "Third place rider's team", "description": "Name of third place rider's team (use {{ct}})", "type": "line" }, "points": { "label": "Points winner", "description": "Name of the points winner, wikilinked", "type": "line" }, "mountains": { "label": "Mountains winner", "description": "Name of the mountains winner, wikilinked", "type": "line" }, "youth": { "label": "Youth winner", "description": "Name of the youth winner, wikilinked", "type": "line" }, "combination": { "label": "Combination winner", "description": "Winner of the combination prize, wikilinked", "type": "line" }, "sprints": { "label": "Sprints winner", "description": "Name of the sprints winner, wikilinked", "type": "line" }, "combativity": { "label": "Combativity winner", "description": "Name of the combativity winner, wikilinked", "type": "line" }, "intergiro": { "label": "Intergiro winner", "description": "Name of the intergiro winner, wikilinked", "type": "line" }, "team": { "label": "Winning team name", "description": "Winner of the teams classification (use Template:Ct)", "type": "line" }, "teampoints": { "label": "Team points winner", "description": "Winner of the team points classification (use Template:Ct)", "type": "line" }, "points_color": { "label": "Points color", "description": "Color of the points jersey", "type": "line" }, "points_nat": { "label": "Points nationality", "description": "Nationality of the points winner (e.g. GER)", "type": "line" }, "points_natvar": { "label": "Points nationality variant", "description": "Flag variant of the points winner (e.g. 1861)", "type": "line" }, "points_team": { "label": "Points winner's team", "description": "Team of the points winner (use Template:Ct)", "type": "line" }, "mountains_color": { "label": "Mountains color", "description": "Color of the mountains jersey (e.g. polkadot)", "type": "line" }, "mountains_nat": { "label": "Mountains nationality", "description": "Nationality of the mountains winner (e.g. GER)", "type": "line" }, "mountains_natvar": { "label": "Mountains nationality variant", "description": "Flag variant of the mountains winner (e.g. 1861)", "type": "line" }, "mountains_team": { "label": "Mountains winner's team", "description": "Team of the mountains winner (use Template:Ct)", "type": "line" }, "youth_color": { "label": "Youth jersey color", "description": "Color of the young rider's jersey", "type": "line" }, "youth_nat": { "label": "Youth nationality", "description": "Nationality of the young rider's winner (e.g. GER)", "type": "line" }, "youth_natvar": { "label": "Youth nationality variant", "description": "Flag variant of the youth winner (e.g. 1861)", "type": "line" }, "youth_team": { "label": "Youth team", "description": "Team of the youth winner (use Template:Ct)", "type": "line" }, "combination_color": { "label": "Combination jersey color", "description": "Color of the combination jersey", "type": "line" }, "combination_nat": { "label": "Combination nationality", "description": "Nationality of the combination winner (e.g. GER)", "type": "line" }, "combination_natvar": { "label": "Combination nationality variant", "description": "Flag variant of the combination winner (e.g. 1861)", "type": "line" }, "combination_team": { "label": "Combination team", "description": "Team of the combination winner (use Template:Ct)", "type": "line" }, "sprints_color": { "label": "Sprints jersey color", "description": "Color of the sprints jersey", "type": "line" }, "sprints_nat": { "label": "Sprints nationality", "description": "Nationality of the sprints winner (e.g. GER)", "type": "line" }, "sprints_natvar": { "label": "Sprints nationality variant", "description": "Flag variant of the sprints winner (e.g. 1861)", "type": "line" }, "sprints_team": { "label": "Sprints team", "description": "Team of the sprints winner (use Template:Ct)", "type": "line" }, "combativity_color": { "label": "Combativity jersey color", "description": "Color of the combativity jersey", "type": "line" }, "combativity_nat": { "label": "Combativity nationality", "description": "Nationality of the combativity winner (e.g. GER)", "type": "line" }, "combativity_natvar": { "label": "Combativity nationality variant", "description": "Flag variant of the combativity winner (e.g. 1861)", "type": "line" }, "combativity_team": { "label": "Combativity team", "description": "Team of the combativity winner (use Template:Ct)", "type": "line" }, "intergiro_color": { "label": "Sprints jersey color", "description": "Color of the intergiro jersey", "type": "line" }, "intergiro_nat": { "label": "Sprints nationality", "description": "Nationality of the intergiro winner (e.g. GER)", "type": "line" }, "intergiro_natvar": { "label": "Sprints nationality variant", "description": "Flag variant of the intergiro winner (e.g. 1861)", "type": "line" }, "intergiro_team": { "label": "Sprints team", "description": "Team of the intergiro winner (use Template:Ct)", "type": "line" }, "team_color": { "label": "Team classification jersey color", "description": "Color of the team classification leader's jersey", "type": "line" }, "previous": { "label": "Previous edition", "description": "Wikilinked name of the previous edition", "type": "line" }, "next": { "label": "Next edition", "description": "Wikilinked name of the next edition", "type": "line" } } } </templatedata>
Tracking category