ढाँचा:Cycling team
Lua error in मोड्युल:Navbar at line 58: Invalid title {{{name}}}.
Usage
सम्पादन गर्नुहोस्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 templates are:
- {{Cycling team}}
- {{Cycling team rider}}
- {{Cycling team manager}}
The latter two templates are used for standardized formatting and aren't strictly necessary. All templates have parameters.
Using the templates together
सम्पादन गर्नुहोस्The {{Cycling team}} template creates a navbox, and the "body" parameter fills it in. Each rider needs a {{Cycling team rider}}. {{Cycling team manager}} notes the general manager and closes the list.
Parameters
सम्पादन गर्नुहोस्Parameters of {{Cycling team}}
सम्पादन गर्नुहोस्{{Cycling team |name = {{subst:PAGENAME}} |teamname= |bgcolor= |textcolor= |bordercolor= |title= |body= }}
- {{{name}}} - used when generating the "view/discuss/edit" links in the navbox header.
- {{{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
- {{{body}}} - the body of the list, usually formatted using the two accessory templates.
Parameters of {{Cycling team rider}}
सम्पादन गर्नुहोस्{{Cycling team rider|{{{1}}}}}
- {{{1}}} - rider's name, wikilinked and piped if necessary for disambiguation
Parameters of {{Cycling team manager}}
सम्पादन गर्नुहोस्{{Cycling team manager|{{{1}}}}}
- {{{1}}} - manager's name, wikilinked and piped if necessary for disambiguation
Category
सम्पादन गर्नुहोस्Team templates belong in Category: Cycling team templates.
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. All names should be wikilinked. Names should only be piped where disambiguation has been required, either by suffixing the article name with (cyclist) or by using a full name.
Example
सम्पादन गर्नुहोस्{{Cycling team |name={{subst:PAGENAME}} |teamname=Crédit Agricole (cycling team) |bgcolor=#126A63 |textcolor=#FFFFFF |bordercolor=#FF0000 |title=Crédit Agricole |body=<div>{{Cycling team rider|[[László Bodrogi]]}} {{Cycling team rider|[[Sébastien Hinault]]}} {{Cycling team rider|[[Robert Hunter (cyclist)|Robert Hunter]]}} {{Cycling team rider|[[Saul Raisin]]}} {{Cycling team manager|[[Roger Legeay]]}} </div>}}
gives