Difference between revisions of "Template:DLC/row"
From PCGamingWiki, the wiki about fixing PC games
(fixed category name) |
(added visible error state for empty OS, added category namespace check) |
||
Line 2: | Line 2: | ||
<th scope="row" class="table-dlc-body-name">{{{1|}}}</th> | <th scope="row" class="table-dlc-body-name">{{{1|}}}</th> | ||
<td class="table-dlc-body-notes">{{{2|}}}</td> | <td class="table-dlc-body-notes">{{{2|}}}</td> | ||
− | <td class="table-dlc-body-OS">{{#if:{{{3|}}}|{{#arraymaptemplate:{{{3|}}}|Availability/OS|,|}}|[[Category:Invalid template usage (DLC)]]}}</td> | + | <td class="table-dlc-body-OS">{{#if:{{{3|}}}|{{#arraymaptemplate:{{{3|}}}|Availability/OS|,|}}|<div class="svg-icon svg-25 os-error">[[File:Icon overlay.png|link=|Error: OS '{{{3|}}}' not found in infobox]]</div>{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (DLC)]]}}}}</td> |
</tr></includeonly> | </tr></includeonly> |