الگو:Infobox cyclist/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

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      = 
| amateuryears   = 
| amateurteams   = 
| proyears       = 
| proteams       = 
| majorwins      = 
| medaltemplates = 
| updated        = 
}}
For retired living riders
{{Infobox cyclist
| name           = 
| image          = 
| image_size     = 
| caption        = 
| fullname       = 
| nickname       = 
| birth_date     = 
| birth_place    = 
| currentteam    = Retired
| discipline     = 
| role           = Rider
| ridertype      = 
| amateuryears   = 
| amateurteams   = 
| proyears       = 
| proteams       = 
| majorwins      = 
| medaltemplates = 
}}
For active managers, former riders
{{Infobox cyclist
| name           = 
| image          = 
| image_size     = 
| caption        = 
| fullname       = 
| nickname       = 
| birth_date     = 
| birth_place    = 
| currentteam    = 
| discipline     = 
| role           = 
| ridertype      = 
| amateuryears   = 
| amateurteams   = 
| proyears       = 
| proteams       = 
| manageyears    = 
| manageteams    = 
| majorwins      = 
| medaltemplates = 
| updated        = 
}}
For active managers, never riders
{{Infobox cyclist
| name           = 
| image          = 
| image_size     = 
| caption        = 
| fullname       = 
| nickname       = 
| birth_date     = 
| birth_place    = 
| currentteam    = 
| discipline     = 
| role           = 
| manageyears    = 
| manageteams    = 
| 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      = 
| amateurteams   = 
| amateuryears   = 
| proyears       = 
| proteams       = 
| manageyears    = 
| manageteams    = 
| majorwins      = 
| medaltemplates = 
}}

Parameters[ویرایش]

Mandatory
  • {{{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, wikilinked for date preference
Optional
  • {{{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
  • {{{amateuryears}}} — An {{plainlist}} of years that the rider has been contracted at each amateur team
  • {{{amateurteams}}} — An {{plainlist}} of amateur teams that the rider has been contracted at
  • {{{proyears}}} — An {{plainlist}} of years that the rider has been contracted at each professional team
  • {{{proteams}}} — An {{plainlist}} of professional teams that the rider has been contracted at, 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.
  • {{{manageyears}}} — An {{plainlist}} of years that the manager has been contracted at each professional team
  • {{{manageteams}}} — An {{plainlist}} of professional teams that the manager has been contracted at
  • {{{medaltemplates}}} — An incorporated Medal Box to show medals won in senior championships
  • {{{majorwins}}} — DO NOT BULLETPOINT (this upsets following code); Should include notable victories as a rider
Deprecated
  • {{{country}}} — The current country the cyclist has or would represent at World Championship/Olympic events. Use of flag templates is discouraged under WP:INFOBOXFLAG. Deprecated in favor of {{{birth_place}}} and {{MedalCountry}} (when using {{{medaltemplates}}}.

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.

زیرالگوها[ویرایش]

اطلاعات تاریخ تولد، تنها هنگامی در ریزقالب گنجانده می‌شود که {{تاریخ تولد}} یا {{تاریخ تولد و سن}} در جعبه اطلاعات، بکار رفته باشند. (اگر تاریخ قبل از ۱۵۸۳ است از این الگوها استفاده نکنید). بر پایه زندگی‌نامه زندگان در بکار بردن این الگو درباره افراد زنده، محتاط باشید.

برای افزودن نشانی وب، از {{نشانی وب}} استفاده کنید.

خواهشمند است کاربردهای این زیرالگوها را حذف نکنید.

کلاس‌ها[ویرایش]

hCard از کلاس‌های HTML زیر استفاده می‌کند:

  • 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

خواهشمند است این کلاس‌ها را تغییرنام ندهید یا حذف نکنید. عناصر تودرتویی که از آنها استفاده می‌کنند را نیز به حالت جمع‌شده درنیاورید.

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.