Template:UEFA match attendance/doc

A template for citing attendances from UEFA's match database API (formatted in JSON). The attendance can be found in the  property of the referenced URL.

Usage
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.

{| class="wikitable" style="width: 100%"
 * + Typical usage
 * - style="vertical-align:top;"
 * matchID – The match ID from UEFA's database
 * title – The title used in the reference
 * matchID – The match ID from UEFA's database
 * title – The title used in the reference

{| class="wikitable" style="width: 100%"
 * + Required parameters only, in horizontal format
 * - style="vertical-align:top;"



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 https://www.uefa.com/uefaeuropaleague/match/2033450--frankfurt-vs-rangers/ has the match ID. Using this, the template generates a link to the corresponding game in UEFA's match database, in this case https://match.uefa.com/v4/matches/2033450/. This is used to cite the match attendance, as UEFA do not display attendances on the normal match report pages.

Example
 

Attendances
Using the URL for UEFA's match database, the attendance for a given match can be found under the  property. For example, the Eintracht Frankfurt vs. Rangers page has a value of  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.