Templat:Basketball roster header

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas
Loncat ke navigasi Loncat ke pencarian
Anggota tim {{{team}}}
Pemain Pelatih
Pos. # Nat. Nama Ht. Wt. Usia
Ikon dokumentasi Dokumentasi templat

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

{{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

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.