Difference between revisions of "Template:DLC/row"
From PCGamingWiki, the wiki about fixing PC games
(added OS category check) |
(promote latest dev to public -- adds auto-collapse functionality) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | < | + | {{#vardefine:dlcs total|{{#expr:{{#var:dlcs total|0}}+1}}}}<!-- |
− | <th scope="row">{{{1|}}}</th> | + | --> |
− | <td>{{{2|}}}</td> | + | <tr class="template-infotable-body table-dlc-body-row">{{#vardefine:DLC|present}} |
− | <td>{{#if:{{{3|}}}|{{#arraymaptemplate:{{{3|}}}|OS|,|}} | + | <th scope="row" class="table-dlc-body-name">{{{1|}}}</th> |
− | </tr | + | <td class="table-dlc-body-notes">{{{2|}}}</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><includeonly>{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (DLC)]] }}</includeonly>}}</td> | ||
+ | </tr> |