Bản mẫu:Basketball roster header
Giao diện
Đội hình của {{{team}}} | |||||||
|---|---|---|---|---|---|---|---|
| Cầu thủ | Huấn luyện viên | ||||||
| |||||||
This template is designed for use with {{player3}} and {{basketball roster footer}} to create a team roster, either in a template, or directly in an article.
Basic usage Bản mẫu:Basketball roster header
{{Basketball roster header| team = | bg1 = | color1 = | bg2 = | color2 = }}To hide the weight column, use
{{Basketball roster header| team = | wt = n | bg1 = | color1 = | bg2 = | color2 = }}To hide the weight column and age column, use
{{Basketball roster header| team = | wt = n | age = n | bg1 = | color1 = | bg2 = | color2 = }}Adding an edit link Bản mẫu:Basketball roster header
To add view/edit/discuss links to the title line, add
| template_name =
with the name of the template.
Automatic coloring Bản mẫu:Basketball roster header
To have the coloring automatically determined by a league color template, use
{{Basketball roster header| type = league | team = }}where league corresponds to a template named {{league color}}. The league color template should return four different hex color values (without the leading #) for each team when invoked as {{league color|team|1}}, {{league color|team|2}}, {{league color|team|3}}, and {{league color|team|4}}. See {{NBA color}} for an example.