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

From PCGamingWiki, the wiki about fixing PC games
(fixed vardefines for pages using the ! pipe magic word to change the display text (now stores only actual page name))
(removed Semantic MediaWiki property tagging (migrated to Cargo))
 
Line 1: Line 1:
 
<tr>
 
<tr>
 
<td class="template-infobox-type">{{{2|}}}</td>
 
<td class="template-infobox-type">{{{2|}}}</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>
+
<td class="template-infobox-info">[[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|}}}{{{ref|}}}|group=Note}}|{{{ref|}}}}}{{#if: {{{1|}}} | | {{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (infobox game)‎]]}}}}</td>
 
</tr><!-- hidden properties
 
</tr><!-- hidden properties
 
-->{{#switch: {{lc:{{{1|}}}}}
 
-->{{#switch: {{lc:{{{1|}}}}}
 
| unity = {{#vardefine:Unity|true}}
 
| unity = {{#vardefine:Unity|true}}
| scummvm = [[Wrapper::ScummVM| ]]{{#vardefine:ScummVM|true}}
+
| scummvm = {{#vardefine:ScummVM|true}}
 
}}{{#arraymap:{{{1|}}}|{{!}}|€€€€€|{{#if:{{#var:current}}||{{#vardefine:engines|{{#if:{{#var:engines}}|{{#var:engines}},Engine:€€€€€|Engine:€€€€€}}}}{{#vardefine:current|true}}}}}}{{#vardefine:current|}}
 
}}{{#arraymap:{{{1|}}}|{{!}}|€€€€€|{{#if:{{#var:current}}||{{#vardefine:engines|{{#if:{{#var:engines}}|{{#var:engines}},Engine:€€€€€|Engine:€€€€€}}}}{{#vardefine:current|true}}}}}}{{#vardefine:current|}}

Latest revision as of 07:16, 3 October 2021

[[Engine:|Engine:]]