Template:UEFA match attendance/doc
This is a documentation subpage for Template:UEFA match attendance. It may contain usage information, categories and other content that is not part of the original template page. |
This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
A template for citing attendances from UEFA's match database API (formatted in JSON). The attendance can be found in the matchAttendance
property of the referenced URL.
Usage
[edit]Copy a blank version to use. All parameter names are supported only in lower case. Use the "|" (pipe) character between each parameter. Unused parameters may be deleted to avoid clutter in the edit window.
|
|
|
|id=
and |title=
correspond to the first and second unnamed parameters, respectively.
The match ID can be found in the URL from UEFA's website. For example, the URL www2033450
. Using this, the template generates a link to the corresponding game in UEFA's match database, in this case match
Example
[edit]{{UEFA match attendance|2033450|Eintracht Frankfurt vs. Rangers|date=18 May 2022|access-date=18 May 2022}}
- "Eintracht Frankfurt vs. Rangers" (JSON). Union of European Football Associations. 18 May 2022. Retrieved 18 May 2022.
Attendances
[edit]Using the URL for UEFA's match database, the attendance for a given match can be found under the matchAttendance
property. For example, the Eintracht Frankfurt vs. Rangers page has a value of 38842
for this property, corresponding to an attendance of 38,842 spectators at the match.
Note that for older matches, the attendances given in UEFA's match database may not be as reliable as in present-day competitions. Contemporary sources may be more accurate in such cases.