Template:Infobox Cyclist/doc
From Wikipedia, the free encyclopedia
Contents |
[edit] Usage
For active riders {{Infobox Cyclist | ridername = | image = | image_size = | image_caption = | fullname = | nickname = | dateofbirth = | country = | height = | weight = | currentteam = | discipline = | role = Rider | ridertype = | amateuryears = | amateurteams = | proyears = | proteams = | majorwins = | updated = }} |
For retired living riders {{Infobox Cyclist | ridername = | image = | image_size = | image_caption = | fullname = | nickname = | dateofbirth = | country = | currentteam = Retired | discipline = | role = Rider | ridertype = | amateuryears = | amateurteams = | proyears = | proteams = | majorwins = | updated = }} |
For active managers, former riders {{Infobox Cyclist | ridername = | image = | image_size = | image_caption = | fullname = | nickname = | dateofbirth = | country = | currentteam = | discipline = | role = | ridertype = | amateuryears = | amateurteams = | proyears = | proteams = | manageyears = | manageteams = | majorwins = | updated = }} |
For active managers, never riders {{Infobox Cyclist | ridername = | image = | image_size = | image_caption = | fullname = | nickname = | dateofbirth = | country = | currentteam = | discipline = | role = | manageyears = | manageteams = | updated = }} |
For deceased riders/managers {{Infobox Cyclist | ridername = | image = | image_size = | image_caption = | fullname = | nickname = | dateofbirth = | dateofdeath = | country = | height = | weight = | discipline = | role = | ridertype = | amateurteams = | amateuryears = | proyears = | proteams = | manageyears = | manageteams = | majorwins = | updated = }} |
[edit] Purpose
The professional cyclist infobox provides a quick overview of a professional cyclist, directeur sportif, technical director or team manager with the most sought after information in an easy to view sideframe to the article proper. It is intended for all professional cyclists across disciplines and the capability of including management details reflects the number of former cyclists in management roles. The infobox is intended for all current, retired and dead professional cyclists and management staff. It should not be used for amateurs.
[edit] Parameters
- Mandatory
- {{{ridername}}} — Common name, usually the same as the article name
- {{{dateofbirth}}} — Use the {{birth date and age|year|month|date}} template for living riders and {{birth date|year|month|date}} template for deceased riders for hCard microformat markup
- {{{country}}} — The current country the cyclist has or would represent at World Championship/Olympic events. Use of flag templates is discouraged under WP:FLAGS
- {{{updated}}} — Use the date, wikilinked for date preference
- Optional
- {{{image}}} — Provide the image name without brackets; use Photo.jpg instead of [[Image:Photo.jpg]]
- {{{image_size}}} — Default is 220px
- {{{image_caption}}} — Provides a caption and alt-text for the image
- {{{fullname}}}
- {{{nickname}}} — The rider's most common nickname
- {{{dateofdeath}}} — Date of death - there is n
- {{{height}}} — The rider's height in the units most common within the continent he rides (see Units of measurement), namely metric in Europe, Imperial in the U.S.
- {{{weight}}} — The rider's weight in the units most common within the continent he rides (see Units of measurement), namely metric in Europe, Imperial in the U.S.
- {{{currentteam}}} — The team for which the rider/manager currently works
- {{{discipline}}} — Should be the most common, but acceptable to list several if they regularly compete in them
- {{{role}}} — Most common examples are Rider, Directeur Sportif, Technical Director and Team Manager
- {{{ridertype}}} — Strongest attribute or role as a rider. Examples include All-rounder, Time trialist, Climber, Sprinter and Domestique
- {{{amateuryears}}} — A <br /> delimited list of years that the rider has been contracted at each amateur team
- {{{amateurteams}}} — A <br /> delimited list of amateur teams that the rider has been contracted at
- {{{proyears}}} — A <br /> delimited list of years that the rider has been contracted at each professional team
- {{{proteams}}} — A <br /> delimited list of professional teams that the rider has been contracted at
- {{{manageyears}}} — A <br /> delimited list of years that the manager has been contracted at each professional team
- {{{manageteams}}} — A <br /> delimited list of professional teams that the manager has been contracted at
- {{{majorwins}}} — DO NOT BULLETPOINT (this upsets following code); Should include notable victories as a rider
[edit] Microformat
The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.
Date-of-birth ("bday") parameters will only be included in the microformat if {{Birth date}} or {{Birth date and age}} are used in the infobox.
hCard uses HTML classes including:
- adr
- bday
- county-name
- fn (required)
- honorific-prefix
- honorific-suffix
- label
- locality
- nickname
- note
- org
- role
- vcard
Please do not rename or remove these classes.
[edit] Style guide
[edit] Density of information
Try to always consider that an infobox exists to support an article and provide a quick synopsis of important facts. This becomes vital when considering that the amount of space available within an infobox is significantly less than that available outside of it. Adding all seventy three nicknames and entire palmares that a rider might have is highly informative, but will defeat the purpose of the infobox.
[edit] 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. However, date of birth should be linked to enable date preferences to work - use of {{birth date and age|''year''|''month''|''date''}} will do this automatically. Linking of other entries is to be discouraged as most of these links will present themselves in the article's introduction; linking them in the infobox adds clutter.
[edit] Units of measurement
As per the manual of style the rider's height should be in the units most common within the country they compete. For European based riders this is metric, and imperial in the U.S. Units should be abbreviated in the infobox and spelt out in the article text. Use standard abbreviations when using symbols such as metre is m, centimetre is cm, inch is in (not " or ″), foot is ft (not ' or ′). Put a non-breaking space ( ) between the value and the unit symbol, for example "1.98 m" not "1.98m". Do not append an s for plurals of unit abbreviations. For example, kg, in, yd, lb not kgs, ins, yds, lbs.
Some examples of correct usage:
- 2.00 m
- 5 ft 10 in (1.78 m)
- 1.78 m (5 ft 10 in)