Difference between revisions of "OnThisDayRelease/Cargo"

From Sega Retro

 
(7 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}}|{{#explode:{{{1|}}}|(|0}}}}]] ({{{4|}}})|
+
<!-- variable set-up and debugging -->
*'''{{#sub:{{{5|}}}|0|4)}}:''' ''[[{{{1|}}}|{{#if:{{#var:localname}}|{{#var:localname}}|{{#explode:{{{1|}}}|(|0}}}}]]'' ({{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: 3-D Glasses | SMS | JP | 1987)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Zaxxon 3D | SMS | JP | 1987)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


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


  • go: (PREVIOUS: Shining Force II: Inishie no Fuuin Kouryaku no Tebiki | BOOK | JP | 1993)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Prime Time NFL Football Starring Deion Sanders | MD | US | 1995)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Theme Park | SAT | UK | 1995)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Kidou Senshi Gundam Gaiden I: Senritsu no Blue Technical Guide Book | BOOK | JP | 1996)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Fighting Vipers | SAT | EU | 1996)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Ronde Tokyo Kouryaku Guide | BOOK | JP | 1997)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


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


  • go: (PREVIOUS: Sega Touring Car Championship | SAT | UK | 1997)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: NHL All-Star Hockey 98 | SAT | US | 1997)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sega Ages: Volume 1 | SAT | US | 1997)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Dennou Senki Virtual-On for Power VR | Win | JP | 1997)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


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


  • go: (PREVIOUS: Tony Hawk:sqm:s Pro Skater 2 | DC | US | 2000)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Virtua Tennis 2 | PS2 | JP | 2002)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sonic Pinball Party | GBA | DE | 2003)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Guilty Gear XX Accent Core | NAOMIGD | JP | 2006)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Football Manager 2007 | PCMac | US | 2006)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: MJ4 Kouryaku Taizen | BOOK | JP | 2008)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Shining Force EXA Drama CD | CD | JP | 2008)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sonic Reversi Hyper | EMOBILE | JP | 2008)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sega Vintage Collection: ToeJam & Earl | 360 | JP | 2012)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Puyo Puyo!! | 3DS | JP_Mini Version | 2012)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Planetary Pieces: Sonic World Adventure Original Soundtrack | Amazon | JP | 2012)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sonic the Hedgehog Original Sound Track | Amazon | JP | 2012)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: NiGHTS into Dreams: Perfect Album | iTunes | JP | 2012)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: NiGHTS: Hoshi Furu Yoru no Monogatari Original Soundtrack | iTunes | JP | 2012)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: ToeJam & Earl | PS3 | EU | 2012)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: ToeJam & Earl in Panic on Funkotron | PS3 | EU | 2012)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


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


  • go: (PREVIOUS: Run, Sonic, Run! | BOOK | US | 2013)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Football Manager 2015 | PC | EU_SE/DK/NO/FI | 2014)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Tears to Tiara II: Heir of the Overlord | PS3 | EU | 2014)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sonic Forces | Switch | US | 2017)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Football Manager 2023 | Epic | US | 2022)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname: