Difference between revisions of "OnThisDayRelease/Cargo"

From Sega Retro

 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifeq:{{{2|}}}|1|
+
<div style="display:none;">
*'''{{#sub:{{{5|}}}|0|4)}}:''' [[{{{1|}}}]] ({{{4|}}})|
+
<!-- variable set-up and debugging -->
*'''{{#sub:{{{5|}}}|0|4)}}:''' ''[[{{{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: Thunder Blade | SMS | EU | 1988)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Factory Panic | GG | UK | 1991)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Ferrari Grand Prix Challenge | MD | UK | 1992)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Where in the World is Carmen Sandiego? | MD | UK | 1992)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Smash T.V. | SMS | EU | 1992)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


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


  • go: (PREVIOUS: Ecco the Dolphin | MCD | UK | 1993)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Janou Touryuumon | MD | JP | 1993)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Party Quiz Mega Q | MD | JP | 1993)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Ten Pin Alley | SAT | US | 1997)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Real Mahjong Adventure :qm:Umi-He:qm:: Summer Waltz | SAT | JP | 1998)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Shinseiki Evangelion: Eva to Yukai na Nakamatachi | SAT | JP | 1998)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Hydro Thunder | DC | DE | 1999)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Speed Devils | DC | EU | 1999)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: The House of the Dead 2 | DC | EU | 1999)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: WWF Attitude | DC | EU | 1999)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Columns GB: Tezuka Osamu Characters | GBC | JP | 1999)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sega GT 2002 Original Soundtrack | CD | JP | 2002)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: F-Zero GX | GC | UK_Player's Choice | 2004)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sonic & Knuckles Collection | PC | UK_Xplosiv | 2004)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Alien Soldier | VC | US | 2007)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Kodai Ouja Kyouryuu King: D Kids Adventure | DVD | DE_Episode 31-35 | 2009)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Suki Oni-kan | EZwebB31 | JP | 2009)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Mario & Sonic at the Olympic Winter Games | Wii | JP | 2009)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Football Manager 2011 | PCMac | FR | 2010)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Blade Arcus from Shining | RE2 | JP | 2014)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Shin Megami Tensei: Devil Survivor 2 Record Breaker | 3DS | AU | 2015)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sekaiju no Meikyuu IV: Denshou no Kyojin | 3DS | JP_Atlus Best Collection | 2015)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Alien: Isolation | MacApp | US | 2015)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Ryu ga Gotoku: Ishin! | PS3 | JP_The Best | 2015)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Persona 5 Official Complete Guide | BOOK | JP | 2016)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Chunithm All Justice Collection Ep. I | CD | JP | 2017)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Pachislot Chain Chronicle | SLOT | JP | 2018)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Mario & Sonic at the Olympic Games Tokyo 2020 | Switch | US | 2019)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


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


  • go: (PREVIOUS: Sonic the Hedgehog 3: A Sticker & Activity Book | BOOK | US | 2024)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sonic the Hedgehog 3: Gadgets, Gizmos, and Gears | BOOK | US | 2024)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname: