Difference between revisions of "Template:Infobox game/row/date"
From PCGamingWiki, the wiki about fixing PC games
(added OS-specific DOSBox var support) |
(added DOSBox validity check) |
||
Line 10: | Line 10: | ||
|OS X | |OS X | ||
|Linux={{#switch: {{{wrapper|}}} | |Linux={{#switch: {{{wrapper|}}} | ||
− | |DOSBox=([[DOSBox]])[[Wrapper::DOSBox| ]][[{{{1|}}} wrapper::DOSBox| ]]{{#vardefine:{{{1|}}} DOSBox|true}} | + | |DOSBox=([[DOSBox]])[[Wrapper::DOSBox| ]][[{{{1|}}} 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 '{{{wrapper|}}}' not supported for this operating system" class="svg-icon svg-25 tickcross-error"></div>|([[Wine]])[[Wrapper::Wine| ]][[{{{1|}}} wrapper::Wine| ]]}} | |Wine={{#ifeq:{{{1|}}}|Windows|[[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]])[[Wrapper::Wine| ]][[{{{1|}}} wrapper::Wine| ]]}} | ||
|ScummVM=([[ScummVM]])[[Wrapper::ScummVM| ]][[{{{1|}}} wrapper::ScummVM| ]]{{#vardefine:ScummVM|true}} | |ScummVM=([[ScummVM]])[[Wrapper::ScummVM| ]][[{{{1|}}} wrapper::ScummVM| ]]{{#vardefine:ScummVM|true}} | ||
|DOSBox, ScummVM | |DOSBox, ScummVM | ||
− | |ScummVM, DOSBox=(<abbr title="DOSBox version also available">ScummVM</abbr>)[[Wrapper::DOSBox| ]][[Wrapper::ScummVM| ]][[{{{1|}}} wrapper::DOSBox| ]][[{{{1|}}} wrapper::ScummVM| ]]{{#vardefine:ScummVM|true}} | + | |ScummVM, DOSBox=(<abbr title="DOSBox version also available">ScummVM</abbr>)[[Wrapper::DOSBox| ]][[Wrapper::ScummVM| ]][[{{{1|}}} wrapper::DOSBox| ]][[{{{1|}}} wrapper::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>)[[Wrapper::DOSBox| ]][[Wrapper::emulator| ]][[{{{1|}}} wrapper::DOSBox| ]][[{{{1|}}} wrapper::emulator| ]] | + | |emulator, DOSBox=(<abbr title="DOSBox version also available">emulator</abbr>)[[Wrapper::DOSBox| ]][[Wrapper::emulator| ]][[{{{1|}}} wrapper::DOSBox| ]][[{{{1|}}} wrapper::emulator| ]]{{#if:{{#var:DOS}}{{#var:PC booter}}||[[Category:Invalid template usage (infobox game)]]}} |
|emulator=(emulator)[[Wrapper::emulator| ]][[{{{1|}}} wrapper::emulator| ]] | |emulator=(emulator)[[Wrapper::emulator| ]][[{{{1|}}} 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> |
Revision as of 07:39, 11 June 2019
{{{1}}} This value is not permitted.