Difference between revisions of "OnThisDayRelease/Cargo"

From Sega Retro

 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:localname|{{GetLocalisedName|{{{1|}}}|{{{4|}}}}}}}{{#ifeq:{{{2|}}}|1|
+
<div style="display:none;">
*'''{{#sub:{{{5|}}}|0|4)}}:''' [[{{{1|}}}|{{#if:{{#var:localname}}|{{#var:localname}}|{{{1|}}}}}]] ({{{4|}}})|
+
<!-- variable set-up and debugging -->
*'''{{#sub:{{{5|}}}|0|4)}}:''' ''[[{{#replace:{{{1|}}}|\}}]]'' ({{Code2Format|{{{3|}}}}}, {{{4|}}})
+
*go: (PREVIOUS: {{#var:prevname}} {{!}} {{#var:prevconsole}} {{!}} {{#var:prevregion}} {{!}} {{#var:prevyear}})
 +
**name: {{#vardefine:name|{{FormatSQL|{{{1|}}}}}}}
 +
**type: {{#vardefine:type|{{{2|}}}}}
 +
**console: {{#vardefine:console|{{{3|}}}}}
 +
**region: {{#vardefine:region|{{{4|}}}}}
 +
**date: {{#vardefine:date|{{{5|}}}}}
 +
**year: {{#vardefine:year|{{#sub:{{{5|}}}|0|4)}}}}
 +
**localname: {{#vardefine:localname|{{GetLocalisedName|{{#var:name}}|{{{4|}}}}}}}
 +
**link: {{#vardefine:link|{{UnformatSQL|{{#var:name}}}}}}
 +
**displayname: {{#vardefine:displayname|{{UnformatSQL|{{#if:{{#var:localname}}|{{#var:localname}}|{{#explode:{{#var:name}}|(|0}}}}}}}}
 +
 
 +
 
 +
<!--We are iterating through things released on this day
 +
    check to see if the previous year/console/region is the same, so we can combine results and reduce bullet points -->
 +
{{
 +
#if:{{#var:name}}|{{
 +
#ifeq:{{#var:year}}|{{#var:prevyear}}|{{
 +
#ifeq:{{#var:console}}|{{#var:prevconsole}}|{{
 +
#ifeq:{{#var:region}}|{{#var:prevregion}}
 +
|{{#vardefine:currentresult|, }}
 +
|{{#vardefine:currentresult|{{#if:{{#var:prevconsole}}{{#var:prevregion}}|&nbsp;{{OnThisDayReleaseFormatBrackets|{{#var:prevtype|}}|{{#var:prevconsole}}|{{#var:prevregion}}}}
 
}}
 
}}
 +
*<!--NEW REGION-->'''{{#var:year}}:''' }}
 +
}}
 +
 +
|{{#vardefine:currentresult|{{#if:{{#var:prevconsole}}{{#var:prevregion}}|&nbsp;{{OnThisDayReleaseFormatBrackets|{{#var:prevtype|}}|{{#var:prevconsole}}|{{#var:prevregion}}}}
 +
}}
 +
*<!--NEW CONSOLE-->'''{{#var:year}}:''' }}
 +
}}
 +
 +
|{{#vardefine:currentresult|{{#if:{{#var:prevconsole}}{{#var:prevregion}}|&nbsp;{{OnThisDayReleaseFormatBrackets|{{#var:prevtype|}}|{{#var:prevconsole}}|{{#var:prevregion}}}}
 +
}}
 +
*<!--NEW YEAR-->'''{{#var:year}}:''' }}
 +
}}
 +
 +
{{#switch:{{#var:type}}
 +
|1={{#vardefine:currentresult|{{#var:currentresult}} [[{{#var:link}}|{{#var:displayname}}]]}}
 +
|2={{#vardefine:currentresult|{{#var:currentresult}} '''[[{{#var:link}}|{{#var:displayname}}]]'''}}
 +
|#default={{#vardefine:currentresult|{{#var:currentresult}} ''[[{{#var:link}}|{{#var:displayname}}]]''}}
 +
}}
 +
 +
<!-- update result, reset variables
 +
    note: because this template doesn't know when we're on the last row, the  last result will be finished by template:OnThisDay
 +
-->
 +
{{
 +
#vardefine:result|{{#var:result}}{{#var:currentresult}}}}{{clearvar|currentresult}}}}{{
 +
#vardefine:prevname|{{#var:name}}}}{{
 +
#vardefine:prevconsole|{{#var:console}}}}{{
 +
#vardefine:prevregion|{{#var:region}}}}{{
 +
#vardefine:prevyear|{{#var:year}}}}
 +
</div><noinclude>{{OnThisDayRelease}}
 +
 +
[[Category:Cargo templates]]</noinclude>

Latest revision as of 02:23, 8 July 2021

  • go: (PREVIOUS: | | | )
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: | | | )
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Crack Down/Gain Ground | CD | JP | 1989)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Tetremix | CD | JP | 1989)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Fatal Labyrinth | MD | JP_Sega Game Toshokan | 1990)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Phantasy Star II: Shilka:sqm:s Adventure | MD | JP_Sega Game Toshokan | 1990)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Game Music Festival :sqm:90 | VHS | JP | 1990)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: F-22 Interceptor: Advanced Tactical Fighter | MD | EU | 1991)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Jewel Master | MD | UK | 1991)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Shadow of the Beast | SMS | EU | 1991)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Dragon Crystal | SMS | UK | 1991)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Xenon 2: Megablast | SMS | UK | 1991)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: The Official Sega Mega Drive Power Tips Book | BOOK | US | 1992)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sonic the Hedgehog 2 (8-bit) | GG | JP | 1992)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sega 32X | 32X | US | 1994)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Doom (32X) | 32X | US | 1994)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Star Wars Arcade | 32X | US | 1994)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Virtua Racing Deluxe | 32X | US | 1994)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Shining Wisdom (album) | CD | JP | 1995)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Virtua Fighter 2 (Mega Drive) | MD | US | 1996)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Batman Forever (arcade) | SAT | US | 1996)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Break Point | SAT | US | 1996)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Daytona USA: Championship Circuit Edition | SAT | US | 1996)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Highway 2000 | SAT | US | 1996)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Daytona USA Deluxe | PC | JP | 1997)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sonic R | SAT | EU | 1997)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Bust-A-Move 3 | SAT | UK | 1997)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sakura Taisen Kayou Show Teikoku Uta Gekidan Dai 2-kai Hanagumi Tokubetsu Kouen: Tsubasa | VHS | JP | 1998)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: J.League Pro Soccer Club o Tsukurou! Original Sound Track | CD | JP | 1999)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sakura Taisen Kayou Show Teikoku Uta Gekidan Dai 3-kai Hanagumi Tokubetsu Kouen: Beni Tokage | VHS | JP | 1999)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Jet Set Radio | DC | ES | 2000)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Dave Mirra Freestyle BMX | DC | US | 2000)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Disney:sqm:s Dinosaur | DC | US | 2000)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Segacon: The Best of Sega Game Music Vol. 2 | CD | JP | 2001)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Floigan Bros. Episode 1 | DC | ES | 2001)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Virtua Tennis 2 | DC | ES | 2001)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Roommate Asami: Okusama ha Joshikousei - Director:sqm:s Edition | DC | JP | 2002)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Super Monkey Ball 2 | GC | JP | 2002)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sonic X | VHS | JP_Vol. 5 | 2003)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Nintendo DS | DS | US | 2004)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Columns Jewel | 505I | JP | 2005)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sonic Rivals | PSP | US | 2006)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Shining Wind Drama CD Vol. 1 | CD | JP | 2007)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Senjou no Valkyria (manga) | BOOK | JP | 2008)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sands of Destruction (anime) | DVD | JP_Vol. 3 | 2008)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: FC3 Plus | MD | US | 2008)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Football Manager 2009 | PCMac | PL | 2008)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Galileo Factory 3: Planet Zero | MEDAL | JP | 2012)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Jet Set Radio (2012) | PSV | EU | 2012)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Castle of Illusion Starring Mickey Mouse (2013) | iOS | US | 2013)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sonic Boom: Shattered Crystal | 3DS | EU | 2014)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Hatsune Miku: Project DIVA F 2nd | PS3 | EU | 2014)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Persona 4 Arena Ultimax | PS3 | EU | 2014)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sonic Boom: Rise of Lyric | WiiU | EU | 2014)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Super Smash Bros. for Wii U | WiiU | US | 2014)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Soul Reverse Zero | iOS | JP | 2016)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sonic the Hedgehog 2 (2013) | Android | US_Sega Forever | 2017)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Ryu ga Gotoku Online | Android | JP | 2018)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sonic Frontiers | Epic | US | 2023)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname: