Difference between revisions of "Template:PortFeatures Features Inforow"

From ScummVM :: Wiki
Jump to navigation Jump to search
(Use the #switch parser function)
(Replace usage of CellGreen with Cell (if it doesn't timeout, CellRed will be next))
Line 1: Line 1:
<includeonly>|[[{{{%PAGE%}}}|{{{name}}}]]
<includeonly>|[[{{{%PAGE%}}}|{{{name}}}]]
|{{#switch:{{{flac|no}}}|yes={{CellGreen|Yes}}|no={{CellRed|No}}}}
|{{#switch:{{{flac|no}}}|yes={{Cell|color=green|text=Yes}}|no={{CellRed|No}}}}
|{{#switch:{{{mp3|no}}}|yes={{CellGreen|Yes}}|no={{CellRed|No}}}}
|{{#switch:{{{mp3|no}}}|yes={{Cell|color=green|text=Yes}}|no={{CellRed|No}}}}
|{{#switch:{{{ogg|no}}}|yes={{CellGreen|Yes}}|no={{CellRed|No}}}}
|{{#switch:{{{ogg|no}}}|yes={{Cell|color=green|text=Yes}}|no={{CellRed|No}}}}
|{{#switch:{{{zlib|no}}}|yes={{CellGreen|Yes}}|no={{CellRed|No}}}}
|{{#switch:{{{zlib|no}}}|yes={{Cell|color=green|text=Yes}}|no={{CellRed|No}}}}
|{{#switch:{{{plugins|no}}}|yes={{CellGreen|Yes}}|no={{CellRed|No}}}}
|{{#switch:{{{plugins|no}}}|yes={{Cell|color=green|text=Yes}}|no={{CellRed|No}}}}
||{{{backend|}}}</includeonly><noinclude>
||{{{backend|}}}</includeonly><noinclude>
This template shows a port's main features in a row.
This template shows a port's main features in a row.

Revision as of 22:53, 22 September 2009

This template shows a port's main features in a row.

Usage

It must be used from a DPL query like this:

include = {PortFeatures} Features Inforow