Difference between revisions of "Template:Bs out2 header"

From blackwiki
Jump to navigation Jump to search
imported>Amorymeltzer
(Add abbreviation for Position, remove it for Age and Type — Seem self-explanatory and against the spirit of Wikipedia:Manual of Style/Accessibility#Text)
imported>Vasconia
Line 1: Line 1:
 
{| class="wikitable sortable" style="text-align: center;"
 
{| class="wikitable sortable" style="text-align: center;"
 
|-
 
|-
{{#ifeq:{{{no}}}|n||!!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||!!width=30{{!}}{{Abbr|Pos.|Position}}}}<!--
+
-->{{#ifeq:{{{pos}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=30{{!}}{{Abbr|Pos.|Position}}}}<!--
-->{{#ifeq:{{{nat}}}|n||!!width=30{{!}}{{Abbr|Nat.|Nationality}}}}<!--
+
-->{{#ifeq:{{{nat}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=30{{!}}{{Abbr|Nat.|Nationality}}}}<!--
-->{{#ifeq:{{{p}}}|n||!!Name}}<!--
+
-->{{#ifeq:{{{p}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Name}}<!--
-->{{#ifeq:{{{age}}}|n||!!width=35{{!}}Age}}<!--
+
-->{{#ifeq:{{{age}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=35{{!}}Age}}<!--
-->{{#ifeq:{{{lic}}}|y|!!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||!!colspan=2{{!}}Moving to}}<!--
+
-->{{#ifeq:{{{fc}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}colspan=2{{!}}Moving to}}<!--
-->{{#ifeq:{{{type}}}|n||!!Type}}<!--
+
-->{{#ifeq:{{{type}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Type}}<!--
-->{{#ifeq:{{{fee}}}|n||!!Transfer fee}}<!--
+
-->{{#ifeq:{{{fee}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Transfer fee}}<!--
-->{{#ifeq:{{{date}}}|n||!!Date}}<!--
+
-->{{#ifeq:{{{date}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Date}}<!--
-->{{#ifeq:{{{ref}}}|n||!!class="unsortable"{{!}}Source}}<!--
+
-->{{#ifeq:{{{ref}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}class="unsortable"{{!}}Source}}<!--
 
--><noinclude>
 
--><noinclude>
 
|}
 
|}

Revision as of 18:19, 15 July 2019

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

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

See also