Difference between revisions of "Development:Infobox game/row/date"
From PCGamingWiki, the wiki about fixing PC games
(wrapper v0 - vardefine only) |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
|#Default = {{{1}}} | |#Default = {{{1}}} | ||
}}{{#if:{{{wrapper|}}}| {{#switch:{{{1|}}} | }}{{#if:{{{wrapper|}}}| {{#switch:{{{1|}}} | ||
− | |Windows 3.x={{#ifeq:{{{wrapper|}}}|Win32s|([[Windows 3.x#Win32s|Win32s]]){{#vardefine:current wrapper|Win32s}} | + | |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>}} |
|Windows | |Windows | ||
|OS X | |OS X | ||
|Linux={{#switch: {{{wrapper|}}} | |Linux={{#switch: {{{wrapper|}}} | ||
− | |DOSBox=([[DOSBox]]){{#vardefine:current wrapper|DOSBox}} | + | |DOSBox=([[DOSBox]]){{#vardefine:current wrapper|DOSBox}}{{#if:{{#var:DOS}}{{#var:PC booter}}|{{#vardefine:{{{1|}}} DOSBox|true}}|[[Category:Invalid template usage (infobox game)]]}} |
− | |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}} | + | |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}}}} |
|Wineskin | |Wineskin | ||
− | |Cider={{#ifeq:{{{1|}}}|OS X|([[{{{wrapper|}}}]]) | + | |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>}} |
− | |ScummVM=([[ScummVM]]){{#vardefine:current wrapper|ScummVM}} | + | |ScummVM=([[ScummVM]]){{#vardefine:current wrapper|ScummVM}}{{#vardefine:ScummVM|true}} |
|DOSBox, ScummVM | |DOSBox, ScummVM | ||
− | |ScummVM, DOSBox=(<abbr title="DOSBox version also available">ScummVM</abbr>){{#vardefine:current wrapper|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 | |DOSBox, emulator | ||
− | |emulator, DOSBox=(<abbr title="DOSBox version also available">emulator</abbr>){{#vardefine:current wrapper: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}} | + | |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> | ||
}} | }} | ||
|#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> | ||
− | }}|{{#switch:{{{1|}}} | + | }}{{#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 3.x | ||
|Windows | |Windows | ||
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]]}} | + | |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 | |PC booter | ||
|DOS | |DOS | ||
Line 45: | Line 45: | ||
|TBD | |TBD | ||
|TBA = TBA{{#vardefine:show HDR|true}} | |TBA = TBA{{#vardefine:show HDR|true}} | ||
− | |EA = Early access | + | |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}} | ||
|Likely canceled | |Likely canceled | ||
|Likely cancelled | |Likely cancelled | ||
− | |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.}} | + | |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 | |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}} {{#vardefine:released {{{1}}}|{{{2}}}}}{{#vardefine:available on|{{#if:{{#var:available on}}|{{#var:available on}},{{{1}}}|{{{1}}}}}}} | + | |#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. [[Category:Invalid template usage (infobox game)]] | |#Default = This value is not permitted. [[Category:Invalid template usage (infobox game)]] | ||
}}{{{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> | }}{{{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).
Visit Development:Infobox game/row/date/Documentation to edit this text. (How does this work?)