Difference between revisions of "Interview"

From Sega Retro

 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#cargo_store:
+
<includeonly><div style="display:none;">
 +
 
 +
{{#vardefine:firsthalf|{{#explode:{{PAGENAME}}| by |0}}}}
 +
 
 +
{{#vardefine:interviewee|{{#replace:{{#if:{{{interviewee|}}}|{{{interviewee|}}}|{{#explode:{{#var:firsthalf}}| (|0}}}}|Interview: |}}}}
 +
{{#vardefine:date|{{#if:{{{date|}}}|{{{date|}}}|{{#explode:{{#explode:{{#var:firsthalf}}| (|1}}|)|0}}}}}}
 +
{{#vardefine:source|{{#if:{{{source|}}}|{{{source|}}}|{{#explode:{{PAGENAME}}| by |1}}}}}}
 +
 
 +
{{#cargo_store:
 
_table = interviews
 
_table = interviews
|name={{FormatSQL|{{{name|}}}}}
+
|name={{FormatSQL|{{PAGENAME}}}}
 
|source={{#var:source}}  
 
|source={{#var:source}}  
 
|interviewee={{#var:interviewee}}  
 
|interviewee={{#var:interviewee}}  
 
|language={{{language|}}}
 
|language={{{language|}}}
 
|date={{#var:date}}  
 
|date={{#var:date}}  
}}[[Category:{{#if: {{{language|}}}|{{{language}}}|}} interviews]]</includeonly>{{Imagetag
+
}}
 +
 
 +
[[Category:{{#if: {{{language|}}}|{{{language}}}|}} interviews]]
 +
</div>{{#ifeq:{{#sub:{{#titleparts:{{PAGENAME}}}}|0|11}}|Interview: |{{DEFAULTSORT:{{#sub:{{#titleparts:{{PAGENAME}}}}|11}}, Interview:}}|}}</includeonly>{{Imagetag
 
| image=Interview.svg
 
| image=Interview.svg
| text=This is an unaltered copy of an interview, for use as a primary source on Sega Retro. Please do not edit the contents below.{{#if: {{{language|}}}|<br/>Language: {{{language}}} | }}{{#if: {{{source|}}}|<br/>Original source: {{{source}}} | }}
+
| text=This is an unaltered copy of an interview{{#if:{{#var:interviewee}}|<nowiki> </nowiki>of [[{{#var:interviewee}}]]}}, for use as a primary source on Sega Retro. Please do not edit the contents below.{{#if: {{{language|}}}|<br/>Language: {{{language}}} | }}{{#if: {{{source|}}}|<br/>Original source: {{{source}}} | }}
 
| imagewidth=32
 
| imagewidth=32
 
| imagelink=
 
| imagelink=
Line 25: Line 36:
 
|language=
 
|language=
 
}}</pre>
 
}}</pre>
 +
 +
 +
 +
 +
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 00:05, 22 August 2023

Interview.svg
This is an unaltered copy of an interview, for use as a primary source on Sega Retro. Please do not edit the contents below.

This template defines the table "interviews". View table.

Template for the top of interviews. All arguments are optional.

{{Interview
|source= <!-- will be inferred by title if not provided -->
|interviewee= <!-- will be inferred by title if not provided -->
|language=
}}