Difference between revisions of "MissedRelease"

From Sega Retro

 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#cargo_store:
+
<includeonly>{{#vardefine:mr_declared|true}}{{#ifeq:{{#sub:{{PAGENAME}}|0|4}}|List||{{#cargo_store:
 
_table = missedreleases
 
_table = missedreleases
|name={{FormatSQL|{{PAGENAME}}}}
+
|name={{FormatSQL|{{#replace:{{PAGENAME}}|/Development|}}}}
 
|format={{{1|}}}
 
|format={{{1|}}}
 +
|region={{{region|}}}
 
|date={{Stripref|{{{2|}}}}}
 
|date={{Stripref|{{{2|}}}}}
}}{{#vardefine:MissedReleases_{{{1|}}}|{{#if:{{#var:MissedReleases_{{{1|}}}}}|{{#var:MissedReleases_{{{1|}}}}},|}} {{{2|}}}}}{{
+
}}}}{{#vardefine:MissedReleases_{{{1|}}}|{{#if:{{#var:MissedReleases_{{{1|}}}}}|{{#var:MissedReleases_{{{1|}}}}},|}} {{{2|}}}}}{{
 
#if:{{#var:mr_lastFormat}}|{{#ifeq:{{#var:mr_lastFormat}}|{{{1|}}}||{{#vardefine:mr_multiFormat|true}}}}|}}{{#vardefine:mr_lastFormat|{{{1|}}}}}</includeonly><noinclude>
 
#if:{{#var:mr_lastFormat}}|{{#ifeq:{{#var:mr_lastFormat}}|{{{1|}}}||{{#vardefine:mr_multiFormat|true}}}}|}}{{#vardefine:mr_lastFormat|{{{1|}}}}}</includeonly><noinclude>
 
{{#cargo_declare:
 
{{#cargo_declare:
Line 10: Line 11:
 
|name=Text
 
|name=Text
 
|format=Text
 
|format=Text
 +
|region=Text
 
|date=Wikitext
 
|date=Wikitext
}}[[Category:Templates]]</noinclude>
+
}}
 +
 
 +
Template for missed release dates, to be used with [[Template:UnreleasedBob]] and [[Template:DevelopmentBob]]. It just makes sure a release date is added to [[Special:CargoTables/missedreleases]], so it can be recalled if and when we start making auto-generated development histories
 +
 
 +
Usage:
 +
<pre>{{MissedRelease|FORMAT|DATE|region=REGION}}</pre>
 +
(region is optional)
 +
 
 +
<pre>{{MissedRelease|MD|1992-03-04{{magref|egm|1|1}}}}</pre>
 +
 
 +
Nothing will be displayed until [[Template:MissedReleasesDisplay]] is called. This is built in to the Bobs above.
 +
 
 +
[[Category:Templates]]</noinclude>

Latest revision as of 06:42, 18 April 2022

This template defines the table "missedreleases". View table.

Template for missed release dates, to be used with Template:UnreleasedBob and Template:DevelopmentBob. It just makes sure a release date is added to Special:CargoTables/missedreleases, so it can be recalled if and when we start making auto-generated development histories

Usage:

{{MissedRelease|FORMAT|DATE|region=REGION}}

(region is optional)

{{MissedRelease|MD|1992-03-04{{magref|egm|1|1}}}}

Nothing will be displayed until Template:MissedReleasesDisplay is called. This is built in to the Bobs above.