Difference between revisions of "Template:Infobox cycling team/doc"

From blackwiki
Jump to navigation Jump to search
imported>Severo
m (→‎Parameters: simplify)
imported>Vanisaac
m (→‎Icons: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(52 intermediate revisions by 22 users not shown)
Line 1: Line 1:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
+
{{Documentation subpage}}
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
  
 
==Usage==
 
==Usage==
 
What to type:
 
What to type:
<pre><nowiki>{{Infobox Cycling team
+
<pre>{{Infobox cycling team
| teamname     =
+
| name          =
| image       =
+
| image          =
| code        =
+
| image_size     =
| base         =
+
| caption        =
| founded      =
+
| current       =  
| disbanded   =
+
| code           =
| manager     =
+
| registered    =
| teammanager  =
+
| founded        =
| discipline   =
+
| disbanded      =
| status      =
+
| discipline    =
| season       =
+
| status         =
| oldname     =
+
| bicycles      =
| pattern_la1=|pattern_b1=|pattern_ra1=|leftarm1=|body1=|rightarm1=|shorts1=|
+
| components    =
}}</nowiki></pre>
+
| analytics      =
 +
| website        =
 +
| generalmanager =
 +
| teammanager    =
 +
| season         =
 +
| oldname        =
 +
| kitimage      =
 +
| pattern_la1    =
 +
| pattern_b1    =
 +
| pattern_ra1   =
 +
| leftarm1      =
 +
| body1          =
 +
| rightarm1     =
 +
}}</pre>
 +
 
 +
{{Infobox cycling team
 +
| name          = {{{name}}}
 +
| image          ={{{image}}}
 +
| image_size    ={{{image_size}}}
 +
| caption        ={{{caption}}}
 +
| current        = {{{current}}}
 +
| code          ={{{code}}}
 +
| registered    ={{{registered}}}
 +
| founded        ={{{founded}}}
 +
| disbanded      ={{{disbanded}}}
 +
| discipline     ={{{discipline}}}
 +
| status         ={{{status}}}
 +
| bicycles       ={{{bicycles}}}
 +
| components    ={{{components}}}
 +
| analytics      ={{{analytics}}}
 +
| website        ={{{website}}}
 +
| generalmanager ={{{generalmanager}}}
 +
| teammanager    ={{{teammanager}}}
 +
| season         ={{{season}}}
 +
| oldname       ={{{oldname}}}
 +
| kitimage      ={{{kitimage}}}
 +
| pattern_la1   ={{{pattern_la1}}}
 +
| pattern_b1     ={{{pattern_b1 }}}
 +
| pattern_ra1   ={{{pattern_ra1}}}
 +
| leftarm1       ={{{leftarm1}}}
 +
| body1         ={{{body1}}}
 +
| rightarm1     ={{{rightarm1}}}
 +
}}
  
 
==Purpose==
 
==Purpose==
Line 26: Line 68:
  
 
No parameters are mandatory
 
No parameters are mandatory
 +
{| class="wikitable"
 +
! Parameter !! Description
 +
|-
 +
| name || Full team name
 +
|-
 +
| image || Image of logo if available, any picture of the team (a rider or group photo, for example) if not
 +
|-
 +
| image_size || Size of image in px (default is 220px)
 +
|-
 +
| code || Official [[Union Cycliste Internationale|UCI]] code. 2005– can be found [http://www.uci.ch/road/teams/ here].
 +
|-
 +
| registered || National base as registered with the [[Union Cycliste Internationale|UCI]]
 +
|-
 +
| founded || Year of formation; use {{Tlx|Start date}}
 +
|-
 +
| disbanded || Year of disbanding (last active year racing)
 +
|-
 +
| discipline || Disciplines competed in, for example [[Road bicycle racing|Road]] (<code><nowiki>[[Road bicycle racing|Road]]</nowiki></code>), [[Track cycling|Track]] (<code><nowiki>[[Track cycling|Track]]</nowiki></code>), [[Cyclo-cross]] (<code><nowiki>[[Cyclo-cross]]</nowiki></code>), [[Mountain bike racing|MTB]] (<code><nowiki>[[Mountain bike racing|MTB]]</nowiki></code>) or [[BMX racing|BMX]] (<code><nowiki>[[BMX racing|BMX]]</nowiki></code>)
 +
|-
 +
| status || Team status as registered with the [[Union Cycliste Internationale|UCI]] or national federation, for example [[UCI WorldTeam]], Professional Continental or Continental
 +
|-
 +
| bicycles || Make of the bicycles used by the team
 +
|-
 +
| components || Make of the bicycle's main components ([[groupset]]) used by the team
 +
|-
 +
| analytics || Training data and analytics provider used by the team
 +
|-
 +
| website || The [[Uniform Resource Locator|URL]] of the team's official website. Should not be linked.
 +
|-
 +
| generalmanager || General manager
 +
|-
 +
| teammanager || Team manager or managers, sometimes although not always different from General manager. If the same, this is redundant
 +
|-
 +
| season || A &lt;br&gt; delimited list of years the team has been active, most recent first. You can also include the status of the team in italics (for example 2004 - ''Div. I'')
 +
|-
 +
| oldname || A &lt;br&gt; delimited list of name the team has had in each year, most recent first. You can also include the official [[Union Cycliste Internationale|UCI]] code in italics, for example Quickstep ''(QSI)''
 +
|-
 +
| kitimage || Image of the team's current [[Cycling jersey|jersey]], in the form <code>File:image name.ext</code> (without brackets)
 +
|-
 +
| pattern_la1, pattern_b1, pattern_ra1, leftarm1, body1, rightarm1 || Usage is as {{tlx|Football kit}}, except without the shorts and socks
 +
|}
  
*<nowiki>{{{teamname}}}</nowiki> &mdash; Full team name
+
==Microformat==
*<nowiki>{{{image}}}</nowiki> &mdash; Image of logo if available, any picture of the team (a rider or group photo, for example) if not
+
{{UF-hcard-org}}
*<nowiki>{{{code}}}</nowiki> &mdash; Official UCI code
 
*<nowiki>{{{base}}}</nowiki> &mdash; National base as registered with the UCI
 
*<nowiki>{{{founded}}}</nowiki> &mdash; Year of formation
 
*<nowiki>{{{disbanded}}}</nowiki> &mdash; Year of disbanding (last active year racing)
 
*<nowiki>{{{manager}}}</nowiki> &mdash; General manager
 
*<nowiki>{{{teammanager}}}</nowiki> &mdash; Team manager, sometimes although not always different from General manager. If the same, this is redundent
 
*<nowiki>{{{discipline}}}</nowiki> &mdash; Disciplines competed in, for example Road, Track, Cyclo-cross, MTB
 
*<nowiki>{{{status}}}</nowiki> &mdash; Team status as registered with the UCI or national federation, for example ProTour, Professional Continental or Continental
 
*<nowiki>{{{season}}}</nowiki> &mdash; A &lt;br /&gt; delimited list of years the team has been active, most recent first. You can also include the status of the team in italics (for example 2004 - ''Div. I'')
 
*<nowiki>{{{oldname}}}</nowiki> &mdash; A &lt;br /&gt; delimited list of name the team has had in each year, most recent first. You can also include the official UCI ode in italics, for example Quickstep ''(QSI)''
 
*<nowiki>{{{pattern_la1=|pattern_b1=|pattern_ra1=|leftarm1=|body1=|rightarm1=|shorts1=|}}}</nowiki> &mdash; Usage is as [[Template talk:Football kit]], except without the socks
 
  
 
== Style guide ==
 
== Style guide ==
 
=== Wikilinking ===
 
=== Wikilinking ===
As per the [[Wikipedia:Manual of Style (links)|manual of style]] entry on linking, years should ''not'' be linked as they do not provide much benefit to the user. Linking of other entries is to be discouraged - most of these links will present themselves in the article's introduction; linking them in the infobox adds clutter and inhibits the speedy retrieval of facts.
+
As per the [[Wikipedia:Manual of Style (links)|manual of style]] entry on linking, years should ''not'' be linked as they do not provide much benefit to the user.
  
<includeonly>
+
===Icons===
 +
As per [[WP:MOSICON]], the use of icons, including flags, in infoboxes is discouraged.
 +
 
 +
<includeonly>{{Sandbox other||
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
  
[[Category:Sports infobox templates|Cycling team infobox]]
+
[[Category:Cycling infobox templates|{{PAGENAME}}]]
[[Category:Cycling templates|{{PAGENAME}}]]
 
  
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
  
[[da:Skabelon:Infoboks cykelhold]]
+
}}</includeonly>
[[nl:Sjabloon:Wielerploeg]]
 
[[no:Mal:Infoboks sykkellag]]
 
[[fi:Malline:Pyöräilytalli]]
 
[[simple:Template:Infobox Cycling team]]
 
 
 
</includeonly>
 

Latest revision as of 18:36, 25 April 2020

Usage

What to type:

{{Infobox cycling team
| name           =
| image          =
| image_size     =
| caption        =
| current        = 
| code           =
| registered     =
| founded        =
| disbanded      =
| discipline     =
| status         =
| bicycles       =
| components     =
| analytics      =
| website        =
| generalmanager =
| teammanager    =
| season         =
| oldname        =
| kitimage       =
| pattern_la1    =
| pattern_b1     =
| pattern_ra1    =
| leftarm1       =
| body1          =
| rightarm1      =
}}
{{{name}}}
[[File:{{{image}}}|{{{image_size}}}]]
{{{caption}}}
Team information
UCI code{{{code}}}
Registered{{{registered}}}
Founded{{{founded}}}
Disbanded{{{disbanded}}}
Discipline(s){{{discipline}}}
Status{{{status}}}
Bicycles{{{bicycles}}}
Components{{{components}}}
Website[{{{website}}} Team home page]
Key personnel
General manager{{{generalmanager}}}
Team manager(s){{{teammanager}}}
Team name history
{{{season}}}
{{{oldname}}}
[[File:{{{kitimage}}}|center|100px|Infobox cycling team/doc jersey]]Jersey
[[{{{current}}}|Current season]]

Purpose

The cycling team infobox provides a quick overview of a current or former professional cycling team. It includes easy to read details on the team's formation, base, disbanding, UCI code, discipline, status, key personnel and former team names. It is intended for all competitive cycling teams.

Parameters

No parameters are mandatory

Parameter Description
name Full team name
image Image of logo if available, any picture of the team (a rider or group photo, for example) if not
image_size Size of image in px (default is 220px)
code Official UCI code. 2005– can be found here.
registered National base as registered with the UCI
founded Year of formation; use {{Start date}}
disbanded Year of disbanding (last active year racing)
discipline Disciplines competed in, for example Road ([[Road bicycle racing|Road]]), Track ([[Track cycling|Track]]), Cyclo-cross ([[Cyclo-cross]]), MTB ([[Mountain bike racing|MTB]]) or BMX ([[BMX racing|BMX]])
status Team status as registered with the UCI or national federation, for example UCI WorldTeam, Professional Continental or Continental
bicycles Make of the bicycles used by the team
components Make of the bicycle's main components (groupset) used by the team
analytics Training data and analytics provider used by the team
website The URL of the team's official website. Should not be linked.
generalmanager General manager
teammanager Team manager or managers, sometimes although not always different from General manager. If the same, this is redundant
season A <br> delimited list of years the team has been active, most recent first. You can also include the status of the team in italics (for example 2004 - Div. I)
oldname A <br> delimited list of name the team has had in each year, most recent first. You can also include the official UCI code in italics, for example Quickstep (QSI)
kitimage Image of the team's current jersey, in the form File:image name.ext (without brackets)
pattern_la1, pattern_b1, pattern_ra1, leftarm1, body1, rightarm1 Usage is as {{Football kit}}, except without the shorts and socks

Microformat

Template:UF-hcard-org

Style guide

Wikilinking

As per the manual of style entry on linking, years should not be linked as they do not provide much benefit to the user.

Icons

As per WP:MOSICON, the use of icons, including flags, in infoboxes is discouraged.