Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Difference between revisions of "Template:Infobox game/row/date"

From PCGamingWiki, the wiki about fixing PC games
m (moved declaration of {{#vardefine:{{{1}}}|true}} to all appropriate scenarios _except_ for when a title was cancelled)
m (restore)
Line 36: Line 36:
 
<td class="template-infobox-info"><!--
 
<td class="template-infobox-info"><!--
 
-->{{#switch:{{{1|}}}
 
-->{{#switch:{{{1|}}}
|Windows 3.x = {{Date|{{{2}}}|mdy}} {{#ifeq: {{NAMESPACE}} | | [[Category:Windows 3.x]]}}[[Available on::Windows 3.x| ]][[Release date Windows 3x::{{{2}}}| ]][[Release date::{{{2}}}| ]]{{#vardefine:{{{1}}}|true}}
+
|Windows 3.x = {{Date|{{{2}}}|mdy}} {{#ifeq: {{NAMESPACE}} | | [[Category:Windows 3.x]]}}[[Available on::Windows 3.x| ]][[Release date Windows 3x::{{{2}}}| ]][[Release date::{{{2}}}| ]]
|PC booter
+
|PC booter
|DOS
+
|DOS
|Windows
+
|Windows
|OS X
+
|OS X
|Linux
+
|Linux
|Mac OS = {{#switch:{{{2|}}}
+
|Mac OS = {{#switch:{{{2|}}}
 
  |TBD
 
  |TBD
  |TBA = TBA{{#vardefine:show HDR|true}}{{#vardefine:{{{1}}}|true}}
+
  |TBA = TBA{{#vardefine:show HDR|true}}
  |EA = Early access [[Available on::{{{1}}}| ]]{{#vardefine:show HDR|true}}{{#vardefine:{{{1}}}|true}}
+
  |EA = Early access [[Available on::{{{1}}}| ]]{{#vardefine:show HDR|true}}
  |Unknown = {{Abbr|Unknown|Despite the game being available for purchase, game remains incomplete and it is not known whether the game will ever be finished.}}{{#vardefine:show HDR|true}}{{#vardefine:{{{1}}}|true}}
+
  |Unknown = {{Abbr|Unknown|Despite the game being available for purchase, game remains incomplete and it is not known whether the game will ever be finished.}}{{#vardefine:show HDR|true}}
  |LC = {{Abbr|Likely cancelled|While the game used to be available to public via Early Access or public beta test, obtaining access to the game via official means is no longer possible. Developer however has not officially denied or confirmed its cancellation.}} [[Likely cancelled::{{{1}}}| ]]{{#vardefine:show HDR|true}}{{#vardefine:{{{1}}}|true}}
+
  |LC = {{Abbr|Likely cancelled|While the game used to be available to public via Early Access or public beta test, obtaining access to the game via official means is no longer possible. Developer however has not officially denied or confirmed its cancellation.}} [[Likely cancelled::{{{1}}}| ]]{{#vardefine:show HDR|true}}
 
  |Canceled
 
  |Canceled
 
  |Cancelled = {{Abbr|Cancelled|While previously announced, and possibly even available to the public in some form, the full release of this version has been cancelled.}}
 
  |Cancelled = {{Abbr|Cancelled|While previously announced, and possibly even available to the public in some form, the full release of this version has been cancelled.}}
|#Default = {{#iferror: {{Date|{{{2}}}|mdy}} [[Release date {{{1}}}::{{{2}}}| ]][[Release date::{{{2}}}| ]][[Available on::{{{1}}}| ]]{{#ifexpr: {{#time: Y|{{{2|}}}}}>=2016|{{#if:{{#var:Windows native}}{{#var:OS X native}}{{#var:Linux native}}|{{#vardefine:show HDR|true}}}}}} | {{{2|}}} }}{{#vardefine:{{{1}}}|true}}
+
|#Default = {{#iferror: {{Date|{{{2}}}|mdy}} [[Release date {{{1}}}::{{{2}}}| ]][[Release date::{{{2}}}| ]][[Available on::{{{1}}}| ]]{{#ifexpr: {{#time: Y|{{{2|}}}}}>=2016|{{#if:{{#var:Windows native}}{{#var:OS X native}}{{#var:Linux native}}|{{#vardefine:show HDR|true}}}}}} | {{{2|}}} }}
 
}}
 
}}
 
{{#ifeq: {{NAMESPACE}} | | [[Category:{{{1}}}]] }}
 
{{#ifeq: {{NAMESPACE}} | | [[Category:{{{1}}}]] }}
 
  |#Default = This value is not permitted. <includeonly>[[Category:Invalid template usage (infobox game)]]</includeonly>
 
  |#Default = This value is not permitted. <includeonly>[[Category:Invalid template usage (infobox game)]]</includeonly>
 
}}{{{ref|}}}<includeonly>{{#vardefine:{{{1}}}|true}}{{#ifeq: {{{2|}}} | ? | [[Category:Pages with no release dates]] | {{#ifeq: {{{2|}}} | | {{#ifeq: {{NAMESPACE}} | |[[Category:Pages with no release dates]]}}}} }}</td>{{#if: {{{3|}}}{{{port|}}}|[[Category:Invalid template usage (infobox game)]]}}</includeonly>
 
}}{{{ref|}}}<includeonly>{{#vardefine:{{{1}}}|true}}{{#ifeq: {{{2|}}} | ? | [[Category:Pages with no release dates]] | {{#ifeq: {{{2|}}} | | {{#ifeq: {{NAMESPACE}} | |[[Category:Pages with no release dates]]}}}} }}</td>{{#if: {{{3|}}}{{{port|}}}|[[Category:Invalid template usage (infobox game)]]}}</includeonly>

Revision as of 09:33, 26 December 2019

{{{1}}} This value is not permitted.