Difference between revisions of "MissedReleasesDisplay"

From Sega Retro

Line 3: Line 3:
 
| {{#vardefine:output|{{#explode:{{#var:formats}}|,|{{#var:i}}}}}}{{
 
| {{#vardefine:output|{{#explode:{{#var:formats}}|,|{{#var:i}}}}}}{{
 
#if:{{#var:MissedReleases_{{#var:output}}}}|{{
 
#if:{{#var:MissedReleases_{{#var:output}}}}|{{
#if:{{#var:mr_multiFormat}}|<p><div style="display:inline;">{{ {{#var:output}} }} {{#var:MissedReleases_{{#var:output}}}}</div></p>|{{#var:MissedReleases_{{#var:output}}}}}}}}{{incvar|i}}
+
#if:{{#var:mr_multiFormat}}|<p><div style="display:inline;">{{ {{#var:output}} }} {{#var:MissedReleases_{{#var:output}}}}</div></p>|{{#var:MissedReleases_{{#var:output}}}}}}}}{{incvar|i}}{{clearvar|MissedReleases_{{#var:output}}}}
}}{{clearvar|MissedReleases_MD|MissedReleases_MD|mr_multiFormat|mr_lastFormat}}</includeonly><noinclude>
+
}}{{clearvar|mr_multiFormat|mr_lastFormat}}</includeonly><noinclude>
 
{{TODO}}
 
{{TODO}}
 
Displays missed releases after they've been declared with [[Template:MissedRelease]].
 
Displays missed releases after they've been declared with [[Template:MissedRelease]].
Line 40: Line 40:
  
 
would have recalled the cargo data but you get UNIQ/QINU problems with references
 
would have recalled the cargo data but you get UNIQ/QINU problems with references
 
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 12:29, 17 April 2022


Clock.svg
This task is unfinished
This is a wiki task that requires more thought or peer review. An important issue that needs to be solved, which will appear at the top of Sega Retro:Todo until this message is removed.

Displays missed releases after they've been declared with Template:MissedRelease.


Examples

{{MissedRelease|MD|1991-02-03{{ref|http://www.google.com}}}}
{{MissedRelease|MD|1992-03-04{{magref|egm|1|1}}}}
{{MissedReleasesDisplay}}


1991-02-03[1], 1992-03-04[2]


{{MissedRelease|MD|1991-02-03{{ref|http://www.google.com}}}}
{{MissedRelease|MD|1992-03-04{{magref|egm|1|1}}}}
{{MissedRelease|SMS|1993-04-05{{magref|egm|1|1}}}}
{{MissedRelease|SMS|1994-05-06{{magref|egm|1|1}}}}
{{MissedReleasesDisplay}}



Sega Master System
1993-04-05[2], 1994-05-06[2]

Sega Mega Drive
1991-02-03[1], 1992-03-04[2]


  1. store the data
  2. add to a string in each MissedRelease
  3. show that string at the end of this template

would have recalled the cargo data but you get UNIQ/QINU problems with references