Difference between revisions of "Template:Bs in2 header"

From blackwiki
Jump to navigation Jump to search
imported>Vasconia
imported>Andiii
 
(5 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;"
 
|-
 
|-
{{#ifeq:{{{no}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=30{{!}}{{Abbr|No.|Squad Number}}}}<!--
+
{{#ifeq:{{{no}}}|n||!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=30{{!}}{{Abbr|No.|Squad Number}}}}<!--
-->{{#ifeq:{{{pos}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=30{{!}}{{Abbr|Pos.|Position}}}}<!--
+
-->{{#ifeq:{{{pos}}}|n||{{#ifeq:{{{no|}}}|n||!}}!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=30{{!}}{{Abbr|Pos.|Position}}}}<!--
-->{{#ifeq:{{{nat}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=30{{!}}{{Abbr|Nat.|Nationality}}}}<!--
+
-->{{#ifeq:{{{nat}}}|n||{{#ifeq:{{{no|}}}|n|{{#ifeq:{{{pos|}}}|n||!}}|!}}!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=50{{!}}{{Abbr|Nat.|Nationality}}}}<!--
-->{{#ifeq:{{{p}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Name}}<!--
+
-->{{#ifeq:{{{no|}}}|n|{{#ifeq:{{{pos|}}}|n|{{#ifeq:{{{nat|}}}|n||!}}|!}}|!}}!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Name<!--
 
-->{{#ifeq:{{{age}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=35{{!}}Age}}<!--
 
-->{{#ifeq:{{{age}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=35{{!}}Age}}<!--
 
-->{{#ifeq:{{{lic}}}|y|!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=30{{!}}{{Abbr|Lic.|Player license}}}}<!--
 
-->{{#ifeq:{{{lic}}}|y|!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=30{{!}}{{Abbr|Lic.|Player license}}}}<!--
Line 17: Line 17:
 
{{documentation|content=
 
{{documentation|content=
 
Template:Bs in2 header (Basketball - in - header)
 
Template:Bs in2 header (Basketball - in - header)
 +
 +
== Usage ==
 +
<pre style="overflow:auto;">
 +
{{bs in2 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 from' column -->
 +
| type    = n <!-- For hide the Type column -->
 +
| contract = n <!-- For hide the Ends 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 ==
 
== See also ==

Latest revision as of 13:25, 8 October 2019

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

Template:Bs in2 header (Basketball - in - header)

Usage

{{bs in2 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 from' column -->
| type     = n <!-- For hide the Type column -->
| contract = n <!-- For hide the Ends 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