Difference between revisions of "Template:Cell Port Engine"

Jump to navigation Jump to search
Try to handle the first word as the status and show the rest as is
m (Fix the syntax for the default option)
(Try to handle the first word as the status and show the rest as is)
Line 1: Line 1:
<includeonly>{{#switch:{{{1}}}|
<includeonly>{{Cell|color={{#switch:{{#explode:{{{1}}}| }}|
yes={{Cell|color=green|text=Yes}}|
yes=green|
no={{Cell|color=red|text=No}}|
no=red|
wip={{Cell|color=gray|text=WIP}}|
wip=gray}}|text={{#switch:{{#explode:{{{1}}}| }}|
{{Cell|text={{{1}}}}}}}</includeonly><noinclude>
yes={{#ifeq:{{{1}}}|yes|Yes|{{#sub:{{{1}}}|{{#pos:{{{1}}}| }}|0}}}}|
no={{#ifeq:{{{1}}}|no|No|{{#sub:{{{1}}}|{{#pos:{{{1}}}| }}|0}}}}|
wip={{#ifeq:{{{1}}}|wip|WIP|{{#sub:{{{1}}}|{{#pos:{{{1}}}| }}|0}}}}|
#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