Template:Performance/doc
From Angelina Jordan Wiki
This is a subpage documenting Template:Performance. To change the template, edit that page; to change the template's documentation (seen below), edit this one.
Purpose
Stores and optionally displays data about a musical performance (recording, live event, video shoot, etc.) in the Cargo table Performances.
Storage
This template defines and populates the Cargo table Performances. Each row represents a specific performance instance. The data can be queried with Cargo queries or displayed directly on pages.
Parameters
| Parameter | Required | Description | Example |
|---|---|---|---|
song |
Yes | Name of the song performed. | song=Let It Be
|
event |
Yes | Event name or identifier. | event=Ed Sullivan Show
|
context |
Yes | List (#-separated) describing the performance context, in the form category#group#occasion#occurance#segment. |
context=tv##Ed Sulivan Show#season 2#ep. 5
|
date |
Yes | Year or full date in format starting with 20xx. | date=2023-05-14
|
type |
No | Performance type. Allowed: recording, track, music-video, live, rehearsal, soundcheck, sing-along, lip-sync. |
type=live
|
pos |
No | Position or sequence identifier. | pos=2
|
partners |
No | List (#-separated) of collaborators or featured artists. For legacy purposes, with can also be used instead as template parameter to provide this. |
partners=John Doe#Jane Roe
|
comment |
No | Additional notes (wikitext allowed). | comment=First televised performance.
|
id |
No | Local identifier appended to the page name to form a unique perfID. |
id=01
|
nodisp |
No | If set, suppresses on-page display. | nodisp=1
|
Note: The follwing rules apply for the context string:
- "category" is mandatory
- one of "group" and "occasion", and only one, must be provided
- if occassion is missing, "occurance" is mandatory
- "segment" is optional
If uncertain about the exact context, use "-#unsorted##<event name>"
Display
If nodisp is not set, the template outputs event information from the context string, the date and the type. For the format, please see the example below.
Example
{{Performances
|song=Let It Be
|event=Ed Sullivan Show
|context=tv#live#Ed Sullivan Show#season 2#ep. 5
|date=2023-05-14
|type=live
|pos=1
|partners=John Doe#Jane Roe
|comment=First appearance of the song
|id=01
}}
This would store the performance data in Cargo and display:
Ed Sullivan Show season 2, ep. 5 (2023-05-14 - live)
Related
- Template:Video — stores associated video data linked by
perfID. - Special:CargoTables/Performances — table structure and query access.