Difference between revisions of "Interview"

From Sega Retro

 
(3 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
{{#vardefine:firsthalf|{{#explode:{{PAGENAME}}| by |0}}}}
 
{{#vardefine:firsthalf|{{#explode:{{PAGENAME}}| by |0}}}}
  
{{#vardefine:interviewee|{{#if:{{{interviewee|}}}|{{{interviewee|}}}|{{#explode:{{#var:firsthalf}}| (|0}}}}}}
+
{{#vardefine:interviewee|{{#replace:{{#if:{{{interviewee|}}}|{{{interviewee|}}}|{{#explode:{{#var:firsthalf}}| (|0}}}}|Interview: |}}}}
 
{{#vardefine:date|{{#if:{{{date|}}}|{{{date|}}}|{{#explode:{{#explode:{{#var:firsthalf}}| (|1}}|)|0}}}}}}
 
{{#vardefine:date|{{#if:{{{date|}}}|{{{date|}}}|{{#explode:{{#explode:{{#var:firsthalf}}| (|1}}|)|0}}}}}}
 
{{#vardefine:source|{{#if:{{{source|}}}|{{{source|}}}|{{#explode:{{PAGENAME}}| by |1}}}}}}
 
{{#vardefine:source|{{#if:{{{source|}}}|{{{source|}}}|{{#explode:{{PAGENAME}}| by |1}}}}}}
Line 17: Line 17:
  
 
[[Category:{{#if: {{{language|}}}|{{{language}}}|}} interviews]]
 
[[Category:{{#if: {{{language|}}}|{{{language}}}|}} interviews]]
</div></includeonly>{{Imagetag
+
</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=

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=
}}