Difference between revisions of "MissedReleasesDisplay"
From Sega Retro
m (+SYSC2) |
|||
(18 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{{1|}}}{{# | + | <includeonly>{{#vardefine:formats|{{#if:{{{1|}}}|{{{1}}}{{#vardefine:mr_multiFormat|}}|ARC,SYSC2,SG,SMS,MD,GG,MCD,32X,MCD32X,MLD,PICO,SAT,DC,PS2,XBOX,GC,PC,SYS18,SYS32,NAOMI,RW,PS4,PS5,XBONE,SWITCH}}}}{{#vardefine:i|0}}{{#while: |
− | {{ | + | | {{#if:{{#explode:{{#var:formats}}|,|{{#var:i}}}}|true}} |
− | + | | {{#vardefine:output|{{#explode:{{#var:formats}}|,|{{#var:i}}}}}}{{ | |
+ | #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}}{{clearvar|MissedReleases_{{#var:output}}}} | ||
+ | }}{{clearvar|mr_multiFormat|mr_lastFormat}}</includeonly><noinclude> | ||
+ | Displays missed releases after they've been declared with [[Template:MissedRelease]]. | ||
− | |||
− | + | ==Examples== | |
+ | <pre> | ||
+ | {{MissedRelease|MD|1991-02-03{{ref|http://www.google.com}}}} | ||
+ | {{MissedRelease|MD|1992-03-04{{magref|egm|1|1}}}} | ||
+ | {{MissedReleasesDisplay}} | ||
+ | </pre> | ||
+ | |||
+ | {{MissedRelease|MD|1991-02-03{{ref|http://www.google.com}}}} | ||
+ | {{MissedRelease|MD|1992-03-04{{magref|egm|1|1}}}} | ||
+ | {{MissedReleasesDisplay}} | ||
+ | |||
− | + | <pre> | |
{{MissedRelease|MD|1991-02-03{{ref|http://www.google.com}}}} | {{MissedRelease|MD|1991-02-03{{ref|http://www.google.com}}}} | ||
{{MissedRelease|MD|1992-03-04{{magref|egm|1|1}}}} | {{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}}</pre> | ||
+ | |||
+ | {{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}} | ||
#store the data | #store the data | ||
Line 17: | Line 38: | ||
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> |
Latest revision as of 23:10, 14 August 2023
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}}
{{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}}
- store the data
- add to a string in each MissedRelease
- show that string at the end of this template
would have recalled the cargo data but you get UNIQ/QINU problems with references