Template:Infobox cyclist/doc

From blackwiki
< Template:Infobox cyclist
Revision as of 00:19, 26 January 2020 by imported>GreenComputer (Fix capitalisation)
Jump to navigation Jump to search

Template:Uses Wikidata

Infobox cyclist provides an overview and summary of a racing cyclist or team manager with the most sought after information in an easy to view sideframe to the article proper. It is intended for all elite (professional) cyclists across disciplines and the capability of including management details reflects the number of former cyclists in management roles. It should only be used for competitive racing cyclists, namely professionals and those competing at Olympic or World level.

Usage

For active riders
{{Infobox cyclist
| name           =
| image          =
| image_size     =
| caption        =
| full_name      = <!-- if different -->
| nickname       =
| birth_name     = <!-- if different -->
| birth_date     =
| birth_place    =
| height         =
| weight         =
| currentteam    =
| discipline     =
| role           = Rider
| ridertype      =
| amateuryears1  =
| amateurteam1   =
| amateuryears2  =
| amateurteam2   =
| proyears1      =
| proteam1       =
| proyears2      =
| proteam2       =
| majorwins      =
| medaltemplates =
| show-medals    =
}}
For retired living riders
{{Infobox cyclist
| name           =
| image          =
| image_size     =
| caption        =
| full_name      = <!-- if different -->
| nickname       =
| birth_name     = <!-- if different -->
| birth_date     =
| birth_place    =
| height         =
| weight         =
| currentteam    = Retired
| discipline     =
| role           = Rider
| ridertype      =
| amateuryears1  =
| amateurteam1   =
| amateuryears2  =
| amateurteam2   =
| proyears1      =
| proteam1       =
| proyears2      =
| proteam2       =
| majorwins      =
| medaltemplates =
| show-medals    =
}}
For active managers, former riders
{{Infobox cyclist
| name           =
| image          =
| image_size     =
| caption        =
| full_name      = <!-- if different -->
| nickname       =
| birth_name     = <!-- if different -->
| birth_date     =
| birth_place    =
| currentteam    =
| discipline     =
| role           =
| ridertype      =
| amateuryears1  =
| amateurteam1   =
| amateuryears2  =
| amateurteam2   =
| proyears1      =
| proteam1       =
| proyears2      =
| proteam2       =
| manageyears1   =
| manageteam1    =
| manageyears2   =
| manageteam2    =
| majorwins      =
| medaltemplates =
| show-medals    =
| updated        =
}}
For active managers, never riders
{{Infobox cyclist
| name           =
| image          =
| image_size     =
| caption        =
| full_name      = <!-- if different -->
| nickname       =
| birth_name     = <!-- if different -->
| birth_date     =
| birth_place    =
| currentteam    =
| discipline     =
| role           =
| manageyears1   =
| manageteam1    =
| manageyears2   =
| manageteam2    =
| updated        =
}}
For deceased riders/managers
{{Infobox cyclist
| name           =
| image          =
| image_size     =
| caption        =
| full_name      = <!-- if different -->
| nickname       =
| birth_name     = <!-- if different -->
| birth_date     =
| birth_place    =
| death_date     =
| death_place    =
| height         =
| weight         =
| discipline     =
| role           =
| ridertype      =
| amateuryears1  =
| amateurteam1   =
| amateuryears2  =
| amateurteam2   =
| proyears1      =
| proteam1       =
| proyears2      =
| proteam2       =
| manageyears1   =
| manageteam1    =
| manageyears2   =
| manageteam2    =
| majorwins      =
| medaltemplates =
| show-medals    =
}}

Full template

Template:Parameter names example

