Difference between revisions of "Interview"

From Sega Retro

 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div style="display:none;">{{#switch: {{{1}}}
+
<includeonly><div style="display:none;">
| 0 = {{#vardefine:person|{{#var:intv1}}}}{{#vardefine:class|{{#var:intv1class}}}}}}
 
| 1 = {{#vardefine:person|{{#var:intv2}}}}{{#vardefine:class|{{#var:intv2class}}}}}}
 
| 2 = {{#vardefine:person|{{#var:intv3}}}}{{#vardefine:class|{{#var:intv3class}}}}}}
 
| 3 = {{#vardefine:person|{{#var:intv4}}}}{{#vardefine:class|{{#var:intv4class}}}}}}
 
| 4 = {{#vardefine:person|{{#var:intv5}}}}{{#vardefine:class|{{#var:intv5class}}}}}}
 
| 5 = {{#vardefine:person|{{#var:intv6}}}}{{#vardefine:class|{{#var:intv6class}}}}}}
 
| 6 = {{#vardefine:person|{{#var:intv7}}}}{{#vardefine:class|{{#var:intv7class}}}}}}
 
| 7 = {{#vardefine:person|{{#var:intv8}}}}{{#vardefine:class|{{#var:intv8class}}}}}}
 
| 8 = {{#vardefine:person|{{#var:intv9}}}}{{#vardefine:class|{{#var:intv9class}}}}}}
 
| 9 = {{#vardefine:person|{{#var:intv10}}}}{{#vardefine:class|{{#var:intv10class}}}}}}
 
}}</div>
 
{| style="border: 0px;"
 
! class="{{#var:class}}" valign="top" width="80px"|{{#var:person}}
 
|class="{{#var:class}}" valign="top"|{{{2}}}
 
|}<noinclude>[[Category:Sega Retro templates]]</noinclude>
 
  
{{{1}}} {{{2}}}
+
{{#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 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=
}}