Template:Infobox interview: Difference between revisions
MusikAnimal (talk | contribs) (Created page with "<templatestyles src="Template:Infobox live show/styles.css" /><noinclude>{{#cargo_declare:_table=interviews |artist = Page (mandatory=1) |date = Date |supporting_release = Pag...") |
MusikAnimal (talk | contribs) (+live) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="Template:Infobox live show/styles.css" /><noinclude>{{#cargo_declare:_table=interviews | <templatestyles src="Template:Infobox live show/styles.css" /><noinclude>{{#cargo_declare:_table=interviews | ||
|interviewer = String (mandatory=1) | |||
|artist = Page (mandatory=1) | |artist = Page (mandatory=1) | ||
|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 12: | 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|}}} | |||
|artist = {{delink|{{{artist|}}}}} | |artist = {{delink|{{{artist|}}}}} | ||
|date = {{{date|}}} | |date = {{{date|}}} | ||
|supporting_release = {{delink|{{{supporting_release|}}}}} | |supporting_release = {{delink|{{{supporting_release|}}}}} | ||
|type={{{type}}} | |||
|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 | ||
| abovestyle = background-color: #fdbf6f | | abovestyle = background-color: #fdbf6f | ||
| above = {{#if:{{{name|}}}|{{{name}}}|{{{ | | above = {{#if:{{{name|}}}|{{{name}}}|{{{interviewer|}}}}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{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={{{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 34: | Line 37: | ||
| headerclass = description | | headerclass = description | ||
| rowclass1 = description | | rowclass1 = description | ||
| header1 = [[Interviews|Interview]]{{#if:{{{artist|}}}| of [[{{delink|{{{artist}}}}}]]}} | | header1 = [[:Category:Interviews|Interview]]{{#if:{{{artist|}}}| of [[{{delink|{{{artist}}}}}]]}} | ||
| rowclass2 = description | | rowclass2 = description | ||
| header2 = {{#if:{{{supporting_release|}}}|in support of [[{{delink|{{{supporting_release}}}}}]]}} | | header2 = {{#if:{{{supporting_release|}}}|in support of [[{{delink|{{{supporting_release}}}}}]]}} | ||
| label2 = Artist | | label2 = Artist | ||
| data2 = [[{{delink|{{{artist}}}}}]] | | data2 = [[{{delink|{{{artist}}}}}]] | ||
| | | label3 = Date | ||
| | | data3 = {{#if:{{{date|}}}|{{{date}}}{{DEFAULTSORT:{{#time:Y-m-d|{{{date}}}}}}}}} | ||
| label4 = Medium | |||
| 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 118: | Line 123: | ||
"caption": { | "caption": { | ||
"label": "Image caption" | "label": "Image caption" | ||
}, | |||
"type": { | |||
"label": "Medium", | |||
"type": "string", | |||
"required": true, | |||
"description": "Must be one of: radio, television, print, live" | |||
} | } | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"type", | |||
"artist", | "artist", | ||
"venue", | "venue", |
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 |