Difference between revisions of "Template:A-LeagueAttendance"
Jump to navigation
Jump to search
blackwiki>2nyte (font) |
blackwiki>2nyte (width) |
||
Line 2: | Line 2: | ||
{| class="wikitable sortable" style="white-space:nowrap; text-align:right;" | {| class="wikitable sortable" style="white-space:nowrap; text-align:right;" | ||
|- | |- | ||
− | ! class="unsortable"| Team | + | !class="unsortable" width=185|Team |
− | ! Hosted | + | !width=65|Hosted |
− | ! Average | + | !width=55|{{Tooltip|Average|Average season attendance}} |
− | ! Highest | + | !width=55|{{Tooltip|High|Highest season attendance}} |
− | ! Lowest | + | !width=55|{{Tooltip|Low|Lowest season attendance}} |
− | ! Total | + | !width=65|{{Tooltip|Total|Total season attendance}} |
|- | |- | ||
|style="text-align:left;"|{{ALeague {{{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;"|{{ALeague {{{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 12:34, 29 March 2014
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 | Template:Tooltip | Template:Tooltip | Template:Tooltip | Template:Tooltip |
---|---|---|---|---|---|
{{ALeague {{{T1}}}}} | 0 | 0 | 0 | 0 | |
{{ALeague {{{T2}}}}} | 0 | 0 | 0 | 0 | |
{{ALeague {{{T3}}}}} | 0 | 0 | 0 | 0 | |
{{ALeague {{{T4}}}}} | 0 | 0 | 0 | 0 | |
{{ALeague {{{T5}}}}} | 0 | 0 | 0 | 0 | |
{{ALeague {{{T6}}}}} | 0 | 0 | 0 | 0 | |
{{ALeague {{{T7}}}}} | 0 | 0 | 0 | 0 | |
{{ALeague {{{T8}}}}} | 0 | 0 | 0 | 0 | |
League total | 0 | 0 | 0 |