Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Difference between revisions of "Template:Availability/row"

From PCGamingWiki, the wiki about fixing PC games
m (added handling unavailable states of a release)
m (lowercase)
Line 1: Line 1:
<includeonly><tr class="template-infotable-body table-availability-body-row" style="{{#ifeq: {{{7|}}} | unavailable | opacity: 70%; {{#vardefine:store unavailable|true}} }}">
+
<includeonly><tr class="template-infotable-body table-availability-body-row" style="{{#ifeq: {{lc:{{{7|}}}}} | unavailable | opacity: 70%; {{#vardefine:store unavailable|true}} }}">
 
<th scope="row" class="table-availability-body-source">{{Availability/store|{{{1|}}}|link={{{2|}}}}}{{#ifeq:{{lc:{{{1|}}}}}|retail||{{#vardefine:digital|true}}}} {{#if: {{#var:store unavailable}} | ({{Abbr|''unavailable''|The product is unavailable for purchase on this platform, but the row is retained for historical reference.}})}}</th>
 
<th scope="row" class="table-availability-body-source">{{Availability/store|{{{1|}}}|link={{{2|}}}}}{{#ifeq:{{lc:{{{1|}}}}}|retail||{{#vardefine:digital|true}}}} {{#if: {{#var:store unavailable}} | ({{Abbr|''unavailable''|The product is unavailable for purchase on this platform, but the row is retained for historical reference.}})}}</th>
 
<td class="table-availability-body-DRM">{{#if: {{{3}}} |{{#arraymaptemplate:{{{3}}}|Availability/DRM|,|}}|{{Availability/DRM}}}}</td>
 
<td class="table-availability-body-DRM">{{#if: {{{3}}} |{{#arraymaptemplate:{{{3}}}|Availability/DRM|,|}}|{{Availability/DRM}}}}</td>

Revision as of 15:09, 30 July 2020