Skabelon:Infobox cyclist/doc

Fra Wikipedia, den frie encyklopædi

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.

Brug[rediger kildetekst]

For aktive ryttere
{{Infobox cyclist
| name           =
| image          =
| image_size     =
| caption        =
| fullname       =
| nickname       =
| birth_date     =
| birth_place    =
| height         =
| weight         =
| currentteam    =
| discipline     =
| role           = Rytter
| ridertype      =
| amateuryears1  =
| amateurteam1   =
| amateuryears2  =
| amateurteam2   =
| proyears1      =
| proteam1       =
| proyears2      =
| proteam2       =
| majorwins      =
| medaltemplates =
| show-medals    =
| updated        =
}}
For pensionerede nulevende ryttere
{{Infobox cyclist
| name           =
| image          =
| image_size     =
| caption        =
| fullname       =
| nickname       =
| birth_date     =
| birth_place    =
| height         =
| weight         =
| currentteam    = Pensioneret
| discipline     =
| role           = Rytter
| ridertype      =
| amateuryears1  =
| amateurteam1   =
| amateuryears2  =
| amateurteam2   =
| proyears1      =
| proteam1       =
| proyears2      =
| proteam2       =
| majorwins      =
| medaltemplates =
| show-medals    =
}}
For aktive trænere, forhenværende ryttere
{{Infobox cyclist
| name           =
| image          =
| image_size     =
| caption        =
| fullname       =
| nickname       =
| 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 aktive trænere, der aldrig har været professionelle cykelryttere
{{Infobox cyclist
| name           =
| image          =
| image_size     =
| caption        =
| fullname       =
| nickname       =
| birth_date     =
| birth_place    =
| currentteam    =
| discipline     =
| role           =
| manageyears1   =
| manageteam1    =
| manageyears2   =
| manageteam2    =
| updated        =
}}
For afdøde ryttere/trænere
{{Infobox cyclist
| name           =
| image          =
| image_size     =
| caption        =
| fullname       =
| nickname       =
| 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    =
}}

Fuld skabelon[rediger kildetekst]

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1|{{{alt}}}]]
{{{caption}}}
Personlig information
Fuldt navn {{{fullname}}}
Kælenavn {{{nickname}}}
Født {{{birth_date}}}
{{{birth_place}}}
Død {{{death_date}}}
{{{death_place}}}
Højde {{{height}}}
Vægt {{{weight}}}
Holdinformation
Nuværende hold {{{currentteam}}}
Disciplin {{{discipline}}}
Rolle {{{role}}}
Ryttertype {{{ridertype}}}
Amatørhold
{{{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}}}
Professionelle hold
{{{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}}}
Trænerkarriere
{{{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}}}
Store sejre
{{{majorwins}}}
Infoboksen senest opdateret den
{{{updated}}}
{{Infobox cyclist
| name           = 
| image          = 
| image_size     = 
| alt            = 
| caption        = 
| fullname       = 
| nickname       = 
| 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    = 
| updated        = 
}}


Parameters[rediger kildetekst]

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
updated Use the date
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
fullname
nickname The rider's most common nickname
birth_place Wikilinked text (no flags as per Wikipedia: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 Wikipedia:FLAG) to the city and country of death
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. 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
medaltemplates An incorporated set of medal templates to show medals won in senior championships
show-medals If "show-medals=no", the medal table is hidden and will only be shown if the "show" link is clicked. Otherwise, it is displayed.

Style guide[rediger kildetekst]

Density of information[rediger kildetekst]

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[rediger kildetekst]

As per Wikipedia: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[rediger kildetekst]

Fra engelsk Wikipedia: 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[rediger kildetekst]

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[rediger kildetekst]

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.

See also[rediger kildetekst]

Hidden tracking/maintenance categories

TemplateData[rediger kildetekst]

Dette er denne skabelons TemplateData-dokumentation, som bruges af VisualEditor og andre værktøjer.

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.

Skabelonparametre

Denne skabelon foretrækker blok-formatering af parametre (en parameter per linje).

ParameterBeskrivelseTypeStatus
namename

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.

Eksempel
Levi Leipheimer
Strengpåkrævet
imageimage picture

Image of the cyclist

Strengforeslået
image_sizeimage_size

The size of the image in pixels.

Standardværdi
220px
Eksempel
4800px
Talforeslået
captioncaption

Provides a caption for the image

Eksempel
Van Dijk after winning the 2013 World Time Trial Championships.
Strengforeslået
fullnamefullname

The full name/birth name of the cyclist

Eksempel
Jennie Reed
Strengvalgfri
nicknamenickname

The most common nickname that cyclist is referred by.

Eksempel
The Animal
Strengforeslået
birth_datebirth_date

Cyclist's date of birth

Eksempel
{{Start date|19876|07|09|df=y}}
Datopåkrævet
birth_placebirth_place

The place where the cyclist was born

Eksempel
Kirkland, Washington, United States
Strengforeslået
death_datedeath_date

The date when cyclist died

Eksempel
{{Start date|2009|06|05|df=y}}
Datoforeslået
death_placedeath_place

The place of cyclist's death

Eksempel
Argenteuil, France
Strengforeslået
heightheight

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

Eksempel
5'6
Talforeslået
weightweight

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

Eksempel
62 kg
Talforeslået
currentteamcurrentteam

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

Eksempel
Gerolsteiner
Strengforeslået
disciplinediscipline

The rider's style of cycling

Eksempel
Mountain bikers
Strengforeslået
rolerole

ingen beskrivelse

Strengforeslået
ridertyperidertype

The type of cycling the cyclist specializes in.

Eksempel
Sprinting
Strengforeslået
majorwinsmajorwins

Most notable victory of the cyclist

Eksempel
General classification in the Giro d'Italia
Strengforeslået
medaltemplatesmedaltemplates

An incorporated set of medal templates to show medals won in senior championships

Skabelonforeslået
show-medalsshow-medals

If "show-medals=no", the medal table is hidden and will only be shown if the "show" link is clicked. Otherwise, it is displayed.

Booleskforeslået
updatedupdated

ingen beskrivelse

Strengpåkrævet
amateurteam2amateurteam2

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.)

Eksempel
Staats Bicycles
Strengforeslået
proteam1proteam1

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.)

Eksempel
Boels Dolmans Cycling Team
Strengforeslået
proteam2proteam2

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.)

Eksempel
Team Specialized–lululemon
Strengforeslået
amateuryears2amateuryears2

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.)

Eksempel
2005-2008
Talforeslået
proyears1proyears1

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.)

Eksempel
2011-2014
Talforeslået
proyears2proyears2

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.)

Eksempel
2008-2014
Talforeslået
amateuryears1amateuryears1

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.)

Eksempel
2000-2005
Talforeslået
amateurteam1amateurteam1

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.)

Eksempel
Sunland cycles
Strengforeslået