Difference between revisions of "Template:Infobox cycling race/doc"
Jump to navigation
Jump to search
imported>Droll (clean up documentation subpage templates using AWB) |
imported>Severo (→Example: use unbulleted list) |
||
| Line 84: | Line 84: | ||
| last = | | last = | ||
| firstwinner = {{flagathlete|[[Philippe Demeersman]]|BEL}} | | firstwinner = {{flagathlete|[[Philippe Demeersman]]|BEL}} | ||
| − | | mostwins = {{flagathlete|[[Marcel Kint]]|BEL}} | + | | mostwins = {{Unbulleted list|{{flagathlete|[[Marcel Kint]]|BEL}}|{{flagathlete|[[Eddy Merckx]]|BEL}}|{{flagathlete|[[Moreno Argentin]]|ITA}}|{{flagathlete|[[Davide Rebellin]]|ITA}}| |
| − | :''3 times'' | + | :''3 times''}} |
| mostrecent = {{flagathlete|[[Davide Rebellin]]|ITA}} | | mostrecent = {{flagathlete|[[Davide Rebellin]]|ITA}} | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
| Line 110: | Line 110: | ||
| last = | | last = | ||
| firstwinner = {{flagathlete|[[Philippe Demeersman]]|BEL}} | | firstwinner = {{flagathlete|[[Philippe Demeersman]]|BEL}} | ||
| − | | mostwins = {{flagathlete|[[Marcel Kint]]|BEL}} | + | | mostwins = {{Unbulleted list|{{flagathlete|[[Marcel Kint]]|BEL}}|{{flagathlete|[[Eddy Merckx]]|BEL}}|{{flagathlete|[[Moreno Argentin]]|ITA}}|{{flagathlete|[[Davide Rebellin]]|ITA}}| |
| − | :''3 times'' | + | :''3 times''}} |
| mostrecent = {{flagathlete|[[Davide Rebellin]]|ITA}} | | mostrecent = {{flagathlete|[[Davide Rebellin]]|ITA}} | ||
}} | }} | ||
Revision as of 07:02, 10 April 2011
| This is a documentation subpage for Template:Infobox cycling race. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
{{Infobox cycling race
| name =
| current_event =
| image =
| image_caption =
| date =
| region =
| english =
| localnames =
| nickname =
| discipline =
| competition =
| type =
| organiser =
| director =
| first =
| number =
| last =
| 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
- {{{number}}} — number of editions
- {{{last}}} — year of final race edition, not most recent
- {{{firstwinner}}} — winner of the first edition
- {{{mostwins}}} — a <br/> deliniated list of record winners
- {{{mostrecent}}} — winner of the most recent edition
Style guide
Wikilinking
As per the 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 {{ESP}} making
Spain) adds a lot of clutter to the box. Instead, use a simple flagicon before names to indicate nationality. So, instead of
- Eddy Merckx
Belgium, (Eddy Merckx {{BEL}}), use
Eddy Merckx (BEL) ({{flagathlete|Eddy Merckx|BEL}})
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)
| last =
| 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:
|
|||||||||||||||||||||||||||||||||||||
