Difference between revisions of "Template:PortFeatures Features Inforow"

From ScummVM :: Wiki
Jump to navigation Jump to search
m (Fix the rows where the port has no icon)
m (First test of the KeyedCell template)
Line 1: Line 1:
<includeonly>|{{PortIcon|{{{icon|}}}}} [[{{{%PAGE%}}}|{{{name}}}]]
<includeonly>|{{PortIcon|{{{icon|}}}}} [[{{{%PAGE%}}}|{{{name}}}]]
{{#switch:{{{flac|no}}}|yes={{Cell|color=green|text=Yes}}|no={{Cell|color=red|text=No}}}}
{{KeyedCell|keys=yes#no|colors=green#red|texts=Yes#No|value={{{flac|no}}}}}
{{#switch:{{{mp3|no}}}|yes={{Cell|color=green|text=Yes}}|no={{Cell|color=red|text=No}}}}
{{#switch:{{{mp3|no}}}|yes={{Cell|color=green|text=Yes}}|no={{Cell|color=red|text=No}}}}
{{#switch:{{{ogg|no}}}|yes={{Cell|color=green|text=Yes}}|no={{Cell|color=red|text=No}}}}
{{#switch:{{{ogg|no}}}|yes={{Cell|color=green|text=Yes}}|no={{Cell|color=red|text=No}}}}

Revision as of 23:57, 12 April 2010

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