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


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

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

From PCGamingWiki, the wiki about fixing PC games
(1:1 with live)
 
(36 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<tr>
+
<includeonly><tr>
 
<td class="template-infobox-type"><!--
 
<td class="template-infobox-type"><!--
 
-->{{#switch:{{{1|}}}
 
-->{{#switch:{{{1|}}}
Line 5: Line 5:
 
  |Mac OS = Mac&nbsp;OS&nbsp;(Classic)
 
  |Mac OS = Mac&nbsp;OS&nbsp;(Classic)
 
  |#Default = {{{1}}}
 
  |#Default = {{{1}}}
}}{{#if:{{{port|}}}|{{#switch:{{{port|}}}
+
}}{{#if:{{{wrapper|}}}|&nbsp;{{#switch:{{{1|}}}
|DOSBox
+
|Windows 3.x={{#ifeq:{{{wrapper|}}}|Win32s|([[Windows 3.x#Win32s|Win32s]]){{#vardefine:current wrapper|Win32s}}|[[Category:Invalid template usage (infobox game)]]<div title="Error: wrapper '{{{wrapper|}}}' not supported for this operating system" class="svg-icon svg-25 tickcross-error"></div>}}
|Wine=&nbsp;([[{{{port|}}}]])[[Port method::{{{port|}}}| ]]
+
|Windows
|ScummVM=&nbsp;([[ScummVM]])[[Port method::ScummVM| ]]{{#vardefine:ScummVM|true}}
+
|OS X
|DOSBox, ScummVM
+
|Linux={{#switch: {{{wrapper|}}}
|ScummVM, DOSBox=&nbsp;(<abbr title="DOSBox version also available">ScummVM</abbr>)[[Port method::DOSBox| ]][[Port method::ScummVM| ]]{{#vardefine:ScummVM|true}}
+
|DOSBox=([[DOSBox]]){{#vardefine:current wrapper|DOSBox}}{{#if:{{#var:DOS}}{{#var:PC booter}}|{{#vardefine:{{{1|}}} DOSBox|true}}|[[Category:Invalid template usage (infobox game)]]}}
|DOSBox, emulator
+
|Wine={{#ifeq:{{{1|}}}|Windows|[[Category:Invalid template usage (infobox game)]]<div title="Error: wrapper 'Wine' not supported for this operating system" class="svg-icon svg-25 tickcross-error"></div>|([[Wine]]){{#vardefine:current wrapper|Wine}}{{#vardefine:{{{1|}}} native|true}}}}
|emulator, DOSBox=&nbsp;(<abbr title="DOSBox version also available">emulator</abbr>)[[Port method::DOSBox| ]][[Port method::emulator| ]]
+
|Wineskin
|emulator=&nbsp;(emulator)[[Port method::emulator| ]]
+
|Cider={{#ifeq:{{{1|}}}|OS X|([[{{{wrapper|}}}]]){{#vardefine:OS X native|true}}|[[Category:Invalid template usage (infobox game)]]<div title="Error: wrapper '{{{wrapper|}}}' not supported for this operating system" class="svg-icon svg-25 tickcross-error"></div>}}
|#Default = [[Category:Invalid template usage (infobox game)]]
+
|ScummVM=([[ScummVM]]){{#vardefine:current wrapper|ScummVM}}{{#vardefine:ScummVM|true}}
}}|{{#switch:{{{1|}}}
+
|DOSBox, ScummVM
 +
|ScummVM, DOSBox=(<abbr title="DOSBox version also available">ScummVM</abbr>){{#vardefine:current wrapper|DOSBox, ScummVM}}{{#vardefine:ScummVM|true}}{{#if:{{#var:DOS}}{{#var:PC booter}}||[[Category:Invalid template usage (infobox game)]]}}
 +
|DOSBox, emulator
 +
|emulator, DOSBox=(<abbr title="DOSBox version also available">emulator</abbr>){{#vardefine:current wrapper:DOSBox, emulator}}{{#if:{{#var:DOS}}{{#var:PC booter}}||[[Category:Invalid template usage (infobox game)]]}}
 +
|emulator=(emulator){{#vardefine:current wrapper|emulator}}
 +
|#Default = [[Category:Invalid template usage (infobox game)]]<div title="Error: wrapper '{{{wrapper|}}}' not supported for this operating system" class="svg-icon svg-25 tickcross-error"></div>
 +
}}
 +
|#Default = [[Category:Invalid template usage (infobox game)]]<div title="Error: wrapper '{{{wrapper|}}}' not supported for this operating system" class="svg-icon svg-25 tickcross-error"></div>
 +
}}{{#vardefine:wrappers|{{#if:{{#var:wrappers}}|{{#var:wrappers}},{{#var:current wrapper}}|{{#var:current wrapper}}}}}}{{#vardefine:{{{1|}}} wrappers|{{#if:{{#var:{{{1|}}} wrappers}}|{{#var:{{{1|}}} wrappers}},{{#var:current wrapper}}|{{#var:current wrapper}}}}}}{{#vardefine:current wrapper|}}|{{#switch:{{{1|}}}
 +
|Windows 3.x
 +
|Windows
 +
|OS X
 +
|Mac OS
 +
|Linux={{#switch:{{{2|}}}
 +
|Canceled
 +
|Cancelled = <!-- Don't set native variable at all for cancelled releases -->
 +
|#Default = {{#vardefine:{{{1|}}} native|true}}
 +
}}
 +
}}}}</td>
 +
<td class="template-infobox-info"><!--
 +
-->{{#switch:{{{1|}}}
 +
|Windows 3.x = {{Date|{{{2}}}|mdy}} {{#ifeq: {{NAMESPACE}} | | [[Category:Windows 3.x]]}}{{#vardefine:released Windows 3.x|{{{2}}}}}{{#vardefine:released|{{#if:{{#var:released}}|{{#var:released}};{{{2}}}|{{{2}}}}}}}{{#vardefine:available on|{{#if:{{#var:available on}}|{{#var:available on}},Windows 3.x|Windows 3.x}}}}
 +
|PC booter
 +
|DOS
 
|Windows
 
|Windows
 
|OS X
 
|OS X
|Linux={{#vardefine:{{{1|}}} native|true}}}}}}</td>
+
|Linux
<td class="template-infobox-info"><!--
+
|Mac OS = {{#switch:{{{2|}}}
-->{{#switch:{{{1|}}}
 
|Windows 3.x = {{Date|{{{2}}}|mdy}} [[Category:Windows 3.x]][[Available on::Windows 3.x| ]][[Release date Windows 3x::{{{2}}}| ]][[Release date::{{{2}}}| ]]
 
|PC booter
 
|DOS
 
|Windows
 
|OS X
 
|Linux
 
|Mac OS = {{#switch:{{{2|}}}
 
 
  |TBD
 
  |TBD
 
  |TBA = TBA{{#vardefine:show HDR|true}}
 
  |TBA = TBA{{#vardefine:show HDR|true}}
  |EA = Early access [[Available on::{{{1}}}| ]]{{#vardefine:show HDR|true}}
+
  |EA = Early access {{#vardefine:available on|{{#if:{{#var:available on}}|{{#var:available on}},{{{1}}}|{{{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}}
 
  |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}}
+
|Likely canceled
  |Cancelled = {{Abbr|Cancelled|While the game used to be available to public via Early Access or public beta test, its final release has been cancelled.}}
+
|Likely cancelled
|#Default = {{Date|{{{2}}}|mdy}} [[Release date {{{1}}}::{{{2}}}| ]][[Release date::{{{2}}}| ]][[Available on::{{{1}}}| ]]
+
  |LC = {{Abbr|Likely cancelled|While previously announced, and possibly even available to the public in some form, the full release of this version has likely been cancelled, although this have neither been confirmed nor denied by the developer.}} {{#vardefine:show HDR|true}}
 +
|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.}}
 +
|#Default = {{#iferror: {{Date|{{{2}}}|mdy}} {{#vardefine:released {{{1}}}|{{{2}}}}}{{#vardefine:available on|{{#if:{{#var:available on}}|{{#var:available on}},{{{1}}}|{{{1}}}}}}}{{#ifexpr: {{#time: Y|{{{2|}}}}}>=2016|{{#if:{{#var:Windows native}}{{#var:OS X native}}{{#var:Linux native}}|{{#vardefine:show HDR|true}}}}}} {{#ifexpr: {{#time: U | {{{2|}}} }} <= {{#time: U | now }} | {{#vardefine:released|{{#if:{{#var:released}}|{{#var:released}};{{{2}}}|{{{2}}}}}}} }} | {{{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. [[Category:Invalid template usage (infobox game)]]
}}{{{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|}}}|[[Category:Invalid template usage (infobox game)]]}}</includeonly>
+
}}{{{ref|}}}{{#switch:{{{2|}}}|Canceled|Cancelled= {{#vardefine:{{{1}}} cancelled|true}} <!-- Don't set OS variable at all for cancelled releases --> |#Default={{#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><noinclude>{{Documentation}}</noinclude>

Latest revision as of 08:20, 10 December 2021

Documentation for the above template (sometimes hidden from view).