Difference between revisions of "Episode"

From Sega Retro

 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
|-
 
 
| {{{1|}}}
 
| {{{1|}}}
|{{#if:{{{video|}}}||style="background:pink"{{!}}}} {{#if:{{{video|}}}|[[File:Video_Placeholder.svg|200px|link=File:{{{video|}}}]]}}
+
|{{#if:{{{video|}}}||style="background:pink"{{!}}}} {{#if:{{{video|}}}|[[File:Video Placeholder.svg|100px|link=cdn:File:{{{video|}}}]]}}
| {{{name|}}}
+
| {{#if:{{{link|}}}|[[{{{link|}}}|{{{name|}}}]]|{{{name|}}}}}{{
| {{{date|}}}
+
#if:{{{name2|}}}|<br/>{{{name2|}}}}}{{
| {{{time|}}}{{#cargo_store:
+
#if:{{{name_us|}}}|<div style="font-size:80%">{{flag|US}} {{{name_us|}}}</div>}}{{
 +
#if:{{{name_de|}}}|<div style="font-size:80%">{{flag|DE}} {{{name_de|}}}</div>}}{{
 +
#if:{{{name_es|}}}|<div style="font-size:80%">{{flag|ES}} {{{name_es|}}}</div>}}{{
 +
#if:{{{name_fr|}}}|<div style="font-size:80%">{{flag|FR}} {{{name_fr|}}}</div>}}{{
 +
#if:{{{name_nl|}}}|<div style="font-size:80%">{{flag|NL}} {{{name_nl|}}}</div>}}{{
 +
#if:{{{name_pt|}}}|<div style="font-size:80%">{{flag|PT}} {{{name_pt|}}}</div>}}{{
 +
#if:{{{name_dk|}}}|<div style="font-size:80%">{{flag|DK}} {{{name_dk|}}}</div>}}{{
 +
#if:{{{name_se|}}}|<div style="font-size:80%">{{flag|SE}} {{{name_se|}}}</div>}}{{
 +
#if:{{{name_cz|}}}|<div style="font-size:80%">{{flag|CZ}} {{{name_cz|}}}</div>}}{{
 +
#if:{{{name_mx|}}}|<div style="font-size:80%">{{flag|MX}} {{{name_mx|}}}</div>}}
 +
| {{{date|}}}{{
 +
#if:{{{date_us|}}}|<div style="font-size:80%">{{flag|US}} {{{date_us|}}}</div>}}{{
 +
#if:{{{date_fr|}}}|<div style="font-size:80%">{{flag|FR}} {{{date_fr|}}}</div>}}{{
 +
#if:{{{date_uk|}}}|<div style="font-size:80%">{{flag|UK}} {{{date_uk|}}}</div>}}
 +
| {{{time|}}}
 +
| {{{description|}}}{{#if:{{{guest|}}}|* '''Guest(s):''' {{{guest|}}}}}
 +
|-{{#cargo_store:
 
_table = episodenames
 
_table = episodenames
 
|num={{{1|}}}
 
|num={{{1|}}}
|name={{{name|}}}
+
|name={{FormatSQL|{{stripref|{{{name|}}}}}}}
 
|date={{stripref|{{{date|}}}}}
 
|date={{stripref|{{{date|}}}}}
 
|time={{stripref|{{{time|}}}}}
 
|time={{stripref|{{{time|}}}}}
Line 25: Line 40:
 
|video=Text
 
|video=Text
 
|code=Text
 
|code=Text
 +
}}
 +
{{episodetable|code=test|region=JP|name=test|link=sega:{{PAGENAME}}|
 +
{{episode|1x01|name=Original name|link=Sega|name_us=English name|name_fr=Nom francais|date=2000-01-01|date_us=2002-02-02|date_uk=2003-03-03|date_fr=2004-04-04|time=7:30|video=|description=Description|guest=Nobody}}
 
}}
 
}}
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
 
{{episodetable|code=gamesmastertv|region=UK|name=GamesMaster|link=sega:{{PAGENAME}}|
 
{{episodetable|code=gamesmastertv|region=UK|name=GamesMaster|link=sega:{{PAGENAME}}|
{{episode|1|name=October 1989|date=1989-xx-xx|time=7:30|video=something.mp4}}
+
{{episode
 +
| 1x01
 +
| name=October 1989
 +
| date=1989-xx-xx
 +
| time=7:30
 +
| description=
 +
| video=something.mp4
 +
}}
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 07:11, 8 December 2021

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

Episode Video Name Date Airtime Description
1x01 Original name
United States of America English name
France Nom francais
2000-01-01
United States of America 2002-02-02
France 2004-04-04
United Kingdom 2003-03-03
7:30 Description
  • Guest(s): Nobody

Usage

{{episodetable|code=gamesmastertv|region=UK|name=GamesMaster|link=sega:{{PAGENAME}}|
{{episode
| 1x01
| name=October 1989
| date=1989-xx-xx
| time=7:30
| description=
| video=something.mp4
}}
}}