Difference between revisions of "Template:FIBA roster header"

From blackwiki
Jump to navigation Jump to search
imported>AlipioPilipino
imported>Amorymeltzer
(Use abbreviation No. for number, but remove height abbreviation since it seems it doesn't save space)
 
(22 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{| class="toccolours" style="font-size: 95%; {{#ifeq:{{NAMESPACE}}|{{ns:10}}|width:100%;}}"
+
{| class="toccolours" style="font-size: 95%; {{#ifeq:{{NAMESPACE}}|{{ns:10}}|width:100%;}}{{{style|}}}"
 
|-
 
|-
! colspan="2" style="background-color: {{{bg1|white}}}; text-align: center;" | {{Tnavbar-header
+
! colspan="2" style="background-color: {{{bg1|transparent}}}; text-align: center; color: {{{color1|black}}}" | {{#if:{{{template name|{{{template_name|}}}}}}
| 1 = '''{{{team}}} roster'''
+
  |{{Navbar-header
| 2 = {{{team}}} roster
+
      | 1 = {{{team}}} roster
| fontcolor={{{color1|black}}}
+
      | 2 = {{{template name|{{{template_name}}}}}}
}}
+
      | fontcolor={{{color1|black}}}
|- style="background-color: {{{bg2|{{{color1|black}}}}}}; color: {{{color2|{{{bg1|white}}}}}}; text-align: center;"
+
      }}
! '''Players''' !! '''Coaches'''
+
    | {{{team}}} roster
 +
    }}
 +
|- style="background-color: {{{bg2|{{{color1|#ddd}}}}}}; color: {{{color2|{{{bg1|black}}}}}}; text-align: center;"
 +
! Players !! Coaches
 
|-  
 
|-  
| valign="top" | {{#ifeq:{{NAMESPACE}}|{{ns:10}}
+
| style="vertical-align:top;" | {{#ifeq:{{NAMESPACE}}|{{ns:10}}
 
|  
 
|  
 
}}
 
}}
 
{| class="sortable" style="background:transparent; margin:0px; width:100%;"
 
{| class="sortable" style="background:transparent; margin:0px; width:100%;"
! Pos. !! # !! [[Place of birth|POB]]  !! Name !! Ht. !! Wt. !! Club
+
! {{Abbr|Pos.|Position(s)}} !! {{Abbr|No.|Number}} !! Name !! Age – <small>Date of birth</small> !! Height !! Club {{#ifeq:{{yesno-yes|{{{nat|}}}}}|no||!! {{Abbr|Ctr.|Country}}}}
 
|-<noinclude>
 
|-<noinclude>
|}
+
{{FIBA roster footer}}
|
+
{{Documentation|content=
|}
+
== Usage ==
<br/>
+
<pre>
{{Documentation, template|Template:NBA roster doc}}
+
{{FIBA roster header
 +
| team =
 +
| bg1 =
 +
| color1 =
 +
| bg2 =
 +
| color2 =
 +
}}
 +
{{FIBA roster footer
 +
| head_coach =
 +
*
 +
| asst_coach =
 +
*
 +
| otherlegend =
 +
}}</pre>
 +
* {{para|team}} is the name of the team
 +
* {{para|bg1}} is the hex value for the primary background colour
 +
* {{para|color1}} is the hex value for the primary font colour
 +
* {{para|bg2}} is the hex value for the secondary background colour
 +
* {{para|color1}} is the hex value for the secondary font colour
 +
=== In a template ===
 +
To add view/talk/edit links, add
 +
<pre>
 +
| template_name = {{subst:PAGENAME}}
 +
</pre>
 +
===Additional parameters===
 +
* To suppress the nationality heading, use {{para|nat|no}}
 +
* To change the styling of the table, use {{para|style}}
 +
== See also ==
 +
* {{tl|FIBA roster footer}}
 +
}}[[Category:Basketball roster templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:35, 23 July 2018

{{{team}}} roster
Players Coaches
Pos. No. Name Age – Date of birth Height Club Ctr.
Template documentation

Usage

{{FIBA roster header
| team = 
| bg1 = 
| color1 = 
| bg2 = 
| color2 = 
}}
{{FIBA roster footer
| head_coach =
*
| asst_coach =
*
| otherlegend = 
}}
  • |team= is the name of the team
  • |bg1= is the hex value for the primary background colour
  • |color1= is the hex value for the primary font colour
  • |bg2= is the hex value for the secondary background colour
  • |color1= is the hex value for the secondary font colour

In a template

To add view/talk/edit links, add

| template_name = {{subst:PAGENAME}}

Additional parameters

  • To suppress the nationality heading, use |nat=no
  • To change the styling of the table, use |style=

See also