Difference between revisions of "Template:Availability/row"
From PCGamingWiki, the wiki about fixing PC games
m (rephrased unavailable tooltip to: "Although the product is or has been listed on this source, it is currently not available for purchase. The row is retained for historical reference.") |
(added section presence vardefine (used in Template:Absent properties to detect pages with no availability rows)) |
||
Line 5: | Line 5: | ||
<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 parameter cannot be empty]]</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>{{#vardefine:store unavailable|}} | + | </tr>{{#vardefine:store unavailable|}}{{#vardefine:Availability|present}} |
</includeonly> | </includeonly> |