Difference between revisions of "Template:PortFeatures Features Inforow"

From ScummVM :: Wiki
Jump to navigation Jump to search
m (Center the backend)
(Try to use KeyedCell for all columns now that engines and features are split in two pages)
Line 1: Line 1:
 
<includeonly>|{{PortIcon|{{{icon|}}}}} [[{{{%PAGE%}}}|{{{name}}}]]
 
<includeonly>|{{PortIcon|{{{icon|}}}}} [[{{{%PAGE%}}}|{{{name}}}]]
 
{{Cell|text={{{backend|}}}}}
 
{{Cell|text={{{backend|}}}}}
{{#switch:{{{mp3|no}}}|yes={{Cell|color=green|text=Yes}}|no={{Cell|color=red|text=No}}}}
+
{{KeyedCell|keys=yes#no|colors=green#red|texts=Yes#No|value={{{mp3|no}}}}}
 
{{KeyedCell|keys=yes#no|colors=green#red|texts=Yes#No|value={{{ogg|no}}}}}
 
{{KeyedCell|keys=yes#no|colors=green#red|texts=Yes#No|value={{{ogg|no}}}}}
{{#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:{{{zlib|no}}}|yes={{Cell|color=green|text=Yes}}|no={{Cell|color=red|text=No}}}}
+
{{KeyedCell|keys=yes#no|colors=green#red|texts=Yes#No|value={{{zlib|no}}}}}
{{#switch:{{{plugins|no}}}|yes={{Cell|color=green|text=Yes}}|no={{Cell|color=red|text=No}}}}
+
{{KeyedCell|keys=yes#no|colors=green#red|texts=Yes#No|value={{{plugins|no}}}}}
 
||{{{notes|}}}</includeonly><noinclude>
 
||{{{notes|}}}</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 21:35, 6 May 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