Difference between revisions of "OnThisDayRelease/Cargo"

From Sega Retro

 
(8 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)}}:''' ''[[{{{1|}}}|{{#if:{{#var:localname}}|{{#var:localname}}|{{{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: Alien Syndrome | GG | EU | 1992)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: The Terminator | GG | EU | 1992)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


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


  • go: (PREVIOUS: Madou Monogatari I: 3tsu no Madoukyuu | GG | JP | 1993)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Cool Spot | GG | UK | 1993)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Lethal Enforcers | MCD | UK | 1993)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Teenage Mutant Ninja Turtles: Tournament Fighters | MD | JP | 1993)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


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


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


  • go: (PREVIOUS: Space Harrier | 32X | JP | 1994)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


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


  • go: (PREVIOUS: Ghost Rush! | MLD | JP | 1994)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Teikoku Kagekidan Hanagumi Haru Kouen: Cinderella | CD | JP | 1997)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Enemy Zero | SAT | ES | 1997)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


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


  • go: (PREVIOUS: Capcom Generation: Dai 5 Shuu Kakutouka-tachi | SAT | JP | 1998)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Winning Post 3 Program :sqm:98 | SAT | JP | 1998)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Zoku Hatsukoi Monogatari: Shuugakuryokou | SAT | JP | 1998)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Psychic Force 2012 | DC | DE | 1999)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: UEFA Striker | DC | ES | 1999)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


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


  • go: (PREVIOUS: Puyo Puyo~n & Columns | 90x | JP | 2007)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


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


  • go: (PREVIOUS: Wu Kong Wai Zhuan | MD | US | 2008)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


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


  • go: (PREVIOUS: Phantasy Star Portable 2 Star Frontier Guide | BOOK | JP | 2009)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Phantasy Star Portable 2 Special Single CD | CD | JP | 2009)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


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


  • go: (PREVIOUS: Yakuza 3 | PS3 | JP_The Best | 2009)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Phantasy Star Portable 2 | PSP | JP | 2009)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Shining Force Cross | RE | JP | 2009)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Arcade Classic | MD | UK_Streets of Rage Edition | 2010)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Arcade Portable | MD | UK_Streets of Rage Edition | 2010)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Quepla: Quest of Planet | iOS | JP | 2012)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Rhythm Kaitou R: Koutei Napoleon no Isan Original Soundtrack | Amazon | US | 2013)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Sonic Dash | Win8 | US | 2014)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Devil Survivor Overclocked | 3DS | JP_Atlus Best Collection | 2015)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Trauma Team | WiiU | US | 2015)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Panzer Dragoon (album) | Vinyl | UK | 2016)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: The Revenge of Shinobi (album) | Vinyl | UK | 2016)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname:


  • go: (PREVIOUS: Monster Boy and the Cursed Kingdom | XBONE | JP | 2018)
    • name:
    • type:
    • console:
    • region:
    • date:
    • year:
    • localname:
    • link:
    • displayname: