Difference between revisions of "Template:ISFL standings header"

From Sim Football Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
 
{| class="wikitable" style="font-size:95%; text-align:center;"
 
{| class="wikitable" style="font-size:95%; text-align:center;"
 
|-
 
|-
! colspan="12" style="{{TeamPrimaryStyle|{{{2}}}}}; text-align:center; vertical-align:middle"| [[{{{2}}}]]
+
! colspan="12" style="{{TeamPrimaryStyle|{{{2}}}}}; text-align:center; vertical-align:middle"| {{isfly|{{{1|}}}|nolink|s=yes}} {{{2|}}} standings
 
|-
 
|-
!width="150"| {{navbar|{{{1|}}} {{{2|}}} standings|plain=1}}
+
!width="150"| {{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}}
Line 12: Line 12:
 
!width="35"| {{Abbr|Home|Win–loss record in home games}}
 
!width="35"| {{Abbr|Home|Win–loss record in home games}}
 
!width="35"| {{Abbr|Road|Win–loss record in road games}}
 
!width="35"| {{Abbr|Road|Win–loss record in road games}}
!width="30"| {{Abbr|Conf|Win–loss record within their conference}}
+
!width="35"| {{Abbr|Conf|Win–loss record within their conference}}
!width="30"| {{Abbr|Div|Win–loss record within their division}}
+
!width="35"| {{Abbr|Div|Win–loss record within their division}}
!width="30"| {{Abbr|Str|Current winning or losing streak}}
+
!width="35"| {{Abbr|Str|Current winning or losing streak}}
 +
<noinclude>
 +
|}
 +
==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. <nowiki>{{ISFL standings header|1|NSFC}}</nowiki> would produce
 +
 
 +
{{ISFL standings header|1|NSFC}}
 +
|}
 +
 
 +
==Use with other templates==
 +
The template is designed for use with the <nowiki>{{ISFL standings row}}</nowiki> template. For example:
 +
 
 +
<nowiki>{{ISFL standings header|1|NSFC}}</nowiki><br />
 +
<nowiki>{{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}}</nowiki><br />
 +
<nowiki>{{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}}</nowiki><br />
 +
<nowiki>{{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}}</nowiki><br />
 +
<nowiki>{{ISFL standings footer}}</nowiki>
 +
 
 +
would produce
 +
 
 +
{{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|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|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 footer}}
 +
 
 +
</noinclude>

Revision as of 09:06, 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|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|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 footer}}

would produce

  1. ccffcc"
  1. ccffcc"
  1. ccffcc"
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
(1) Colorado Yeti 8 6 0 .571 250 253 5-2-0 3-4-0 6-2-0 6-2-0 W1
(1) Colorado Yeti 8 6 0 .571 250 253 5-2-0 3-4-0 6-2-0 6-2-0 W1