Template:Infobox interview: Difference between revisions
MusikAnimal (talk | contribs) No edit summary |
MusikAnimal (talk | contribs) (+live) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|date = Date | |date = Date | ||
|supporting_release = Page | |supporting_release = Page | ||
|type=String (mandatory=1;allowed values=radio,television,print) | |type=String (mandatory=1;allowed values=radio,television,print,live) | ||
|venue = Page | |venue = Page | ||
|venue_wikitext = Wikitext | |venue_wikitext = Wikitext | ||
Line 13: | Line 13: | ||
|members_present = List (,) of Strings | |members_present = List (,) of Strings | ||
|notes = Wikitext | |notes = Wikitext | ||
}}</noinclude><includeonly> | }}</noinclude><includeonly>{{#cargo_store:_table=interviews | ||
|interviewer = {{{interviewer|}}} | |interviewer = {{{interviewer|}}} | ||
|artist = {{delink|{{{artist|}}}}} | |artist = {{delink|{{{artist|}}}}} | ||
Line 21: | Line 21: | ||
|venue = {{delink target|{{{venue|}}}}} | |venue = {{delink target|{{{venue|}}}}} | ||
|venue_wikitext = {{{venue|}}} | |venue_wikitext = {{{venue|}}} | ||
|location = {{{location| | |location = {{{location|}}} | ||
|country = {{#if:{{{location| | |country = {{#if:{{{location|}}}|{{#sub:{{{location|{{{location|}}}}}}|-2}}}} | ||
|coords = {{#if:{{{lat| | |coords = {{#if:{{{lat|}}}|{{#if:{{{lng|}}}|{{{lat|}}},{{{lng|}}}}}}} | ||
|venue_type = {{{venue_type| | |venue_type = {{{venue_type|}}} | ||
|members_present = {{#invoke:infobox live show|normalizeMembers|{{{personnel|{{{members_present|}}}}}}}} | |members_present = {{#invoke:infobox live show|normalizeMembers|{{{personnel|{{{members_present|}}}}}}}} | ||
|notes = {{{notes|}}} | |notes = {{{notes|}}} | ||
}}</includeonly>{{Infobox | |||
| bodyclass = vevent | | bodyclass = vevent | ||
| aboveclass = summary | | aboveclass = summary | ||
Line 45: | Line 45: | ||
| data3 = {{#if:{{{date|}}}|{{{date}}}{{DEFAULTSORT:{{#time:Y-m-d|{{{date}}}}}}}}} | | data3 = {{#if:{{{date|}}}|{{{date}}}{{DEFAULTSORT:{{#time:Y-m-d|{{{date}}}}}}}}} | ||
| label4 = Medium | | label4 = Medium | ||
| data4 = {{#if:{{{type|}}}|{{ | | data4 = {{#if:{{{type|}}}|{{ucfirst:{{{type}}}}}}} | ||
| label6 = Venue | | label6 = Venue | ||
| data6 = {{#if:{{{venue|}}}|{{{venue}}}|Unknown<includeonly>[[Category:Interviews with unknwon venues]]</includeonly>}} {{#if:{{{venue_suffix|}}}|<br/><small>({{{venue_suffix}}})</small>}} | | data6 = {{#if:{{{venue|}}}|{{{venue}}}|Unknown<includeonly>[[Category:Interviews with unknwon venues]]</includeonly>}} {{#if:{{{venue_suffix|}}}|<br/><small>({{{venue_suffix}}})</small>}} | ||
| label7 = Coordinates | | label7 = Coordinates | ||
| data7 = {{#if:{{{lat| | | data7 = {{#if:{{{lat|}}}|{{#if:{{{lng|}}}|{{maplink single|{{{lat|}}}|{{{lng|}}}}}}}}} | ||
| label8 = Location | | label8 = Location | ||
| data8 = | | data8 = {{{location|}}} | ||
| label9 = Venue type | | label9 = Venue type | ||
| data9 = | | data9 = {{{venue_type|}}} | ||
| label13 = Members present | | label13 = Members present | ||
| data13 = {{#if:{{{members_present|}}}|{{#invoke:infobox live show|normalizeMembers|{{{personnel|{{{members_present|}}}}}}|true}}}} | | data13 = {{#if:{{{members_present|}}}|{{#invoke:infobox live show|normalizeMembers|{{{personnel|{{{members_present|}}}}}}|true}}}} | ||
Line 128: | Line 128: | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
"description": "Must be one of: radio, television, print" | "description": "Must be one of: radio, television, print, live" | ||
} | } | ||
}, | }, |
Latest revision as of 04:02, 8 December 2023
This template defines the table "interviews". This table has not been created yet.
Interview | |
---|---|
Artist | [[{{{artist}}}]] |
Venue | Unknown |
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Medium | type | Must be one of: radio, television, print, live | String | required |
Artist | artist | The artist being interviewed
| Page name | required |
Venue name (if applicable) | 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).
| String | suggested |
Venue type | venue_type | Not important to get this right. See https://spcodex.wiki/m/4sk for a list of unique venue types. This is automatically shown if the "venue" field is a direct link to a page in Category:Venues | String | optional |
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 |
Latitute 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 the venue | lng | If you look up the venue on Google Maps, it should show the latitude and longitude in the URL. | Number | optional |
Date of the interview | date | no description | Date | suggested |
Supporting release | supporting_release | The title of the release the artist is supporting in the interview, if applicable
| Page name | suggested |
Members present | members_present personnel | Comma-separated list of band members that were present. If the artist being interviewed is an individual like Billy Corgan, this can be left blank. | String | optional |
notes | notes | no description | Unknown | optional |
name | name | no description | Unknown | optional |
Image | image | no description | String | optional |
Image caption | caption | no description | Unknown | optional |