Difference between revisions of "Template:Infobox game/row/date"
From PCGamingWiki, the wiki about fixing PC games
(restored DOS #vardefine functionality) |
(added cancelled support, deprecated third parameter) |
||
Line 10: | Line 10: | ||
-->{{#switch:{{{1|}}} | -->{{#switch:{{{1|}}} | ||
|Booter = {{Date|{{{2}}}|mdy}} [[Category:PC booter]][[Available on::PC booter| ]][[Release date PC booter::{{{2}}}| ]][[Release date::{{{2}}}| ]]{{#vardefine:DOS|yes}} | |Booter = {{Date|{{{2}}}|mdy}} [[Category:PC booter]][[Available on::PC booter| ]][[Release date PC booter::{{{2}}}| ]][[Release date::{{{2}}}| ]]{{#vardefine:DOS|yes}} | ||
− | |DOS = {{# | + | |DOS = {{#switch:{{{2|}}} |
+ | |TBA = TBA | ||
+ | |EA = Early access [[Available on::DOS| ]] | ||
+ | |Canceled | ||
+ | |Cancelled = Cancelled | ||
+ | |#Default = {{Date|{{{2}}}|mdy}} [[Release date DOS::{{{2}}}| ]][[Release date::{{{2}}}| ]][[Available on::DOS| ]] | ||
+ | }}{{#ifeq: {{NAMESPACE}} | | [[Category:DOS]] }}{{#vardefine:DOS|yes}} | ||
|Windows | |Windows | ||
|OS X | |OS X | ||
|Linux | |Linux | ||
− | |Mac OS = {{# | + | |Mac OS = {{#switch:{{{2|}}} |
+ | |TBA = TBA | ||
+ | |EA = Early access [[Available on::{{{1}}}| ]] | ||
+ | |Canceled | ||
+ | |Cancelled = Cancelled | ||
+ | |#Default = {{Date|{{{2}}}|mdy}} [[Release date {{{1}}}::{{{2}}}| ]][[Release date::{{{2}}}| ]][[Available on::{{{1}}}| ]] | ||
+ | }} | ||
+ | {{#ifeq: {{NAMESPACE}} | | [[Category:{{{1}}}]] }} | ||
|#Default = This value is not permitted. <includeonly>[[Category:Invalid template usage]]</includeonly> | |#Default = This value is not permitted. <includeonly>[[Category:Invalid template usage]]</includeonly> | ||
− | }}{{{ref|}}}<includeonly>{{#ifeq: {{{2|}}} | ? | [[Category:Pages with no release dates]] | {{#ifeq: {{{2|}}} | | {{#ifeq: {{NAMESPACE}} | |[[Category:Pages with no release dates]]}}}} }}</td></includeonly> | + | }}{{{ref|}}}<includeonly>{{#ifeq: {{{2|}}} | ? | [[Category:Pages with no release dates]] | {{#ifeq: {{{2|}}} | | {{#ifeq: {{NAMESPACE}} | |[[Category:Pages with no release dates]]}}}} }}</td>{{#if: {{{3|}}}|[[Category:Invalid template usage (infobox game)]]}}</includeonly> |
Revision as of 02:54, 18 August 2018
{{{1}}} This value is not permitted.