Difference between revisions of "Template:A-LeagueAttendance"
Jump to navigation
Jump to search
blackwiki>Frietjes |
blackwiki>Amorymeltzer m (Replacing Template:Tooltip with Template:Abbr, as the former was deprecated (via WP:JWB)) |
||
Line 4: | Line 4: | ||
!class="unsortable" width=185|Team | !class="unsortable" width=185|Team | ||
!width=65|Hosted | !width=65|Hosted | ||
− | !width=55|{{ | + | !width=55|{{Abbr|Average|Average season attendance}} |
− | !width=55|{{ | + | !width=55|{{Abbr|High|Highest season attendance}} |
− | !width=55|{{ | + | !width=55|{{Abbr|Low|Lowest season attendance}} |
− | !width=65|{{ | + | !width=65|{{Abbr|Total|Total season attendance}} |
|- | |- | ||
|style="text-align:left;"|{{A-League team|{{{T1}}}}}||{{formatnum: {{ #expr: floor{{{T1played|0}}}}}}}||<includeonly>{{formatnum: {{#expr: ({{{T1Total|0}}}) / {{{T1played|0.001}}} Round 0}}}}</includeonly>||{{formatnum: {{{T1High|0}}}}}||{{formatnum: {{{T1Low|0}}}}}||{{formatnum: {{ #expr: {{{T1Total|0}}}}}}} | |style="text-align:left;"|{{A-League team|{{{T1}}}}}||{{formatnum: {{ #expr: floor{{{T1played|0}}}}}}}||<includeonly>{{formatnum: {{#expr: ({{{T1Total|0}}}) / {{{T1played|0.001}}} Round 0}}}}</includeonly>||{{formatnum: {{{T1High|0}}}}}||{{formatnum: {{{T1Low|0}}}}}||{{formatnum: {{ #expr: {{{T1Total|0}}}}}}} |
Revision as of 15:34, 22 July 2018
This template calculates the home attendances for teams. It is for use on A-League season articles.
Example
Code | (2005/06)
{{A-LeagueAttendance |T1= SFC || T1played = 11 || T1High = 25557 || T1Low = 9132 || T1Total = 183355 |T2= QR || T2played = 11 || T2High = 23142 || T2Low = 8607 || T2Total = 162636 |T3= MV || T3played = 10 || T3High = 18026 || T3Low = 10078|| T3Total = 141578 |T4= AU || T4played = 10 || T4High = 14068 || T4Low = 7013 || T4Total = 109473 |T5= PG || T5played = 11 || T5High = 13157 || T5Low = 5033 || T5Total = 107075 |T6= NUJ || T6played = 11 || T6High = 13000 || T6Low = 5868 || T6Total = 98027 |T7= CCM || T7played = 10 || T7High = 17429 || T7Low = 5194 || T7Total = 78989 |T8= NZK || T8played = 10 || T8High = 9900 || T8Low = 1922 || T8Total = 39086 }} |} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Produces |
|
Team | Hosted | Average | High | Low | Total |
---|---|---|---|---|---|
{{{T1}}} | 0 | 0 | 0 | 0 | |
{{{T2}}} | 0 | 0 | 0 | 0 | |
{{{T3}}} | 0 | 0 | 0 | 0 | |
{{{T4}}} | 0 | 0 | 0 | 0 | |
{{{T5}}} | 0 | 0 | 0 | 0 | |
{{{T6}}} | 0 | 0 | 0 | 0 | |
{{{T7}}} | 0 | 0 | 0 | 0 | |
{{{T8}}} | 0 | 0 | 0 | 0 | |
League total | 0 | 0 | 0 |