Difference between revisions of "Template:FIBA roster header"
Jump to navigation
Jump to search
Template documentation
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| | + | ! colspan="2" style="background-color: {{{bg1|transparent}}}; text-align: center; color: {{{color1|black}}}" | {{#if:{{{template name|{{{template_name|}}}}}} |
| − | | 1 = | + | |{{Navbar-header |
| − | | 2 = {{{ | + | | 1 = {{{team}}} roster |
| − | | fontcolor={{{color1|black}}} | + | | 2 = {{{template name|{{{template_name}}}}}} |
| − | }} | + | | fontcolor={{{color1|black}}} |
| − | |- style="background-color: {{{bg2|{{{color1| | + | }} |
| − | ! | + | | {{{team}}} roster |
| + | }} | ||
| + | |- style="background-color: {{{bg2|{{{color1|#ddd}}}}}}; color: {{{color2|{{{bg1|black}}}}}}; text-align: center;" | ||
| + | ! Players !! Coaches | ||
|- | |- | ||
| − | | | + | | 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. !! | + | ! {{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 == |
| − | < | + | <pre> |
| − | {{ | + | {{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 | |||||||
|
||||||||
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
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |