Difference between revisions of "Template:Bs out2 header"

From blackwiki
Jump to navigation Jump to search
imported>Vasconia
imported>Andiii
 
(2 intermediate revisions by one other user 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}} }}<!--
{{#ifeq:{{{fc}}}|n||!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}colspan=2{{!}}Moving to}}
+
-->{{#ifeq:{{{fc}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}colspan=2{{!}}Moving to}}<!--
{{#ifeq:{{{type}}}|n||!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Type}}
+
-->{{#ifeq:{{{type}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Type}}<!--
{{#ifeq:{{{fee}}}|n||!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Transfer fee}}
+
-->{{#ifeq:{{{fee}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Transfer fee}}<!--
{{#ifeq:{{{date}}}|n||!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Date}}
+
-->{{#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}}<!--
+
-->{{#ifeq:{{{ref}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}class="unsortable"{{!}}Source}}<!--
 
--><noinclude>
 
--><noinclude>
 
|}
 
|}
 
{{documentation|content=
 
{{documentation|content=
 
Template:Bs out2 header (Basketball - out - header)
 
Template:Bs out2 header (Basketball - out - header)
 +
 +
== Usage ==
 +
<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 ==
 
== See also ==

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