Difference between revisions of "Template:Infobox cycling race/doc"

From blackwiki
Jump to navigation Jump to search
imported>Severo
(improve example)
(mdash; plainlist)
Line 31: Line 31:
 
==Parameters==
 
==Parameters==
 
;Mandatory
 
;Mandatory
*<nowiki>{{{name}}}</nowiki> &mdash; common name, usually the same as the article title
+
*<nowiki>{{{name}}}</nowiki> common name, usually the same as the article title
 
;Optional
 
;Optional
*<nowiki>{{{current_event}}}</nowiki> &mdash; link to the event's current page, if there is one. Omit the <nowiki>[[]]</nowiki> wikilinks
+
*<nowiki>{{{current_event}}}</nowiki> link to the event's current page, if there is one. Omit the <nowiki>[[]]</nowiki> wikilinks
*<nowiki>{{{image}}}</nowiki> &mdash; ideally a picture of riders in a key or characteristic part of the course
+
*<nowiki>{{{image}}}</nowiki> ideally a picture of riders in a key or characteristic part of the course
*<nowiki>{{{image_caption}}}</nowiki> &mdash; caption for the image
+
*<nowiki>{{{image_caption}}}</nowiki> caption for the image
*<nowiki>{{{date}}}</nowiki> &mdash; approximate date, such as mid-October - not actual date which belongs on the individual race report article
+
*<nowiki>{{{date}}}</nowiki> approximate date, such as mid-October - not actual date which belongs on the individual race report article
*<nowiki>{{{region}}}</nowiki> &mdash; area in which the race is held
+
*<nowiki>{{{region}}}</nowiki> area in which the race is held
*<nowiki>{{{english}}}</nowiki> &mdash; name in english
+
*<nowiki>{{{english}}}</nowiki> name in english
*<nowiki>{{{localnames}}}</nowiki> &mdash; a <nowiki><br/></nowiki> deliniated list for local names, use <nowiki>{{xx icon}}</nowiki>  (where xx is the two letter language code) after the name to indicate language
+
*<nowiki>{{{localnames}}}</nowiki> a <nowiki><br/></nowiki> deliniated list for local names, use <nowiki>{{xx icon}}</nowiki>  (where xx is the two letter language code) after the name to indicate language
*<nowiki>{{{nickname}}}</nowiki> &mdash; nickname (if any), if a local nickname then also supply a translation
+
*<nowiki>{{{nickname}}}</nowiki> nickname (if any), if a local nickname then also supply a translation
*<nowiki>{{{discipline}}}</nowiki> &mdash; road/track/cyclo-cross etc. then race, time-trial etc.
+
*<nowiki>{{{discipline}}}</nowiki> road/track/cyclo-cross etc. then race, time-trial etc.
*<nowiki>{{{competition}}}</nowiki> &mdash; the wider competition of which the race is part
+
*<nowiki>{{{competition}}}</nowiki> the wider competition of which the race is part
*<nowiki>{{{type}}}</nowiki> &mdash; for example, one-day or stage race
+
*<nowiki>{{{type}}}</nowiki> for example, one-day or stage race
*<nowiki>{{{organiser}}}</nowiki> &mdash; race organiser
+
*<nowiki>{{{organiser}}}</nowiki> race organiser
*<nowiki>{{{director}}}</nowiki> &mdash; race director
+
*<nowiki>{{{director}}}</nowiki> race director
*<nowiki>{{{first}}}</nowiki> &mdash; year the race was first held. Use {{tlx|Start date|YYYY}}. Link to article if there is one (or if a redlink would be useful, such as <nowiki>[[1900 Cycling Race|{{start date|1900}}]]</nowiki>
+
*<nowiki>{{{first}}}</nowiki> year the race was first held. Use {{tlx|Start date|YYYY}}. Link to article if there is one (or if a redlink would be useful, such as <nowiki>[[1900 Cycling Race|{{start date|1900}}]]</nowiki>
*<nowiki>{{{number}}}</nowiki> &mdash; number of editions
+
*<nowiki>{{{number}}}</nowiki> number of editions
*<nowiki>{{{final}}}</nowiki> &mdash; year of final race edition
+
*<nowiki>{{{final}}}</nowiki> year of final race edition
*<nowiki>{{{firstwinner}}}</nowiki> &mdash; winner of the first edition. Use {{tl|flagathlete}}.
+
*<nowiki>{{{firstwinner}}}</nowiki> winner of the first edition. Use {{tl|flagathlete}}.
*<nowiki>{{{mostwins}}}</nowiki> &mdash; a {{tl|Unbulleted list}} deliniated list of record winners. Use {{tl|flagathlete}}.
+
*<nowiki>{{{mostwins}}}</nowiki> a {{tl|plainlist}} enclosed list of record winners. Use {{tl|flagathlete}}.
*<nowiki>{{{mostrecent}}}</nowiki> &mdash; winner of the most recent edition. Use {{tl|flagathlete}}.
+
*<nowiki>{{{mostrecent}}}</nowiki> winner of the most recent edition. Use {{tl|flagathlete}}.
  
 
==Example==
 
==Example==
Line 64: Line 64:
 
| region        = [[Wallonia]], [[Belgium]]
 
| region        = [[Wallonia]], [[Belgium]]
 
| english      = The Walloon Arrow
 
| english      = The Walloon Arrow
| localnames    = {{Unbulleted list | La Flèche Wallonne {{fr icon}} | Waalse Pijl {{nl icon}} | Wallonischer Pfeil {{de icon}} }}
+
| localnames    = {{plainlist|
 +
* La Flèche Wallonne {{fr icon}}
 +
* Waalse Pijl {{nl icon}}
 +
* Wallonischer Pfeil {{de icon}}
 +
}}
 
| nickname      =  
 
| nickname      =  
 
| discipline    = [[Road bicycle racing|Road race]]
 
| discipline    = [[Road bicycle racing|Road race]]
Line 75: Line 79:
 
| final        =  
 
| final        =  
 
| firstwinner  = {{flagathlete|[[Philippe Demeersman]]|BEL}}  
 
| firstwinner  = {{flagathlete|[[Philippe Demeersman]]|BEL}}  
| mostwins      = {{Unbulleted list|{{flagathlete|[[Marcel Kint]]|BEL}}|{{flagathlete|[[Eddy Merckx]]|BEL}}|{{flagathlete|[[Moreno Argentin]]|ITA}}|{{flagathlete|[[Davide Rebellin]]|ITA}}|
+
| mostwins      = {{plainlist|
:''3 times''}}
+
* {{flagathlete|[[Marcel Kint]]|BEL}}
 +
* {{flagathlete|[[Eddy Merckx]]|BEL}}
 +
* {{flagathlete|[[Moreno Argentin]]|ITA}}
 +
* {{flagathlete|[[Davide Rebellin]]|ITA}} (''3 times'')
 +
}}
 
| mostrecent    = {{flagathlete|[[Davide Rebellin]]|ITA}}
 
| mostrecent    = {{flagathlete|[[Davide Rebellin]]|ITA}}
 
}}</nowiki></pre>
 
}}</nowiki></pre>
Line 90: Line 98:
 
