Шаблон:Infobox cyclist/doc
Этот шаблон реализован на основе Lua с использованием модуля Module:Infobox cyclist tracking. |
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 = | fullname = | nickname = | birth_date = | birth_place = | height = | weight = | currentteam = | discipline = | role = Rider | ridertype = | amateuryears1 = | amateurteam1 = | amateuryears2 = | amateurteam2 = | proyears1 = | proteam1 = | proyears2 = | proteam2 = | majorwins = | medaltemplates = | show-medals = | updated = }} |
For retired living riders |
---|
{{Infobox cyclist | name = | image = | image_size = | caption = | fullname = | nickname = | birth_date = | birth_place = | 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 = | 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 active managers, never riders |
---|
{{Infobox cyclist | name = | image = | image_size = | caption = | fullname = | nickname = | birth_date = | birth_place = | currentteam = | discipline = | role = | manageyears1 = | manageteam1 = | manageyears2 = | manageteam2 = | updated = }} |
For deceased riders/managers |
---|
{{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 = }} |
Parameters
[вироиши манбаъ]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 |
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 WP: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 WP: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 showed if the "show" link is clicked.. Otherwise, it is displayed. |
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
[вироиши манбаъ]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
[вироиши манбаъ]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
[вироиши манбаъ]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
[вироиши манбаъ]- Hidden tracking/maintenance categories
- Гурӯҳ:Pages using infobox cyclist with deprecated parameters
- Гурӯҳ:Pages using infobox cyclist with atypical values for height or weight