Difference between revisions of "Template:ISFL standings header"

From Sim Football Wiki
Jump to navigation Jump to search
m (longer team name box to fit NOLA/BER)
Line 3: Line 3:
 
! colspan="12" style="{{TeamPrimaryStyle|{{{2}}}}}; text-align:center; vertical-align:middle"| {{isfly|{{{1|}}}|nolink|s=yes}} {{{2|}}} standings
 
! colspan="12" style="{{TeamPrimaryStyle|{{{2}}}}}; text-align:center; vertical-align:middle"| {{isfly|{{{1|}}}|nolink|s=yes}} {{{2|}}} standings
 
|-
 
|-
!width="150"| {{navbar|{{isfly|{{{1|}}}|nolink}} {{{2|}}} standings|plain=1}}
+
!width="200"| {{navbar|{{isfly|{{{1|}}}|nolink}} {{{2|}}} standings|plain=1}}
 
!width="25"| {{Abbr|W|Wins}}
 
!width="25"| {{Abbr|W|Wins}}
 
!width="25"| {{Abbr|L|Losses}}
 
!width="25"| {{Abbr|L|Losses}}

Revision as of 10:03, 8 February 2023

2016 (S) standings
W L T PCT PF PA Home Road Conf Div Str

How to use

Use this template to initialise a standings table, with league colours applied automatically.

The two parameters required are the season, and the conference/division respectively. i.e. {{ISFL standings header|1|NSFC}} would produce

2016 (S1) NSFC standings
W L T PCT PF PA Home Road Conf Div Str

Use with other templates

The template is designed for use with the {{ISFL standings row}} template.

For example:

{{ISFL standings header|1|NSFC}}
{{ISFL standings row|1|COL| 8| 6| 0|250|253|5-2-0|3-4-0|6-2-0|6-2-0|W1|seed=1|color=ccffcc}}
{{ISFL standings row|1|YKW| 8| 6| 0|256|225|6-1-0|2-5-0|4-4-0|4-4-0|L1}}
{{ISFL standings row|1|BAL| 4|10| 0|254|330|2-5-0|3-4-0|2-6-0|2-6-0|L5}}
{{ISFL standings footer}}

The above wiki code would produce the table below

2016 (S1) NSFC standings
W L T PCT PF PA Home Road Conf Div Str
(1) Colorado Yeti 8 6 0 .571 250 253 5-2-0 3-4-0 6-2-0 6-2-0 W1
Yellowknife Wraiths 8 6 0 .571 256 225 6-1-0 2-5-0 4-4-0 4-4-0 L1
Baltimore Hawks 4 10 0 .286 254 330 2-5-0 3-4-0 2-6-0 2-6-0 L5