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:Availability/row"

From PCGamingWiki, the wiki about fixing PC games
(added OS category check)
(added better check for empty DRM ID)
Line 1: Line 1:
 
<includeonly><tr class="template-infotable-body">
 
<includeonly><tr class="template-infotable-body">
 
<th scope="row">{{Availability/switch|{{{1|}}}|link={{{2|}}}}}</th>
 
<th scope="row">{{Availability/switch|{{{1|}}}|link={{{2|}}}}}</th>
<td>{{#arraymaptemplate:{{{drm|{{{3}}}}}}|ID|,|}}</td>
+
<td>{{#arraymaptemplate:{{{drm|{{{3}}}}}}|ID|,|}}{{#if: {{{3}}} || [[Category:Invalid template usage (availability)]] }}</td>
 
<td>{{{4|}}}</td>
 
<td>{{{4|}}}</td>
 
<td>{{#if:{{{keys|{{{5|}}}}}}|{{#arraymaptemplate:{{{keys|{{{5}}}}}}|ID|,|}}}}</td>
 
<td>{{#if:{{{keys|{{{5|}}}}}}|{{#arraymaptemplate:{{{keys|{{{5}}}}}}|ID|,|}}}}</td>

Revision as of 01:46, 20 January 2017