| region        = [[Wallonia]], [[Belgium]]
 
| region        = [[Wallonia]], [[Belgium]]
 
| english      = The Walloon Arrow
 
| english      = The Walloon Arrow
| localnames    = {{Unbulleted list | La Flèche Wallonne {{fr icon}} | Waalse Pijl {{nl icon}} | Wallonischer Pfeil {{de icon}} }}
+
| localnames    = {{plainlist|
 +
* La Flèche Wallonne {{fr icon}}
 +
* Waalse Pijl {{nl icon}}
 +
* Wallonischer Pfeil {{de icon}}
 +
}}
 
| nickname      =  
 
| nickname      =  
 
| discipline    = [[Road bicycle racing|Road race]]
 
| discipline    = [[Road bicycle racing|Road race]]
Line 101: Line 113:
 
| final        =  
 
| final        =  
 
| firstwinner  = {{flagathlete|[[Philippe Demeersman]]|BEL}}  
 
| firstwinner  = {{flagathlete|[[Philippe Demeersman]]|BEL}}  
| mostwins      = {{Unbulleted list|{{flagathlete|[[Marcel Kint]]|BEL}}|{{flagathlete|[[Eddy Merckx]]|BEL}}|{{flagathlete|[[Moreno Argentin]]|ITA}}|{{flagathlete|[[Davide Rebellin]]|ITA}}|
+
| mostwins      = {{plainlist|
:''3 times''}}
+
* {{flagathlete|[[Marcel Kint]]|BEL}}
 +
* {{flagathlete|[[Eddy Merckx]]|BEL}}
 +
* {{flagathlete|[[Moreno Argentin]]|ITA}}
 +
* {{flagathlete|[[Davide Rebellin]]|ITA}} (''3 times'')
 +
}}
 
