Skabelon:Basketball spillerliste

{{{team}}} roster
Spillere Trænere
Pos. # Nat. Navn Højde Vægt Alder
Documentation icon Skabelondokumentation

This template is designed for use with {{player3}} and {{basketball spillerliste footer}} to create a team roster, either in a template, or directly in an article.

Basic usage

{{Basketball roster header| team =  | bg1 =  | color1 =  | bg2 =  | color2 = }}

To hide the weight column, use

{{Basketball roster header| team =  | wt = n | bg1 =  | color1 =  | bg2 =  | color2 = }}
a

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

To add view/edit/discuss links to the title line, add

| template_name = 

with the name of the template.

Automatic coloring

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.