Open main menu

Difference between revisions of "Template:PortFeatures Features Inforow"

Use the #switch parser function
(Beautify the usage line)
(Use the #switch parser function)
Line 1: Line 1:
<includeonly>|[[{{{%PAGE%}}}|{{{name}}}]]
<includeonly>|[[{{{%PAGE%}}}|{{{name}}}]]
|{{Switch|switch={{{flac}}}|yes={{CellGreen|Yes}}|no={{CellRed|No}}}}
|{{#switch:{{{flac|no}}}|yes={{CellGreen|Yes}}|no={{CellRed|No}}}}
|{{Switch|switch={{{mp3}}}|yes={{CellGreen|Yes}}|no={{CellRed|No}}}}
|{{#switch:{{{mp3|no}}}|yes={{CellGreen|Yes}}|no={{CellRed|No}}}}
|{{Switch|switch={{{ogg}}}|yes={{CellGreen|Yes}}|no={{CellRed|No}}}}
|{{#switch:{{{ogg|no}}}|yes={{CellGreen|Yes}}|no={{CellRed|No}}}}
|{{Switch|switch={{{zlib}}}|yes={{CellGreen|Yes}}|no={{CellRed|No}}}}
|{{#switch:{{{zlib|no}}}|yes={{CellGreen|Yes}}|no={{CellRed|No}}}}
|{{Switch|switch={{{plugins}}}|yes={{CellGreen|Yes}}|no={{CellRed|No}}}}
|{{#switch:{{{plugins|no}}}|yes={{CellGreen|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.
=Usage=
=Usage=
960

edits