Difference between revisions of "Interview"

From Sega Retro

 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span style="{{#ifeq: {{{1}}} | 1 | color:#1A68CE; | {{#ifeq: {{{1}}} | 2 | color:#007F0E; | {{#ifeq: {{{1}}} | 3 | color:#BE7800; | {{#ifeq: {{{1}}} | 4 | color:#C60000; | }} }} }} }}">'''{{{2}}}:''' {{{3}}}</span><noinclude>[[Category:Sega Retro Templates]]</noinclude>
+
<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
 +
|name={{FormatSQL|{{PAGENAME}}}}
 +
|source={{#var:source}}
 +
|interviewee={{#var:interviewee}}
 +
|language={{{language|}}}
 +
|date={{#var:date}}
 +
}}
 +
 
 +
[[Category:{{#if: {{{language|}}}|{{{language}}}|}} interviews]]
 +
</div>{{#ifeq:{{#sub:{{#titleparts:{{PAGENAME}}}}|0|11}}|Interview: |{{DEFAULTSORT:{{#sub:{{#titleparts:{{PAGENAME}}}}|11}}, Interview:}}|}}</includeonly>{{Imagetag
 +
| image=Interview.svg
 +
| 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
 +
| imagelink=
 +
}}<noinclude>{{#cargo_declare:
 +
_table = interviews
 +
|name=Text
 +
|source=Text
 +
|interviewee=Text
 +
|language=Text
 +
|date=Text
 +
}}
 +
Template for the top of interviews. All arguments are optional.
 +
<pre>{{Interview
 +
|source= <!-- will be inferred by title if not provided -->
 +
|interviewee= <!-- will be inferred by title if not provided -->
 +
|language=
 +
}}</pre>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
[[Category:Templates]]</noinclude>

Latest revision as of 01: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=
}}