(Added support for specifying an abandoned status.) |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
{{ReleaseDate|2012-01-02}} | {{ReleaseDate|2012-01-02}} | ||
{{ReleaseDate|TBA}} | {{ReleaseDate|TBA}} | ||
{{ReleaseDate|Abandoned}} | |||
{{ReleaseDate|N/A}} | {{ReleaseDate|N/A}} | ||
</noinclude> | </noinclude> | ||
{{#if:{{{1|}}}| | {{#if:{{{1|}}}| | ||
{{#if:{{#pos:{{{1|}}}|;}}| | {{#if:{{#pos:{{{1|}}}|;}}| | ||
{{#arraymap:{{{1}}}|;| | {{#arraymap:{{{1}}}|;|entry|{{#set:Has release dates={{#sub:entry|0|{{#pos:entry|(}} }};{{#sub:entry|{{#expr: {{#pos:entry|(}} + 1}}| {{#expr: {{#expr: {{#rpos:entry|)}} - 1 }} - {{#pos:entry|(}} }} }} }} {{Date|{{#sub:entry|0|{{#pos:entry|(}} }}}} ({{#sub:entry|{{#expr: {{#pos:entry|(}} + 1}}| {{#expr: {{#expr: {{#rpos:entry|)}} - 1 }} - {{#pos:entry|(}} }} }}) | | ||
<br> | |||
}}| | |||
{{#switch:{{{1}}} | {{#switch:{{{1}}} | ||
|TBA=[[:Category:Work In Progress Fangames|TBA]] | |TBA=[[:Category:Work In Progress Fangames|TBA]] |
Latest revision as of 07:54, 31 August 2023
Sets the release date of a game. For use with Template:Gamebox. Adds a category pointing to the year the game is released, if a date is given, or adds Category:Unknown Release Date if none is given.
January 2, 2012 (foo)
January 1, 2013 (bar)
N/A