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 section presence vardefine (used in Template:Absent properties to detect pages with no availability rows))
(set store property clear here)
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|}}{{#vardefine:Availability|present}}
+
</tr>{{#vardefine:store unavailable|}}{{#vardefine:Availability|present}}{{#vardefine:store property value|}}
 
</includeonly>
 
</includeonly>

Revision as of 09:19, 21 September 2021