Template:Infobox cycling race report/doc

From IxWiki
Revision as of 18:13, 10 August 2020 by Heku (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Testcases other

2008 Example Race
Race details
DatesFebruary 29, 2008 (2008-02-29) – March 10, 2008 (2008-03-10)
Stages9
Distance1,367 km (849.4 mi)
Winning time42h 32' 21"
Results
Winner  First O'Winner (USA) (Team Tops)
  Second  Outsprinted Second (ITA) (Just Not Enough)
  Third  Some Way de Behind (BEL) (Lost Contacts)

Points  Sprinter van Winner (GER) (Team Fast Line)
Mountains  Montana Goat (ESP) (Rip-Roar Road)
Youth  Young Gun (LUX) (Development)
Team Just Not Enough
← 2007
2009 →

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

Full parameters
{{Infobox cycling race report
| name               = 
| series             = 
| race_no            = 
| season_no          = 
| image              = 
| image_caption      = 
| image_alt          = 
| image_size         = 
| date               = <!-- {{Start date|YYYY|MM|DD}} -->
| stages             = 
| distance           = 
| unit               = 
| time               = 
| first              = 
| first_nat          = 
| first_natvar       = 
| first_team         = 
| first_color        = 
| second             = 
| second_nat         = 
| second_natvar      = 
| second_team        = 
| third              = 
| third_nat          = 
| third_natvar       = 
| third_team         = 
| points             = 
| points_nat         = 
| points_natvar      = 
| points_team        = 
| points_color       =
| mountains          = 
| mountains_nat      = 
| mountains_natvar   = 
| mountains_team     =
| mountains_color    =  
| youth              = 
| youth_nat          = 
| youth_natvar       = 
| youth_team         = 
| youth_color        = 
| combination        = 
| combination_nat    = 
| combination_natvar = 
| combination_team   = 
| combination_color  = 
| sprints            = 
| sprints_nat        = 
| sprints_natvar     = 
| sprints_team       = 
| sprints_color      = 
| combativity        = 
| combativity_nat    = 
| combativity_natvar = 
| combativity_team   =
| combativity_color  = 
| team               = 
| team_color         = 
| teampoints         = 
| previous           = 
| next               = 
}}
For stage races
{{Infobox cycling race report
| name               = 
| series             = 
| race_no            = 
| season_no          = 
| image              = 
| image_caption      = 
| image_alt          = 
| date               =  <!-- {{Start date|YYYY|MM|DD}} -->
| stages             = 
| distance           = 
| unit               = 
| time               = 
| first              = 
| first_nat          = 
| first_natvar       = 
| first_team         = 
| first_color        = 
| second             = 
| second_nat         = 
| second_natvar      = 
| second_team        = 
| third              = 
| third_nat          = 
| third_natvar       = 
| third_team         = 
| points             = 
| points_nat         = 
| points_natvar      = 
| points_team        = 
| points_color       = 
| mountains          = 
| mountains_nat      = 
| mountains_natvar   = 
| mountains_team     = 
| mountains_color    = 
| youth              = 
| youth_nat          = 
| youth_natvar       = 
| youth_team         = 
| youth_color        = 
| combination        = 
| combination_nat    = 
| combination_natvar = 
| combination_team   = 
| combination_color  = 
| sprints            = 
| sprints_nat        = 
| sprints_natvar     = 
| sprints_team       = 
| sprints_color      = 
| team               = 
| team_color         = 
| team_points        = 
| previous           = 
| next               = 
}}
For one-day races
{{Infobox cycling race report
| name               = 
| series             = 
| race_no            = 
| season_no          = 
| image              = 
| image_alt          = 
| image_caption      = 
| date               =  <!-- {{Start date|YYYY|MM|DD}} -->
| stages             = 1
| distance           = 
| unit               = 
| time               = 
| first              = 
| first_nat          = 
| first_natvar       = 
| first_team         = 
| second             = 
| second_nat         = 
| second_natvar      = 
| second_team        = 
| third              = 
| third_nat          = 
| third_natvar       = 
| third_team         = 
| previous           = 
| next               = 
}}
For championship races
{{Infobox cycling race report
| name               = 
| series             = 
| race_no            = 
| season_no          = 
| image              = 
| image_alt          = 
| image_caption      = 
| date               =  <!-- {{Start date|YYYY|MM|DD}} -->
| stages             = 1
| distance           = 
| unit               = 
| time               = 
| type               = medals
| first              = 
| first_nat          = 
| first_natvar       = 
| first_team         = 
| second             = 
| second_nat         = 
| second_natvar      = 
| second_team        = 
| third              = 
| third_nat          = 
| third_natvar       = 
| third_team         = 
| previous           = 
| next               = 
}}

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:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox cycling race report in articles based on its TemplateData.

TemplateData for Infobox cycling race report

No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of the race - typically the same as the title

Linesuggested
Seriesseries

Name of the series of which the race is a part

Lineoptional
Race numberrace_no

The number of the race in the series

Unknownoptional
Season numberseason_no

The total number of races in the series

Unknownoptional
Imageimage

Image to display at top of infobox

Fileoptional
Image sizeimage_size

Size of header image (omit px)

Default
200
Numberoptional
Image captionimage_caption

A caption to explain the image

Default
Stringoptional
Image ALTimage_alt

An alternative text for the image (see [[WP:ALT]])

Lineoptional
Datedate

Date(s) of the race. Use {{Start date}} (and {{End date}})

Unknownoptional
Stagesstages

Number of stages (use 1 for a one-day race)

Auto value
1
Numberoptional
Distancedistance

Race distance (omit unit)

Auto value
Numberoptional
Unitunit

Unit of distance, usually ''km'' or ''mi''

Auto value
km
Lineoptional
Timetime

Total time of the race winner

Auto value
Lineoptional
Typetype

If it's a championship race, enter "medals"

Lineoptional
Name of winnerfirst

Name of the winner, wikilinked as appropriate

Lineoptional
Winner colorfirst_color

Colour of the winner's jersey

Lineoptional
Winner's nationalityfirst_nat

Three letter nationality code (e.g. GER)

Lineoptional
Winner nationality variantfirst_natvar

A flag variant to be used instead of the standard winner's flag, e.g. 1815

Stringoptional
Winner's teamfirst_team

Name of winner's team (use {{[[template:ct|ct]]}})

Lineoptional
Name of second placesecond

Name of second placed rider, wikilinked

Lineoptional
Second place nationalitysecond_nat

Three letter nationality code (e.g. GER)

Lineoptional
Second place nationality variantsecond_natvar

A flag variant to be used instead of the standard second place flag, e.g. 1815

Lineoptional
Second placed rider's teamsecond_team

Name of second place rider's team (use {{[[template:ct|ct]]}})

Lineoptional
Name of third place riderthird

Name of third placed rider, wikilinked

Lineoptional
Third place rider nationalitythird_nat

Three letter nationality code (e.g. GER)

Lineoptional
Third place nationality variantthird_natvar

A flag variant to be used instead of the standard third place flag, e.g. 1815

Lineoptional
Third place rider's teamthird_team

Name of third place rider's team (use {{[[template:ct|ct]]}})

Lineoptional
Points winnerpoints

Name of the points winner, wikilinked

Lineoptional
Mountains winnermountains

Name of the mountains winner, wikilinked

Lineoptional
Youth winneryouth

Name of the youth winner, wikilinked

Lineoptional
Combination winnercombination

Winner of the combination prize, wikilinked

Lineoptional
Sprints winnersprints

Name of the sprints winner, wikilinked

Lineoptional
Combativity winnercombativity

Name of the combativity winner, wikilinked

Lineoptional
Intergiro winnerintergiro

Name of the intergiro winner, wikilinked

Lineoptional
Winning team nameteam

Winner of the teams classification (use {{ct}})

Lineoptional
Team points winnerteampoints

Winner of the team points classification (use {{ct}})

Lineoptional
Points colorpoints_color

Color of the points jersey

Lineoptional
Points nationalitypoints_nat

Nationality of the points winner (e.g. GER)

Lineoptional
Points nationality variantpoints_natvar

Flag variant of the points winner (e.g. 1861)

Lineoptional
Points winner's teampoints_team

Team of the points winner (use {{ct}})

Lineoptional
Mountains colormountains_color

Color of the mountains jersey (e.g. polkadot)

Lineoptional
Mountains nationalitymountains_nat

Nationality of the mountains winner (e.g. GER)

Lineoptional
Mountains nationality variantmountains_natvar

Flag variant of the mountains winner (e.g. 1861)

Lineoptional
Mountains winner's teammountains_team

Team of the mountains winner (use {{ct}})

Lineoptional
Youth jersey coloryouth_color

Color of the young rider's jersey

Lineoptional
Youth nationalityyouth_nat

Nationality of the young rider's winner (e.g. GER)

Lineoptional
Youth nationality variantyouth_natvar

Flag variant of the youth winner (e.g. 1861)

Lineoptional
Youth teamyouth_team

Team of the youth winner (use {{ct}})

Lineoptional
Combination jersey colorcombination_color

Color of the combination jersey

Lineoptional
Combination nationalitycombination_nat

Nationality of the combination winner (e.g. GER)

Lineoptional
Combination nationality variantcombination_natvar

Flag variant of the combination winner (e.g. 1861)

Lineoptional
Combination teamcombination_team

Team of the combination winner (use {{ct}})

Lineoptional
Sprints jersey colorsprints_color

Color of the sprints jersey

Lineoptional
Sprints nationalitysprints_nat

Nationality of the sprints winner (e.g. GER)

Lineoptional
Sprints nationality variantsprints_natvar

Flag variant of the sprints winner (e.g. 1861)

Lineoptional
Sprints teamsprints_team

Team of the sprints winner (use {{ct}})

Lineoptional
Combativity jersey colorcombativity_color

Color of the combativity jersey

Lineoptional
Combativity nationalitycombativity_nat

Nationality of the combativity winner (e.g. GER)

Lineoptional
Combativity nationality variantcombativity_natvar

Flag variant of the combativity winner (e.g. 1861)

Lineoptional
Combativity teamcombativity_team

Team of the combativity winner (use {{ct}})

Lineoptional
Sprints jersey colorintergiro_color

Color of the intergiro jersey

Lineoptional
Sprints nationalityintergiro_nat

Nationality of the intergiro winner (e.g. GER)

Lineoptional
Sprints nationality variantintergiro_natvar

Flag variant of the intergiro winner (e.g. 1861)

Lineoptional
Sprints teamintergiro_team

Team of the intergiro winner (use {{ct}})

Lineoptional
Team classification jersey colorteam_color

Color of the team classification leader's jersey

Lineoptional
Previous editionprevious

Wikilinked name of the previous edition

Lineoptional
Next editionnext

Wikilinked name of the next edition

Lineoptional

Tracking category