Difference between revisions of "Template:Cell Port Engine"

From ScummVM :: Wiki
Jump to navigation Jump to search
m (Use just the first word as the color key)
(Use the new ShowFeature template to simplify this template)
Line 1: Line 1:
 
<includeonly>{{Cell|
 
<includeonly>{{Cell|
 
color={{Map|keys=yes#no#wip|values=green#red#gray|key={{#explode:{{{1}}}| }}}}|
 
color={{Map|keys=yes#no#wip|values=green#red#gray|key={{#explode:{{{1}}}| }}}}|
text={{#switch:{{#explode:{{{1}}}| }}|
+
text={{ShowFeature|keys=yes#no#wip|values=Yes#No#WIP|value={{{1}}}}}
yes={{#ifeq:{{{1}}}|yes|Yes|{{#sub:{{{1}}}|{{#pos:{{{1}}}| }}|0}}}}|
+
}}</includeonly><noinclude>
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=

Revision as of 14:13, 8 April 2010

This template shows whether a given engine is supported in a port.

Usage

{{Cell Port Engine|status}}

Status can be:

  • yes
  • no
  • wip
  • everything else will be shown as is