Difference between revisions of "Template:Availability/row"

From PCGamingWiki, the wiki about fixing PC games
(fixed store var clear position)
m (updated error message to be more descriptive when OS parameter is left empty)
 
Line 4: Line 4:
 
<td class="table-availability-body-notes">{{{4|}}}</td>
 
<td class="table-availability-body-notes">{{{4|}}}</td>
 
<td class="table-availability-body-keys">{{#if:{{{5}}}|{{#arraymaptemplate:{{{5}}}|Availability/keys|,|}}}}</td>
 
<td class="table-availability-body-keys">{{#if:{{{5}}}|{{#arraymaptemplate:{{{5}}}|Availability/keys|,|}}}}</td>
<td class="table-availability-body-OS" data-sort-value="{{{6|}}}">{{#if:{{{6|}}}|{{#arraymaptemplate:{{{6|}}}|Availability/OS|,|}}|<div class="svg-icon svg-25 os-error">[[File:Icon overlay.png|link=|Error: OS '{{{6|}}}' not found in infobox]]</div>{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (Availability)]]}}}}{{#vardefine:store|}}</td>
+
<td class="table-availability-body-OS" data-sort-value="{{{6|}}}">{{#if:{{{6|}}}|{{#arraymaptemplate:{{{6|}}}|Availability/OS|,|}}|<div class="svg-icon svg-25 os-error">[[File:Icon overlay.png|link=|Error: OS parameter cannot be empty]]</div>{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (Availability)]]}}}}{{#vardefine:store|}}</td>
 
</tr>
 
</tr>
 
</includeonly>
 
</includeonly>

Latest revision as of 01:38, 29 March 2020