960
edits
m (Add a style for wip engines) |
(Adapt the template to receive the status directly, instead of the port and engine names) |
||
Line 1: | Line 1: | ||
<includeonly>{{Switch| | <includeonly>{{Switch| | ||
switch={{ { | switch={{{1}}}| | ||
yes={{Cell|color=green|text=Yes}}| | yes={{Cell|color=green|text=Yes}}| | ||
no={{Cell|color=red|text=No}}| | no={{Cell|color=red|text=No}}| | ||
wip={{Cell|color=gray|text=WIP}}| | wip={{Cell|color=gray|text=WIP}}| | ||
default={{Cell|text={{ { | default={{Cell|text={{{1}}}}} | ||
}}</includeonly><noinclude> | }}</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= | ||
<nowiki>{{</nowiki>Cell Port Engine| | <nowiki>{{</nowiki>Cell Port Engine|''status''<nowiki>}}</nowiki> | ||
Status can be: | |||
* '''yes''' | |||
* '''no''' | |||
* '''wip''' | |||
* everything else will be shown as is | |||
[[Category:Information templates]]</noinclude> | [[Category:Information templates]]</noinclude> |
edits