Difference between revisions of "Template:Fb ss header"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
 
(7 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;"
 
|-
 
|-
!colspan=4 width=220|{{#if:{{{c0w|}}}|{{{c0w}}}|}}  
+
!colspan={{#expr:4-{{#ifeq:{{{no}}}|n|1|0}}-{{#ifeq:{{{nat}}}|n|1|0}}}} width=220|{{#if:{{{c0w|}}}|{{{c0w}}}|}}  
 
!colspan=3 width=118|Total
 
!colspan=3 width=118|Total
 
!colspan=2 width={{#if:{{{c1w|}}}|{{{c1w}}}|72}}|{{fb ss header/comp|s={{{s}}}|c={{{c1}}}}}
 
!colspan=2 width={{#if:{{{c1w|}}}|{{{c1w}}}|72}}|{{fb ss header/comp|s={{{s}}}|c={{{c1}}}}}
Line 8: Line 8:
 
}}{{#if:{{{c4|}}}|!!colspan=2 width=72{{!}}{{fb ss header/comp|s={{{s}}}|c={{{c4}}}}}
 
}}{{#if:{{{c4|}}}|!!colspan=2 width=72{{!}}{{fb ss header/comp|s={{{s}}}|c={{{c4}}}}}
 
}}{{#if:{{{c5|}}}|!!colspan=2 width=72{{!}}{{fb ss header/comp|s={{{s}}}|c={{{c5}}}}}
 
}}{{#if:{{{c5|}}}|!!colspan=2 width=72{{!}}{{fb ss header/comp|s={{{s}}}|c={{{c5}}}}}
}}{{#if:{{{c6|}}}|!!colspan=2 width=72{{!}}{{fb ss header/comp|s={{{s}}}|c={{{c6}}}}}}}
+
}}{{#if:{{{c6|}}}|!!colspan=2 width=72{{!}}{{fb ss header/comp|s={{{s}}}|c={{{c6}}}}}
 +
}}{{#if:{{{nt|}}}|!!rowspan=2 {{!}} Notes
 +
}}
 
|-
 
|-
!width=30|{{Tooltip|No.|Squad Number}}<br />
+
{{#ifeq:{{{no}}}|n||!width=30{{!}}{{Abbr|No.|Squad Number}}<br />}}
!width=30|[[Association football positions|P]]<br />
+
!width=30|{{Abbr|Pos.|Position}}<br />
{{#ifeq:{{{nat}}}|n||!width=30{{!}}{{Tooltip|Nat.|Nationality (when 2 flags, 1st flag for country that plays for internationally, 2nd flag for country of birth)}}<br />}}
+
{{#ifeq:{{{nat}}}|n||!width=30{{!}}{{Abbr|Nat.|Nationality (when 2 flags, 1st flag for country that plays for internationally, 2nd flag for country of birth)}}<br />}}
!width=110|{{Tooltip|Name|Name on jersey (for more extensive name, pause mouse pointer on name)}}<br />
+
!width=110|{{Abbr|Name|Name on jersey (for more extensive name, pause mouse pointer on name)}}<br />
!width=35 style="border-right:1px solid white;"|{{Tooltip|Sts|Games started}}<br />
+
!width=35 style="border-right:1px solid white;"|{{Abbr|Sts|Games started}}<br />
!width=35 style="border-right:1px solid white;"|{{Tooltip|App|Appearances}}<br />
+
!width=35 style="border-right:1px solid white;"|{{Abbr|App|Appearances}}<br />
!width=35|Gls<br />
+
!width=35|{{Abbr|Gls|Goals}}<br />
!width={{#if:{{{c1w|}}}|{{#expr:{{{c1w}}}/2}}|35}} style="border-right:1px solid white;"|{{Tooltip|App|Appearances}}<br />
+
!width={{#if:{{{c1w|}}}|{{#expr:{{{c1w}}}/2}}|35}} style="border-right:1px solid white;"|{{Abbr|App|Appearances}}<br />
!width={{#if:{{{c1w|}}}|{{#expr:{{{c1w}}}/2}}|35}}|Gls<br />
+
!width={{#if:{{{c1w|}}}|{{#expr:{{{c1w}}}/2}}|35}}|{{Abbr|Gls|Goals}}<br />
!width=37 style="border-right:1px solid white;"|{{Tooltip|App|Appearances}}<br />
+
!width=37 style="border-right:1px solid white;"|{{Abbr|App|Appearances}}<br />
!width=37|Gls<br /><!--
+
!width=37|{{Abbr|Gls|Goals}}<br /><!--
-->{{#if:{{{c3|}}}|!!width=37 style="border-right:1px solid white;"{{!}}{{Tooltip|App|Appearances}}<br />
+
-->{{#if:{{{c3|}}}|!!width=37 style="border-right:1px solid white;"{{!}}{{Abbr|App|Appearances}}<br />
}}{{#if:{{{c3|}}}|!!width=37{{!}}Gls<br />
+
}}{{#if:{{{c3|}}}|!!width=37{{!}}{{Abbr|Gls|Goals}}<br />
}}{{#if:{{{c4|}}}|!!width=37 style="border-right:1px solid white;"{{!}}{{Tooltip|App|Appearances}}<br />
+
}}{{#if:{{{c4|}}}|!!width=37 style="border-right:1px solid white;"{{!}}{{Abbr|App|Appearances}}<br />
}}{{#if:{{{c4|}}}|!!width=37{{!}}Gls<br />
+
}}{{#if:{{{c4|}}}|!!width=37{{!}}{{Abbr|Gls|Goals}}<br />
}}{{#if:{{{c5|}}}|!!width=36 style="border-right:1px solid white;"{{!}}{{Tooltip|App|Appearances}}<br />
+
}}{{#if:{{{c5|}}}|!!width=36 style="border-right:1px solid white;"{{!}}{{Abbr|App|Appearances}}<br />
}}{{#if:{{{c5|}}}|!!width=36{{!}}Gls<br />
+
}}{{#if:{{{c5|}}}|!!width=36{{!}}{{Abbr|Gls|Goals}}<br />
}}{{#if:{{{c6|}}}|!!width=36 style="border-right:1px solid white;"{{!}}{{Tooltip|App|Appearances}}<br />
+
}}{{#if:{{{c6|}}}|!!width=36 style="border-right:1px solid white;"{{!}}{{Abbr|App|Appearances}}<br />
}}{{#if:{{{c6|}}}|!!width=36{{!}}Gls<br />
+
}}{{#if:{{{c6|}}}|!!width=36{{!}}{{Abbr|Gls|Goals}}<br />
}}<noinclude>
+
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using fb ss header with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Fb ss header]] with unknown parameter "_VALUE_"|ignoreblank=y| c0w | c1 | c1w | c2 | c3 | c4 | c5 | c6 | nat | no | nt | s }}<noinclude>
 
|}
 
|}
 
{{template doc}}
 
{{template doc}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 17:09, 31 August 2018

Total {{{c1}}} {{{c2}}}
No.
Pos.
Nat.
Name
Sts
App
Gls
App
Gls
App
Gls

Template:Fb ss header (Football - squad stats - header)

Parameters

s : season (example: 2007-08)
c1 : competition column 1
c2 : competition column 2
c3 : competition column 3
c4 : competition column 4 (optional)
c5 : competition column 5 (optional)
c0w : column 0 width
c1w : column 1 width

Tracking category

See also