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> |