Module:Sports attendance/doc
Appearance
| This is a documentation subpage for Module:Sports attendance. It may contain usage information, categories and other content that is not part of the original module page. |
| This module is rated as alpha. It is ready for limited use and third-party feedback. It may be used on a small number of pages, but should be monitored closely. Suggestions for new features or adjustments to input and output are welcome. |
Module:Sports attendance is meant to build attendance tables for sports leagues from lists of individual match attendance for each team. If only aggregate data is available, please consider using Template:Fb a header, Template:Fb a team, and Template:Fb a footer instead.
Wikitext test cases are at Module:Sports attendance/testcases wikitext.
Usage
[edit source]In article
[edit source]| What you type | {{#invoke:Sports attendance|main
|team_VAN = [[Vancouver Rise]]
|attendance_VAN = 4650,3526,3723,3451,3430,3655
|previous_VAN = 4245
|note_VAN = The attendance for Vancouver Rise FC – AFC Toronto (June 28) has not been announced.
|team_MTL = [[Montreal Roses]]
|attendance_MTL = 3304,2457,2068,1792,1891,2565,2348
|previous_MTL = 3221
|note_MTL = The attendance for Montreal Roses FC – Vancouver Rise FC (July 4) has not been announced.
|team_TOR = [[AFC Toronto]]
|attendance_TOR = 6577,3153,2554,2519,2118,2682
|previous_TOR = 4058
|note_TOR =
|team_HFX = [[Halifax Tides]]
|attendance_HFX = 4030,3440,3501,3735,5516,3913,3682
|previous_HFX = 3915
|note_HFX =
|team_CGY = [[Calgary Wild]]
|attendance_CGY = 3219,2342,2847,2718,3164,2398,2292,2210,2232
|previous_CGY = 3366
|note_CGY =
|team_OTT = [[Ottawa Rapid]]
|attendance_OTT = 2855,1321,1295,1877,3069,2631,2405
|previous_OTT = 3042
|note_OTT =
|previous_league = 3633
|note_league = League total note.
|source=[https://www.nsl.ca/schedule NSL]
|updated=August 7, 2026
}}
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| What it looks like |
Updated to games played on August 7, 2026. Source: NSL |
The main command is {{#invoke:Sports attendance|main}} statement. Teams will be ranked based on average attendance and team name.