Template:Infobox live show: Difference between revisions
MusikAnimal (talk | contribs) (convert #var:splra_artist to use subtemplate) |
MusikAnimal (talk | contribs) No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="Template:Infobox live show/styles.css" /><noinclude>{{#cargo_declare:_table=shows | <templatestyles src="Template:Infobox live show/styles.css" /><templatestyles src="Template:Infobox/styles.css" /><noinclude>{{#cargo_declare:_table=shows | ||
|artist = Page (mandatory=1) | |artist = Page (mandatory=1) | ||
|featuring_artist = Page | |featuring_artist = Page | ||
Line 16: | Line 16: | ||
|festival = String | |festival = String | ||
|notes = Wikitext | |notes = Wikitext | ||
}}</noinclude><includeonly> | }}</noinclude><includeonly>{{#ifexpr:{{#time:Ymd|{{{date|}}}}} > {{CURRENTYEAR}}{{CURRENTMONTH}}{{CURRENTDAY2}}|{{upcoming show}}}}</includeonly>{{#invoke:Infobox live show|infobox| | ||
| pagetitle = {{FULLPAGENAME}} | |||
| bodyclass = vevent | | bodyclass = vevent | ||
| aboveclass = summary | | aboveclass = summary | ||
| abovestyle = background-color: #ffe156 | | abovestyle = background-color: #ffe156 | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{poster|}}}|{{{poster}}}|{{{image|{{{cover|{{{Cover|}}}}}}}}}}}|size={{{cover_size|{{{cover size|{{{Cover size|}}}}}}}}}|upright={{{cover_upright|}}}|sizedefault=frameless|alt={{{alt|{{{Alt|}}}}}}|border={{{border|{{{Border|}}}}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{poster|}}}|{{{poster}}}|{{{image|{{{cover|{{{Cover|}}}}}}}}}}}|size={{{cover_size|{{{cover size|{{{Cover size|}}}}}}}}}|upright={{{cover_upright|}}}|sizedefault=frameless|alt={{{alt|{{{Alt|}}}}}}|border={{{border|{{{Border|}}}}}}}} | ||
| caption = {{{caption|{{{Caption|}}}}}} | | caption = {{{caption|{{{Caption|}}}}}} | ||
Line 50: | Line 33: | ||
| label4 = Date | | label4 = Date | ||
| data4 = {{#if:{{{date|}}}|{{{date}}}{{DEFAULTSORT:{{#time:Y-m-d|{{{date}}}}}}}}} | | data4 = {{#if:{{{date|}}}|{{{date}}}{{DEFAULTSORT:{{#time:Y-m-d|{{{date}}}}}}}}} | ||
| label5 = Festival | | label5 = {{#if:{{{festival_label|}}}|{{{festival_label}}}|Festival}} | ||
| data5 = {{#if:{{{festival|}}}|[[Category:{{{festival}}}]][[:Category:{{{festival}}}|{{{festival}}}]]}} | | data5 = {{#if:{{{festival|}}}|[[Category:{{{festival}}}]][[:Category:{{{festival}}}|{{{festival}}}]]}} | ||
| label6 = Venue | | label6 = Venue | ||
| data6 = {{#if:{{{venue|}}}|{{{venue}}}|Unknown<includeonly>[[Category:Live performances with unknown venues]]</includeonly>}} {{#if:{{{venue_suffix|}}}|<br/><small>({{{venue_suffix}}})</small>}} | | data6 = {{#if:{{{venue|}}}|{{{venue}}}|Unknown<includeonly>[[Category:Live performances with unknown venues]]</includeonly>}} {{#if:{{{venue_suffix|}}}|<br/><small>({{{venue_suffix}}})</small>}} | ||
| label7 = Coordinates | | label7 = Coordinates | ||
| label8 = Location | | label8 = Location | ||
| label9 = Venue type | | label9 = Venue type | ||
| label10 = Capacity | | label10 = Capacity | ||
| label11 = Attendance | | label11 = Attendance | ||
| data11 = {{FORMATNUM:{{{attendance|}}}}} | | data11 = {{FORMATNUM:{{{attendance|}}}}} | ||
Line 70: | Line 49: | ||
| label14 = Order of bands | | label14 = Order of bands | ||
| data14 = {{{bands|}}} | | data14 = {{{bands|}}} | ||
| below = {{#if:{{{date|}}}|<div class="live-show-links"> | | below = {{#if:{{{date|}}}|<div class="live-show-links"><!-- | ||
-->{{#invoke:infobox live show|prevShow|{{#time:Y-m-d|{{{date}}}}}|{{PAGENAME}}}}<!-- | |||
-->{{#if:{{Infobox live show/archive artist|{{{archive_artist|{{{artist}}}}}}}}|<span class="plainlinks"><div>[[File:Internet Archive logo and wordmark.svg|50px|alt=Live Music Archive|link=https://archive.org/details/{{Infobox live show/archive artist|{{{archive_artist|{{{artist}}}}}}}}?query=date%3A{{#time:Y-m-d|{{{date}}}}}&tab=collection]]</div>[https://archive.org/details/{{Infobox live show/archive artist|{{{archive_artist|{{{artist}}}}}}}}?and%5B%5D=date:{{#time:Y-m-d|{{{date}}}}} archive.org]</span>}}<!-- | |||
-->{{#if:{{Infobox live show/splra_artist|{{{artist|}}}}}|<span class="plainlinks"><div>[[File:SPLRA.png|60px|alt=SPLRA listing|link=http://www.splra.org/wiki/index.php?title={{{splra_page|{{Infobox live show/splra_artist|{{{artist|}}}}}{{#time:Y-m-d|{{{date}}}}}}}}]]</div>[http://www.splra.org/wiki/index.php?title={{{splra_page|{{Infobox live show/splra_artist|{{{artist|}}}}}{{#time:Y-m-d|{{{date}}}}}}}} Recordings]</span>}}<!-- | |||
-->{{#invoke:infobox live show|nextShow|{{#time:Y-m-d|{{{date}}}}}|{{PAGENAME}}}}</div>}} | |||
-->{{# | |||
-->{{# | |||
-->{{#if:{{Infobox live show/splra_artist|{{{artist|}}}}}|<span class="plainlinks"><div>[[File:SPLRA.png|60px|alt=SPLRA listing|link=http://www.splra.org/wiki/index.php?title={{{splra_page|{{Infobox live show/splra_artist|{{{artist|}}}}}{{# | |||
-->{{#invoke:infobox live show|nextShow|{{# | |||
| belowstyle = border-top:solid 1px #CCC; padding-top:4px | | belowstyle = border-top:solid 1px #CCC; padding-top:4px | ||
}} | }}<noinclude>{{documentation}}</noinclude> |
Latest revision as of 08:35, 16 December 2023
This template defines the table "shows". View table.
– | |
---|---|
Live performance | |
Artist | [[{{{artist}}}]] |
Venue | Unknown |
Infobox template for live show pages.
Note that the |artist=
parameter is for the actual band that played the show, and may not match the artist in the page title. For example, Billy Corgan 1996-01-17 represents a Pink Floyd show that Corgan guested at. The {{infobox live show}} template should have |artist=Pink Floyd
and |featuring_artist=Billy Corgan
.
Infobox for live performance pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Artist | artist | Artist of interest that play at the show; always use "The Smashing Pumpkins", not "Smashing Pumpkins"; use "Billy Corgan" instead of "William Patrick Corgan" or "WPC"
| Unknown | required |
Featuring artist | featuring_artist | Used when the show is for a band outside of scope that featured an in-scope artist. For example, the 'artist' could be "Pink Floyd" but the 'featuring_artist' could be "Billy Corgan". | Page name | suggested |
Tour | tour | This must match the page title of the corresponding tour page. | Page name | suggested |
Date of the show | date | Any sensible format can be used | Date | required |
Venue name | venue | This should match the name of the venue at the time the band performed there. If this is an exact link (not a redirect) to a valid venue page (see Category:Venues for full list), the location, coordinates, capacity and venue type fields are automatically filled in. Override any values as needed (say if the venue was in a different location than it is presently).
| Page name | suggested |
Venue suffix | venue_suffix | Appears below the venue name. Used to indicate for instance which stage the artist performed on at the venue | String | optional |
Venue location | location | in the form "City Name, Country", or "City, State, Country". The last two characters must be a valid country code. This is automatically shown if the "venue" field is a direct link to a page in Category:Venues
| String | suggested |
Type of venue | venue_type | Not important to get this right. See https://spcodex.wiki/m/4sk for a list of unique venue types. Template:Venue_type will normalize some values. The venue type is automatically shown if the "venue" field is a direct link to a page in Category:Venues | String | optional |
Venue capacity | capacity | Maximum capacity, at the time the band played the venue (sometimes capacity changes over time). This is automatically shown if the "venue" field is a direct link to a page in Category:Venues, please override if the auto-value is incorrect at the time the show took place.
| Number | optional |
Attendance | attendance | Number of fans who actually attended the show, if known | Number | suggested |
Personnel | personnel | Comma-separated list of *first and last names* of personnel. Should include anyone who performed, even if they appeared just for a single song.
| String | suggested |
Order of bands | bands | Comma-separated list of bands that appeared at the show, in the ordered they played.
| String | suggested |
Name of show | name | Overrides the automatic title for the show. This should rarely be used. | Unknown | optional |
Show poster shown above the infobox | poster | Generally only show posters go here, but rules are merely rules...
| File | suggested |
Image | image | High-quality image for the show. Use the 'poster' parameter for the official poster. | File | optional |
Image caption | caption | no description | String | optional |
Latitude of the venue | lat | If you look up the venue on Google Maps, it should show the latitude and longitude in the URL. | Number | optional |
Longitude of venue | lng | If you look up the venue on Google Maps, it should show the latitude and longitude in the URL. | Number | optional |
Festival | festival | Name of the festival, if applicable | String | optional |
Notes | notes | Very short summarizing notes of notable things about this show. Wikilinks such as [[Linda Strawberry]] are allowed, but no styling such as italics or bold should be used. | String | optional |
Revenue | revenue | Amount of revenue generated from the show, if known | String | optional |
SPLRA page | splra_page | Title of the SPLRA page, if the automatic linking didn't work for whatever reason.
| String | optional |
Archive.org artist | archive_artist | Use this if the archive.org live music entry is under a different artist name. | String | optional |
Televised | Televised | i.e. Late Night show appearances. Use the same page title that WIkipedia uses.
| String | optional |
The above documentation is transcluded from Template:Infobox live show/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |