Open main menu

Difference between revisions of "Template:PortFeatures Features Inforow"

Replace usage of CellGreen with Cell (if it doesn't timeout, CellRed will be next)
(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.
960

edits