Difference between revisions of "Template:Special K/compatibility/switch"

From PCGamingWiki, the wiki about fixing PC games
(created)
 
m (added data-sort-value)
 
Line 1: Line 1:
{{#switch: {{lc:{{{1|}}}}}
+
<td {{#switch: {{lc:{{{1|}}}}}
| perfect            = <span style="color: #10ab00; font-weight: bold">Perfect</span>
+
| perfect            = data-sort-value="1"><span style="color: #10ab00; font-weight: bold">Perfect</span>
| good              = <span style="color: #bdc62f; font-weight: bold">Good</span>
+
| good              = data-sort-value="2"><span style="color: #bdc62f; font-weight: bold">Good</span>
| major issues      = <span style="color: #bc7100; font-weight: bold">Major Issues</span>
+
| major issues      = data-sort-value="3"><span style="color: #bc7100; font-weight: bold">Major Issues</span>
| crash              = <span style="color: #7c1600; font-weight: bold">Crash</span>
+
| crash              = data-sort-value="4"><span style="color: #7c1600; font-weight: bold">Crash</span>
| blocked            = <span style="color: #814600; font-weight: bold">Blocked</span>
+
| blocked            = data-sort-value="5"><span style="color: #814600; font-weight: bold">Blocked</span>
| caution            = <span style="color: #ff0000; font-weight: bold">Caution</span>  
+
| caution            = data-sort-value="6"><span style="color: #ff0000; font-weight: bold">Caution</span>  
| banned            = <span style="color: #ff0000; font-weight: bold">Banned</span>
+
| banned            = data-sort-value="7"><span style="color: #ff0000; font-weight: bold">Banned</span>
| #default          = <div title="Error: '{{{1|}}}' not recognized" class="svg-icon svg-16 os-error"></div>
+
| #default          = data-sort-value="0"><div title="Error: '{{{1|}}}' not recognized" class="svg-icon svg-16 os-error"></div>
}}
+
}}</td>

Latest revision as of 09:46, 18 January 2021