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

From PCGamingWiki, the wiki about fixing PC games
m (added ScummVM handling as well so relevant parameters are set even when a release date isn't specified)
m (lowercase)
Line 3: Line 3:
 
<td class="template-infobox-info">[[Uses engine::Engine:{{{1|}}}|{{#formredlink:target=Engine:{{urlencode:{{{1|}}}|WIKI}}|form=Engine page|link text={{{name|{{{1|}}}}}}|existing page link text={{{name|{{{1|}}}}}}}}]]{{#if:{{{build|}}}|{{#vardefine:notes|true}}{{#tag:ref|[[Engine:{{{1|}}}|{{{1|}}}]] engine build: {{{build|}}}[[{{{1|}}} engine build::{{{build|}}}| ]]{{{ref|}}}|group=Note}}|{{{ref|}}}}}{{#if: {{{1|}}} | | {{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (infobox game)‎]]}}}}</td>
 
<td class="template-infobox-info">[[Uses engine::Engine:{{{1|}}}|{{#formredlink:target=Engine:{{urlencode:{{{1|}}}|WIKI}}|form=Engine page|link text={{{name|{{{1|}}}}}}|existing page link text={{{name|{{{1|}}}}}}}}]]{{#if:{{{build|}}}|{{#vardefine:notes|true}}{{#tag:ref|[[Engine:{{{1|}}}|{{{1|}}}]] engine build: {{{build|}}}[[{{{1|}}} engine build::{{{build|}}}| ]]{{{ref|}}}|group=Note}}|{{{ref|}}}}}{{#if: {{{1|}}} | | {{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (infobox game)‎]]}}}}</td>
 
</tr><!-- hidden properties
 
</tr><!-- hidden properties
-->{{#switch: {{{1|}}}
+
-->{{#switch: {{lc:{{{1|}}}}}
| Unity = {{#vardefine:Unity|true}}
+
| unity = {{#vardefine:Unity|true}}
| ScummVM = [[Wrapper::ScummVM| ]]{{#vardefine:ScummVM|true}}
+
| scummvm = [[Wrapper::ScummVM| ]]{{#vardefine:ScummVM|true}}
 
}}
 
}}

Revision as of 23:03, 20 March 2021