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 data-sort-value)
m (minor change)
Line 1: Line 1:
 
<includeonly><tr class="template-infotable-body table-availability-body-row" style="{{#ifeq: {{lc:{{{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" data-sort-value="{{#if:{{#var:store unavailable}}|zzz-unavailable-}}{{{2|}}}">{{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" data-sort-value="{{#if:{{#var:store unavailable}}|zzz-unavailable-{{{2|}}}|{{{2|}}}}}">{{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>
 
<td class="table-availability-body-notes">{{{4|}}}</td>
 
<td class="table-availability-body-notes">{{{4|}}}</td>

Revision as of 21:14, 4 August 2020