Open main menu

Difference between revisions of "Template:Cell Port Engine"

Undo revision 13479 (It seems ShowFeature is too unefficient)
(Try to handle the first word as the status and show the rest as is)
(Undo revision 13479 (It seems ShowFeature is too unefficient))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Cell|color={{#switch:{{#explode:{{{1}}}| }}|
<includeonly>{{Cell|
yes=green|
color={{Map|keys=yes#no#wip|values=green#red#gray|key={{#explode:{{{1}}}| }}}}|
no=red|
text={{#switch:{{#explode:{{{1}}}| }}|
wip=gray}}|text={{#switch:{{#explode:{{{1}}}| }}|
yes={{#ifeq:{{{1}}}|yes|Yes|{{#sub:{{{1}}}|{{#pos:{{{1}}}| }}|0}}}}|
yes={{#ifeq:{{{1}}}|yes|Yes|{{#sub:{{{1}}}|{{#pos:{{{1}}}| }}|0}}}}|
no={{#ifeq:{{{1}}}|no|No|{{#sub:{{{1}}}|{{#pos:{{{1}}}| }}|0}}}}|
no={{#ifeq:{{{1}}}|no|No|{{#sub:{{{1}}}|{{#pos:{{{1}}}| }}|0}}}}|
960

edits