Difference between revisions of "Template:Fb ss header"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
(fix optional suppression of no. and nat. headers)
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 12: Line 12:
 
}}
 
}}
 
|-
 
|-
!width=30|{{Abbr|No.|Squad Number}}<br />
+
{{#ifeq:{{{no}}}|n||!width=30{{!}}{{Abbr|No.|Squad Number}}<br />}}
 
!width=30|{{Abbr|Pos.|Position}}<br />
 
!width=30|{{Abbr|Pos.|Position}}<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 />}}
 
{{#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 />}}

Revision as of 17:08, 31 August 2018

Total {{{c1}}} {{{c2}}}
No.
Pos.
Nat.
Name
Sts
App
Gls
App
Gls
App
Gls
Template documentation[view] [edit] [history] [purge]

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