Template:Infobox cyclist

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Team information
Template documentation[view] [edit] [history] [purge]

Usage[change source]

For active riders

{{Infobox Cyclist
| ridername      = 
| image          = 
| 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          = 
| 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          = 
| 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          = 
| fullname       = 
| nickname       = 
| dateofbirth    = 
| country        = 
| currentteam    = 
| discipline     = 
| role           = 
| manageyears    = 
| manageteams    = 
| updated        =
}}

For deceased riders/managers

{{Infobox Cyclist
| ridername      = 
| image          = 
| fullname       = 
| nickname       = 
| dateofbirth    = 
| dateofdeath    = 
| country        = 
| height         = 
| weight         = 
| discipline     = 
| role           = 
| ridertype      = 
| amateurteams   = 
| amateuryears   = 
| proyears       = 
| proteams       = 
| manageyears    = 
| manageteams    = 
| majorwins      = 
| updated        =
}}

Purpose[change source]

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.

Parameters[change source]

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
  • {{{updated}}} — Use the date, wikilinked for date preference
Optional
  • {{{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
  • {{{protourrank}}}, {{{europetourrank}}}, {{{worldrank}}} or {{{worldcuprank}}} — Current rank in the relevant field(s) only
  • {{{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

Microformat[change source]

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 or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates[change source]

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[change source]

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

Style guide[change source]

Density of information[change source]

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.

Wikilinking[change source]

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 and inhibits the speedy retrieval of facts.

Units of measurement[change source]

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 artcle 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 (&nbsp;) 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)