Template talk:Cycling team rider

From Wikipedia, the free encyclopedia

Contents

[edit] Documentation

Cycling team is a set of four templates that create a standardised boxed cycling team squad list for use on the bottom of a cycling biography article, to link to articles of other team members. The four templates are:

All templates have parameters.

[edit] Using the templates together

The templates create a shallow box. Every list must start with {{Cycling team start}}. Each rider needs a {{Cycling team rider}}, except for the last rider on the list, who requires {{Cycling team lastrider}}. {{Cycling team manager}} notes the general manager and closes the box.

[edit] Parameters

[edit] Parameters of {{Cycling team start}}

{{Cycling team start|teamname= |bgcolor= |textcolor= |bordercolor= |title=}}
  • {{{teamname}}} - main article to link to
  • {{{bgcolor}}} - background color of top bar
  • {{{textcolor}}} - text color in the top bar
  • {{{bordercolor}}} - border color of the top bar
  • {{{title}}} - Optional title to display if different from the article title

[edit] Parameters of {{Cycling team rider}} and {{Cycling team lastrider}}

{{Cycling team rider|{{{1}}}}}
{{Cycling team lastrider|{{{1}}}}}
  • {{{1}}} - rider's name, wikilinked and piped replacing spaces with non-breaking spaces ( )

[edit] Parameters of {{Cycling team manager}}

{{Cycling team manager|{{{1}}}|bgcolor= |textcolor= |bordercolor= }}
  • {{{1}}} - manager's name, wikilinked and replacing spaces with non-breaking spaces ( )
  • {{{bgcolor}}} - background color of lower bar
  • {{{textcolor}}} - text color in the lower bar
  • {{{bordercolor}}} - border color of the lower bar

[edit] Category

Team templates belong in Category: Cycling team templates.

[edit] Style guide

The colors of the top and lower bars should be the same, although the coding does not currently allow for only one entry to be input. Colors can be words or HTML preceded by #. If a team only has two colors, then the border color can be the same as the text or background color. By piping the rider's names, replacing spaces with non-breaking spaces ( ), linked names will not break onto two lines. In piping, names should only be changed where disambiguation has been required, either by suffixing the article name with (cyclist) or by using a full name.

[edit] Example

{{Cycling team start|teamname=Crédit Agricole (cycling team)|bgcolor=#126A63|textcolor=#FFFFFF
|bordercolor=#FF0000|title=Crédit Agricole}}
{{Cycling team rider|[[László Bodrogi|László Bodrogi]]}}
{{Cycling team rider|[[Sébastien Hinault|Sébastien Hinault]]}}
{{Cycling team rider|[[Thor Hushovd|Thor Hushovd]]}}
{{Cycling team lastrider|[[Saul Raisin|Saul Raisin]]}}
{{Cycling team manager|[[Roger Legeay|Roger Legeay]]|bgcolor=#126A63|textcolor=#FFFFFF|bordercolor=#FF0000}}

gives

Riders on Crédit Agricole

László Bodrogi | Sébastien Hinault | Thor Hushovd |  Saul Raisin

Manager
Roger Legeay

[edit] Discussion