Template:Infobox cyclist/sandbox
This is the template sandbox page for Template:Infobox cyclist (diff). See also the companion subpage for test cases. |
This template is used on approximately 17,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
- image (P18) (see uses)
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
[edit]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
[edit][[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]] | |||
Personal information | |||
---|---|---|---|
Full name | {{{full_name}}} | ||
Nickname | {{{nickname}}} | ||
Born | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} | ||
Died | {{{death_date}}} {{{death_place}}} | ||
Height | {{{height}}} | ||
Weight | {{{weight}}} | ||
Team information | |||
Current team | {{{currentteam}}} | ||
Discipline | {{{discipline}}} | ||
Role | {{{role}}} | ||
Rider type | {{{ridertype}}} | ||
Amateur team(s) | |||
{{{amateuryears1}}} | {{{amateurteam1}}} | ||
{{{amateuryears2}}} | {{{amateurteam2}}} | ||
{{{amateuryears3}}} | {{{amateurteam3}}} | ||
{{{amateuryears4}}} | {{{amateurteam4}}} | ||
{{{amateuryears5}}} | {{{amateurteam5}}} | ||
{{{amateuryears6}}} | {{{amateurteam6}}} | ||
{{{amateuryears7}}} | {{{amateurteam7}}} | ||
{{{amateuryears8}}} | {{{amateurteam8}}} | ||
{{{amateuryears9}}} | {{{amateurteam9}}} | ||
{{{amateuryears10}}} | {{{amateurteam10}}} | ||
{{{amateuryears11}}} | {{{amateurteam11}}} | ||
{{{amateuryears12}}} | {{{amateurteam12}}} | ||
{{{amateuryears13}}} | {{{amateurteam13}}} | ||
{{{amateuryears14}}} | {{{amateurteam14}}} | ||
{{{amateuryears15}}} | {{{amateurteam15}}} | ||
Professional team(s) | |||
{{{proyears1}}} | {{{proteam1}}} | ||
{{{proyears2}}} | {{{proteam2}}} | ||
{{{proyears3}}} | {{{proteam3}}} | ||
{{{proyears4}}} | {{{proteam4}}} | ||
{{{proyears5}}} | {{{proteam5}}} | ||
{{{proyears6}}} | {{{proteam6}}} | ||
{{{proyears7}}} | {{{proteam7}}} | ||
{{{proyears8}}} | {{{proteam8}}} | ||
{{{proyears9}}} | {{{proteam9}}} | ||
{{{proyears10}}} | {{{proteam10}}} | ||
{{{proyears11}}} | {{{proteam11}}} | ||
{{{proyears12}}} | {{{proteam12}}} | ||
{{{proyears13}}} | {{{proteam13}}} | ||
{{{proyears14}}} | {{{proteam14}}} | ||
{{{proyears15}}} | {{{proteam15}}} | ||
{{{proyears16}}} | {{{proteam16}}} | ||
{{{proyears17}}} | {{{proteam17}}} | ||
{{{proyears18}}} | {{{proteam18}}} | ||
{{{proyears19}}} | {{{proteam19}}} | ||
{{{proyears20}}} | {{{proteam20}}} | ||
{{{proyears21}}} | {{{proteam21}}} | ||
{{{proyears22}}} | {{{proteam22}}} | ||
{{{proyears23}}} | {{{proteam23}}} | ||
{{{proyears24}}} | {{{proteam24}}} | ||
{{{proyears25}}} | {{{proteam25}}} | ||
Managerial team(s) | |||
{{{manageyears1}}} | {{{manageteam1}}} | ||
{{{manageyears2}}} | {{{manageteam2}}} | ||
{{{manageyears3}}} | {{{manageteam3}}} | ||
{{{manageyears4}}} | {{{manageteam4}}} | ||
{{{manageyears5}}} | {{{manageteam5}}} | ||
{{{manageyears6}}} | {{{manageteam6}}} | ||
{{{manageyears7}}} | {{{manageteam7}}} | ||
{{{manageyears8}}} | {{{manageteam8}}} | ||
{{{manageyears9}}} | {{{manageteam9}}} | ||
{{{manageyears10}}} | {{{manageteam10}}} | ||
{{{manageyears11}}} | {{{manageteam11}}} | ||
{{{manageyears12}}} | {{{manageteam12}}} | ||
{{{manageyears13}}} | {{{manageteam13}}} | ||
{{{manageyears14}}} | {{{manageteam14}}} | ||
{{{manageyears15}}} | {{{manageteam15}}} | ||
{{{manageyears16}}} | {{{manageteam16}}} | ||
{{{manageyears17}}} | {{{manageteam17}}} | ||
{{{manageyears18}}} | {{{manageteam18}}} | ||
{{{manageyears19}}} | {{{manageteam19}}} | ||
{{{manageyears20}}} | {{{manageteam20}}} | ||
{{{manageyears21}}} | {{{manageteam21}}} | ||
{{{manageyears22}}} | {{{manageteam22}}} | ||
{{{manageyears23}}} | {{{manageteam23}}} | ||
{{{manageyears24}}} | {{{manageteam24}}} | ||
{{{manageyears25}}} | {{{manageteam25}}} | ||
Major wins | |||
{{{majorwins}}} | |||
Medal record
|
{{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
[edit]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
|
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 in which they ride (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 in which they ride (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 ormedaltemplates |
An incorporated set of medal templates to show medals won in senior championships. Do not include {{MedalTableTop}} or {{MedalBottom}}. |
medals-expand orshow-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
[edit]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 =
| <nowiki><!--</nowiki> ''[[et cetera|etc.]]'' <nowiki>--></nowiki>
| module =
<nowiki>{{</nowiki>{{{1|{{{template|<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>EMBEDDED TEMPLATE NAME</noinclude>}}}}}} | {{#if:{{{parameter|}}} | {{{parameter}}}=yes | child=yes <nowiki><!--</nowiki> ''or'' embed=yes ''or'' subbox=yes <nowiki>--></nowiki>}}
| {{{2|{{{example_parameter1|parameter-1}}}}}} =
| {{{3|{{{example_parameter2|parameter-2}}}}}} =
| {{{4|{{{example_parameter3|parameter-3}}}}}} =
| {{{5|{{{example_parameter4|parameter-4}}}}}} =
| <nowiki><!--</nowiki> ''etc.'' <nowiki>--></nowiki>
}}
}}
Style guide
[edit]Density of information
[edit]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
[edit]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
[edit]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
[edit]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
[edit]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.
Tracking categories
[edit]- Category:Pages using infobox cyclist with unknown parameters (2)
- Category:Pages using infobox cyclist with atypical values for height or weight (4)
- Category:Pages using infobox cyclist with multiple entries in single field (14)
TemplateData
[edit]TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for Template:Infobox cyclist in articles based on its TemplateData.
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.
|