Difference between revisions of "Template:Bs out2 header"

From blackwiki
Jump to navigation Jump to search
imported>H-Hurry
(Created page with '{| class="wikitable sortable" style="text-align: center;" |- !width=30|{{Tooltip|No.|Squad Number}}<br /> !width=30|Pos.<br /> !width=30...')
 
imported>Andiii
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{| class="wikitable sortable" style="text-align: center;"
 
{| class="wikitable sortable" style="text-align: center;"
 
|-
 
|-
!width=30|{{Tooltip|No.|Squad Number}}<br />
+
{{#ifeq:{{{no}}}|n||!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=30{{!}}{{Abbr|No.|Squad Number}}}}<!--
!width=30|[[Basketball positions|Pos.]]<br />
+
-->{{#ifeq:{{{pos}}}|n||{{#ifeq:{{{no|}}}|n||!}}!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=30{{!}}{{Abbr|Pos.|Position}}}}<!--
!width=30|{{Tooltip|Nat.|Nationality}}<br />
+
-->{{#ifeq:{{{nat}}}|n||{{#ifeq:{{{no|}}}|n|{{#ifeq:{{{pos|}}}|n||!}}|!}}!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=50{{!}}{{Abbr|Nat.|Nationality}}}}<!--
!Name<br />
+
-->{{#ifeq:{{{no|}}}|n|{{#ifeq:{{{pos|}}}|n|{{#ifeq:{{{nat|}}}|n||!}}|!}}|!}}!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Name<!--
!width=35|{{Tooltip|Age|Age on the day of transfer}}<br />
+
-->{{#ifeq:{{{age}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=35{{!}}Age}}<!--
!colspan=2 | Moving to<br />
+
-->{{#ifeq:{{{lic}}}|y|!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=30{{!}}{{Abbr|Lic.|Player license}} }}<!--
!{{Tooltip|Type|Type of transfer}}<br />
+
-->{{#ifeq:{{{fc}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}colspan=2{{!}}Moving to}}<!--
! Date <br />
+
-->{{#ifeq:{{{type}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Type}}<!--
! Transfer <br> fee
+
-->{{#ifeq:{{{fee}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Transfer fee}}<!--
!align=left|Source<br /><!--
+
-->{{#ifeq:{{{date}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Date}}<!--
 +
-->{{#ifeq:{{{ref}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}class="unsortable"{{!}}Source}}<!--
 +
--><noinclude>
 +
|}
 +
{{documentation|content=
 +
Template:Bs out2 header (Basketball - out - header)
  
--><noinclude>
+
== Usage ==
|}{{template doc}}[[Category:Bs templates]]</noinclude><!--
+
<pre style="overflow:auto;">
 +
{{bs out2 header
 +
| club = <!-- The name of the club that adds the colours -->
 +
| no  = n <!-- For hide the Number column -->
 +
| pos  = n <!-- For hide the Position column -->
 +
| nat  = n <!-- For hide the Nationality column -->
 +
| age  = n <!-- For hide the Age column -->
 +
| fc  = n <!-- For hide the 'Moving to' column -->
 +
| type = n <!-- For hide the Type column -->
 +
| fee  = n <!-- For hide the 'Transfer fee' column -->
 +
| date = n <!-- For hide the Date column -->
 +
| ref  = n <!-- For hide the Source column -->
 +
}}
 +
</pre>
 +
 
 +
== See also ==
 +
* {{tl|bs out2 player}}
 +
* {{tl|bs in2 header}}
 +
* {{tl|bs in2 player}}
  
 +
<!--
 
Warning: the "|}" in the begin of a new line and before {{template doc}} is necessary to avoid the template doc been inside the table built by this template.
 
Warning: the "|}" in the begin of a new line and before {{template doc}} is necessary to avoid the template doc been inside the table built by this template.
 
-->
 
-->
 +
[[Category:Bs templates]]
 +
}}</noinclude>

Latest revision as of 13:26, 8 October 2019

No. Pos. Nat. Name Age Moving to Type Transfer fee Date Source
Template documentation

Template:Bs out2 header (Basketball - out - header)

Usage

{{bs out2 header
| club = <!-- The name of the club that adds the colours -->
| no   = n <!-- For hide the Number column -->
| pos  = n <!-- For hide the Position column -->
| nat  = n <!-- For hide the Nationality column -->
| age  = n <!-- For hide the Age column -->
| fc   = n <!-- For hide the 'Moving to' column -->
| type = n <!-- For hide the Type column -->
| fee  = n <!-- For hide the 'Transfer fee' column -->
| date = n <!-- For hide the Date column -->
| ref  = n <!-- For hide the Source column -->
}}

See also