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
m (arraymap end fix)
(migrated DRM, OS, and key to separate templates to catch invalid uses)
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|,|}}{{#if: {{{3}}} || [[Category:Invalid template usage (availability)]] }}</td>
+
<td>{{#if: {{{3}}} |{{#arraymaptemplate:{{{3}}}|Availability/DRM|,|}}|{{Availability/DRM}}}}</td>
 
<td>{{{4|}}}</td>
 
<td>{{{4|}}}</td>
<td>{{#if:{{{keys|{{{5|}}}}}}|{{#arraymaptemplate:{{{keys|{{{5}}}}}}|ID|,|}}}}</td>
+
<td>{{#if:{{{5|}}}|{{#arraymaptemplate:{{{5}}}|Availability/keys|,|}}}}</td>
<td data-sort-value="{{{6|}}}">{{#if:{{{6|}}}|{{#arraymaptemplate:{{{6|}}}|OS|,|}}{{#ifeq: {{NAMESPACE}} | | {{#arraymap:{{{6|}}}|,|x|[[Category:x]]|&#32;}}}}|[[Category:Invalid template usage (availability)]]}}</td>
+
<td data-sort-value="{{{6|}}}">{{#if:{{{6|}}}|{{#arraymaptemplate:{{{6|}}}|Availability/OS|,|}}|{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (availability)]]}}}}</td>
 
</tr>
 
</tr>
 
</includeonly>
 
</includeonly>

Revision as of 07:50, 5 November 2017