Difference between revisions of "Template:Cell Port Engine"

Jump to navigation Jump to search
Undo revision 13479 (It seems ShowFeature is too unefficient)
(Adapt the template to receive the status directly, instead of the port and engine names)
(Undo revision 13479 (It seems ShowFeature is too unefficient))
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Switch|
<includeonly>{{Cell|
switch={{{1}}}|
color={{Map|keys=yes#no#wip|values=green#red#gray|key={{#explode:{{{1}}}| }}}}|
yes={{Cell|color=green|text=Yes}}|
text={{#switch:{{#explode:{{{1}}}| }}|
no={{Cell|color=red|text=No}}|
yes={{#ifeq:{{{1}}}|yes|Yes|{{#sub:{{{1}}}|{{#pos:{{{1}}}| }}|0}}}}|
wip={{Cell|color=gray|text=WIP}}|
no={{#ifeq:{{{1}}}|no|No|{{#sub:{{{1}}}|{{#pos:{{{1}}}| }}|0}}}}|
default={{Cell|text={{{1}}}}}
wip={{#ifeq:{{{1}}}|wip|WIP|{{#sub:{{{1}}}|{{#pos:{{{1}}}| }}|0}}}}|
}}</includeonly><noinclude>
#default={{{1}}}}}}}</includeonly><noinclude>
This template shows whether a given engine is supported in a port.
This template shows whether a given engine is supported in a port.
=Usage=
=Usage=
960

edits

Navigation menu