Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

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:
<includeonly><tr class="template-infotable-body">
+
{{#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|,|}}{{#arraymap:{{{3|}}}|,|x|[[Category:x]]|&#32;}}|[[Category:Invalid template usage (availability)]]}}</td>
+
<th scope="row" class="table-dlc-body-name">{{{1|}}}</th>
</tr></includeonly>
+
<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>

Latest revision as of 13:32, 24 July 2020

Error: OS not found in infobox