{{Infobox cyclist
| name           = 
| image          = 
| image_size     = 
| alt            = 
| caption        = 
| full_name      = <!-- if different -->
| nickname       =
| birth_name     = <!-- if different -->
| birth_date     = 
| birth_place    = 
| death_date     = 
| death_place    = 
| height         = 
| weight         = 
| currentteam    = 
| discipline     = 
| role           = 
| ridertype      = 
| amateuryears1  = 
| amateurteam1   = 
| amateuryears2  = 
| amateurteam2   = 
| amateuryears3  = 
| amateurteam3   = 
| amateuryears4  = 
| amateurteam4   = 
| amateuryears5  = 
| amateurteam5   = 
| amateuryears6  = 
| amateurteam6   = 
| amateuryears7  = 
| amateurteam7   = 
| amateuryears8  = 
| amateurteam8   = 
| amateuryears9  = 
| amateurteam9   = 
| amateuryears10 = <!-- up to amateuryears15 -->
| amateurteam10  = <!-- up to amateurteam15 -->
| proyears1      = 
| proteam1       = 
| proyears2      = 
| proteam2       = 
| proyears3      = 
| proteam3       = 
| proyears4      = 
| proteam4       = 
| proyears5      = 
| proteam5       = 
| proyears6      = 
| proteam6       = 
| proyears7      = 
| proteam7       = 
| proyears8      = 
| proteam8       = 
| proyears9      = 
| proteam9       = 
| proyears10     = <!-- up to proyears25 -->
| proteam10      = <!-- up to proteam25 -->
| manageyears1   = 
| manageteam1    = 
| manageyears2   = 
| manageteam2    = 
| manageyears3   = 
| manageteam3    = 
| manageyears4   = 
| manageteam4    = 
| manageyears5   = 
| manageteam5    = 
| manageyears6   = 
| manageteam6    = 
| manageyears7   = 
| manageteam7    = 
| manageyears8   = 
| manageteam8    = 
| manageyears9   = 
| manageteam9    = 
| manageyears10  = <!-- up to manageyears25 -->
| manageteam10   = <!-- up to manageteam25 -->
| majorwins      = 
| medaltemplates = 
| show-medals    = 
}}

Parameters

Mandatory
Parameter Notes
name Common name, usually the same as the article name
birth_date 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
Optional
Parameter Notes
image Provide the image name without brackets; use Photo.jpg instead of [[File:Photo.jpg]]
image_size Default is 220px
caption Provides a caption for the image
alt Provides alt-text for the image
full_name The full name of the cyclist, if different than name and birth_name.
nickname The rider's most common nickname
birth_name The birth name of the cyclist, if different than name and full_name.
birth_place Wikilinked text (no flags as per MOS:FLAG) to the city and country of birth
death_date Date of death - use {{death date and age|year of death|month of death|day of death|year of birth|month of birth|day of birth}}
death_place Wikilinked text (no flags as per MOS:FLAG) to the city and country of death
height The rider's height in the units most common within the continent he or she rides (see Infobox sportsperson), namely metric in Europe, Imperial in the U.S.
weight The rider's weight in the units most common within the continent he or she rides (see Infobox sportsperson), namely metric in Europe, Imperial in the U.S.
currentteam The team for which the rider/manager currently works. This should be the current name of the team, and should be wikilinked.
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
amateuryears1, amateuryears2, amateuryears3, ... The years for which the rider has been contracted by their amateur teams
amateurteams1, amateurteams2, amateurteams3, ... The amateur teams at which the rider has been contracted
proyears1, proyears2, proyears3, ... The years for which the rider has been contracted by professional teams
proteams1, proteams2, proteams3, ... The professional teams at which the rider has been contracted. Giving the name of the team at the time of the rider's establishing a contract with them, and the current name, if a team's name has changed radically, only if the rider is still at that team. Separate entries are not required for subsequent team names. Wikilinking of the team name will allow readers to track intermediate changes in name.
manageyears1, manageyears2, manageyears3, ... The years for which that the manager has been contracted by the professional teams
manageteams1, manageteams2, manageteams3, ... The professional teams at which the manager has been contracted
majorwins A {{plainlist}} of the major wins. Should include notable victories as a rider
medals or
medaltemplates
An incorporated set of medal templates to show medals won in senior championships. Do not include {{MedalTableTop}} or {{MedalBottom}}.
medals-expand or
show-medals
If set to yes, the medals table is shown (expanded). Otherwise, it is hidden (collapsed) and will only be displayed if the "show" link is selected.

Use as a child template

The child or embed parameter is used when embedding this infobox into another.

This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.

{{Infobox person
| name = 
| image = 
| caption = 
| birth_date = 
| birth_place = 
| <!-- etc. -->
| module = 
  {{Infobox cyclist | child=yes
  | parameter-1 = 
  | parameter-2 = 
  | parameter-3 = 
  | parameter-4 = 
  | <!-- etc. -->
  }}
}}

Style guide

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.

Icons

As per WP:MOSICON, the use of icons, including flags and jersey icons, in infoboxes is discouraged. A flag template may be used in conjunction with {{MedalCountry}} if the {{{medaltemplates}}} field is used.

Microformat

Template:UF-hcard-person

Tracking categories

TemplateData

TemplateData documentation used by VisualEditor and other tools
See the monthly parameter usage report for this template.

TemplateData for Infobox cyclist

