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

From blackwiki
Jump to navigation Jump to search
imported>Severo
(→‎Example: use unbulleted list)
imported>Severo
(update)
Line 20: Line 20:
 
| first        =  
 
| first        =  
 
| number        =  
 
| number        =  
| last          =  
+
| final        =  
 
| firstwinner  =  
 
| firstwinner  =  
 
| mostwins      =  
 
| mostwins      =  
Line 46: Line 46:
 
*<nowiki>{{{organiser}}}</nowiki> &mdash; race organiser
 
*<nowiki>{{{organiser}}}</nowiki> &mdash; race organiser
 
*<nowiki>{{{director}}}</nowiki> &mdash; race director
 
*<nowiki>{{{director}}}</nowiki> &mdash; race director
*<nowiki>{{{first}}}</nowiki> &mdash; year the race was first held
+
*<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>{{{number}}}</nowiki> &mdash; number of editions
 
*<nowiki>{{{number}}}</nowiki> &mdash; number of editions
*<nowiki>{{{last}}}</nowiki> &mdash; year of final race edition, not most recent
+
*<nowiki>{{{final}}}</nowiki> &mdash; year of final race edition
*<nowiki>{{{firstwinner}}}</nowiki> &mdash; winner of the first edition
+
*<nowiki>{{{firstwinner}}}</nowiki> &mdash; winner of the first edition. Use {{tl|flagathlete}}.
*<nowiki>{{{mostwins}}}</nowiki> &mdash; a <nowiki><br/></nowiki> deliniated list of record winners
+
*<nowiki>{{{mostwins}}}</nowiki> &mdash; a {{tl|Unbulleted list}} deliniated list of record winners. Use {{tl|flagathlete}}.
*<nowiki>{{{mostrecent}}}</nowiki> &mdash; winner of the most recent edition
+
*<nowiki>{{{mostrecent}}}</nowiki> &mdash; winner of the most recent edition. Use {{tl|flagathlete}}.
 
 
==Style guide==
 
=== Wikilinking ===
 
As per the [[Wikipedia:Manual of Style (links)|manual of style]] entry on linking, years should ''not'' be linked as they do not provide much benefit to the user. Linking of other entries is discouraged as most of these links will present themselves in the article's introduction.
 
 
 
===Nationality icons===
 
The use of full country templates (for example <nowiki>{{ESP}}</nowiki> making {{ESP}}) adds a lot of clutter to the box. Instead, use a simple flagicon before names to indicate nationality. So, instead of
 
*Eddy Merckx {{BEL}}, (<nowiki>Eddy Merckx {{BEL}}</nowiki>), use
 
*{{flagathlete|Eddy Merckx|BEL}} (<nowiki>{{flagathlete|Eddy Merckx|BEL}}</nowiki>)
 
  
 
==Example==
 
==Example==
Line 82: Line 73:
 
| first        = [[1936 La Flèche Wallonne|1936]]
 
| first        = [[1936 La Flèche Wallonne|1936]]
 
| number        = 73 (as of 2009)
 
| number        = 73 (as of 2009)
| last          =  
+
| 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      = {{Unbulleted list|{{flagathlete|[[Marcel Kint]]|BEL}}|{{flagathlete|[[Eddy Merckx]]|BEL}}|{{flagathlete|[[Moreno Argentin]]|ITA}}|{{flagathlete|[[Davide Rebellin]]|ITA}}|
Line 108: Line 99:
 
| first        = [[1936 La Flèche Wallonne|1936]]
 
| first        = [[1936 La Flèche Wallonne|1936]]
 
| number        = 73 (as of 2009)
 
| number        = 73 (as of 2009)
| last          =  
+
| 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      = {{Unbulleted list|{{flagathlete|[[Marcel Kint]]|BEL}}|{{flagathlete|[[Eddy Merckx]]|BEL}}|{{flagathlete|[[Moreno Argentin]]|ITA}}|{{flagathlete|[[Davide Rebellin]]|ITA}}|

Revision as of 17:12, 10 April 2011

Usage

{{Infobox cycling race
| name          = 
| current_event =
| image         = 
| image_caption =
| date          = 
| region        = 
| english       = 
| localnames    = 
| nickname      = 
| discipline    = 
| competition   = 
| type          = 
| organiser     = 
| director      = 
| first         = 
| 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 {{Unbulleted list}} deliniated 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    = La Flèche Wallonne {{fr icon}}<br />Waalse Pijl {{nl icon}}<br />Wallonischer Pfeil {{de icon}}
| nickname      = 
| discipline    = Road race
| competition   = [[UCI ProTour]]
| 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      = {{Unbulleted list|{{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
32px 2009 La Flèche Wallonne
300px
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)La Flèche Wallonne Template:Fr icon
Waalse Pijl Template:Nl icon
Wallonischer Pfeil Template:De icon
DisciplineRoad race
CompetitionUCI ProTour
TypeOne-day
OrganiserASO
Web siteTemplate:Official URL
History
First edition1936
Editions73 (as of 2009)
First winner23x15px Philippe Demeersman (BEL)
Most wins
Most recent23x15px Davide Rebellin (ITA)