| mostrecent    = {{flagathlete|[[Davide Rebellin]]|ITA}}
 
| mostrecent    = {{flagathlete|[[Davide Rebellin]]|ITA}}
 
}}
 
}}

Revision as of 18:37, 23 November 2011

Usage

{{Infobox cycling race
| name          = 
| current_event =
| image         = 
| image_caption =
| date          = 
| region        = 
| english       = 
| localnames    = 
| nickname      = 
| discipline    = 
| competition   = 
| type          = 
| organiser     = 
| director      = 
| first         = <!-- {{start date|XXXX}} -->
| number        = 
| final         = 
| firstwinner   = 
| mostwins      = 
| mostrecent    = 
}}

Purpose

The cycling race infobox provides a standardised quick overview of all types of cycling races. It provides a quick overview of the main details of the race in an easy to view sideframe to the main article proper.

Parameters

Mandatory
  • {{{name}}} — common name, usually the same as the article title
Optional
  • {{{current_event}}} — link to the event's current page, if there is one. Omit the [[]] wikilinks
  • {{{image}}} — ideally a picture of riders in a key or characteristic part of the course
  • {{{image_caption}}} — caption for the image
  • {{{date}}} — approximate date, such as mid-October - not actual date which belongs on the individual race report article
  • {{{region}}} — area in which the race is held
  • {{{english}}} — name in english
  • {{{localnames}}} — a <br/> deliniated list for local names, use {{xx icon}} (where xx is the two letter language code) after the name to indicate language
  • {{{nickname}}} — nickname (if any), if a local nickname then also supply a translation
  • {{{discipline}}} — road/track/cyclo-cross etc. then race, time-trial etc.
  • {{{competition}}} — the wider competition of which the race is part
  • {{{type}}} — for example, one-day or stage race
  • {{{organiser}}} — race organiser
  • {{{director}}} — race director
  • {{{first}}} — year the race was first held. Use {{Start date|YYYY}}. Link to article if there is one (or if a redlink would be useful, such as [[1900 Cycling Race|{{start date|1900}}]]
  • {{{number}}} — number of editions
  • {{{final}}} — year of final race edition
  • {{{firstwinner}}} — winner of the first edition. Use {{flagathlete}}.
  • {{{mostwins}}} — a {{plainlist}} enclosed list of record winners. Use {{flagathlete}}.
  • {{{mostrecent}}} — winner of the most recent edition. Use {{flagathlete}}.

Example

The input:

{{Infobox cycling race
| name          = La Flèche Wallonne
| current_event = 2009 La Flèche Wallonne
| image         = [[Image:Example.png|300px]]
| image_caption = The [[Mur de Huy]] climb in the finale of La Flèche Wallonne.
| date          = Late April
| region        = [[Wallonia]], [[Belgium]]
| english       = The Walloon Arrow
| localnames    = {{plainlist|
* La Flèche Wallonne {{fr icon}}
* Waalse Pijl {{nl icon}}
* Wallonischer Pfeil {{de icon}}
}}
| nickname      = 
| discipline    = [[Road bicycle racing|Road race]]
| competition   = [[UCI World Tour]]
| type          = One-day
| organiser     = [[ASO]]
| director      = 
| first         = [[1936 La Flèche Wallonne|1936]]
| number        = 73 (as of 2009)
| final         = 
| firstwinner   = {{flagathlete|[[Philippe Demeersman]]|BEL}} 
| mostwins      = {{plainlist|
* {{flagathlete|[[Marcel Kint]]|BEL}}
* {{flagathlete|[[Eddy Merckx]]|BEL}}
* {{flagathlete|[[Moreno Argentin]]|ITA}}
* {{flagathlete|[[Davide Rebellin]]|ITA}} (''3 times'')
}}
| mostrecent    = {{flagathlete|[[Davide Rebellin]]|ITA}}
}}

Produces:

La Flèche Wallonne
2009 La Flèche Wallonne
Example.png
The Mur de Huy climb in the finale of La Flèche Wallonne.
Race details
DateLate April
RegionWallonia, Belgium
English nameThe Walloon Arrow
Local name(s)
DisciplineRoad race
CompetitionUCI World Tour
TypeOne-day
OrganiserASO
Web siteTemplate:Official URL
History
First edition1936
Editions73 (as of 2009)
First winner Philippe Demeersman (BEL)
Most wins
Most recent Davide Rebellin (ITA)