The template provides an overview of a racing cyclist's biographical details and career details and statistics. It should only be used for competitive racing cyclists, namely professionals and those competing at Olympic or World level.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename ridername

This is the usual name in English. If it's not specified, the infobox will use the 'ridername' as a title unless this too is missing, in which case the page name will be used.

Default
{{PAGENAMEBASE}}
Example
Dani Rowe
Stringrequired
Imageimage

Image of the cyclist.

Example
Photo.jpg
Stringsuggested
Image sizeimage_size

The size of the image in pixels.

Default
220px
Example
300px
Numbersuggested
Captioncaption

Provides a caption for the image

Example
Van Dijk after winning the 2013 World Time Trial Championships.
Stringsuggested
Full namefull_name fullname

The full name of the cyclist, if different than name and birth_name.

Example
Danielle Rowe
Stringoptional
Nicknamenickname

The most common nickname that cyclist is referred by.

Example
The Animal
Stringsuggested
Birth namebirth_name

The birth name of the cyclist, if different than name and full_name.

Example
Danielle King
Stringoptional
Birth datebirth_date

Cyclist's date of birth

Example
{{Birth date and age|1987|07|09|df=y}}
Daterequired
Birth placebirth_place

The place where the cyclist was born

Example
Kirkland, Washington, U.S.
Stringsuggested
Death datedeath_date

The date when cyclist died

Example
{{Death date and age|2009|06|05|1987|07|09|df=y}}
Datesuggested
Death placedeath_place

The place of cyclist's death

Example
Argenteuil, France
Stringsuggested
Heightheight

Height of the rider (The rider's height in the units most common within the continent he or she rides, namely metric in Europe, Imperial in the U.S.)

Example
5 ft 6 in
Linesuggested
Weightweight

The cyclist's weight(The rider's weight in the units most common within the continent he or she rides, namely metric in Europe, Imperial in the U.S.)

Example
62 kg
Numbersuggested
Current teamcurrentteam

The team for which the rider/manager currently works. This should be the current name of the team, and should be wikilinked.

Example
Gerolsteiner
Stringsuggested
Disciplinediscipline

The rider's style of cycling

Example
Mountain bikers
Stringsuggested
Rolerole

Most common examples are Rider, Directeur sportif, Technical director and Team manager.

Example
Rider
Linesuggested
Rider typeridertype

The type of cycling the cyclist specializes in.

Example
Sprinting
Stringsuggested
Major winsmajorwins

Most notable victory of the cyclist

Example
General classification in the Giro d'Italia
Stringsuggested
Medal templatesmedaltemplates medals

An incorporated set of medal templates to show medals won in senior championships. Do not include {{MedalTableTop}} or {{MedalBottom}}.

Templatesuggested
Show medalsshow-medals medals-expand

If set to yes, the medals table is shown (expanded). Otherwise, it is hidden (collapsed) and will only be displayed if the "show" link is selected.

Booleansuggested
Amateur team 1amateurteam1

The first amateur team at which the rider has been contracted. (This parameter can be added according to the number of amateur teams the cyclist played for.)

Example
Sunland cycles
Stringsuggested
Amateur team 2amateurteam2

The second amateur team at which the rider has been contracted. (This parameter can be added according to the number of amateur teams the cyclist played for.)

Example
Staats Bicycles
Stringsuggested
Pro team 1proteam1

The first professional team at which the rider has been contracted. (This parameter can be added according to the number of proteams the cyclist played for.)

Example
Boels Dolmans Cycling Team
Stringsuggested
Pro team 2proteam2

The second professional team at which the rider has been contracted. (This parameter can be added according to the number of proteams the cyclist played for.)

Example
Team Specialized–lululemon
Stringsuggested
Amateur years 1amateuryears1

The years for which the rider has been contracted by their first amateur team. (This parameter can be added according to the number of amateur teams the cyclist played for.)

Example
2000-2005
Numbersuggested
Amateur years 2amateuryears2

The years for which the rider has been contracted by their second amateur team. (This parameter can be added according to the number of amateur teams the cyclist played for.)

Example
2005-2008
Numbersuggested
Pro years 1proyears1

The years for which the rider has been contracted by their first professional team. ((This parameter can be added according to the number of proteams the cyclist played for.)

Example
2011-2014
Numbersuggested
Pro years 2proyears2

The years for which the rider has been contracted by their second professional team. ((This parameter can be added according to the number of proteams the cyclist played for.)

Example
2008-2014
Numbersuggested