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

Difference between revisions of "Development:Availability/row"

From PCGamingWiki, the wiki about fixing PC games
(added previous section validity check)
(Undo revision 1080767 by Garrett (talk)--moved to parent)
Tag: Undo
Line 1: Line 1:
<includeonly>{{#switch:{{#var:section}}
+
<includeonly><tr class="template-infotable-body table-availability-body-row" style="{{#ifeq: {{lc:{{{7|}}}}} | unavailable | opacity: 70%; {{#vardefine:store unavailable|true}} }}">
|Infobox game
 
|Introduction
 
|Availability={{#vardefine:section|Availability}}
 
|#Default = [[Category:Incorrect section order]]
 
}}<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-}}{{#ifeq:{{lc:{{{1|}}}}}|retail|aaa-}}{{{1|}}}">{{Availability/store|{{{1|}}}|link={{{2|}}}}}{{#ifeq:{{lc:{{{1|}}}}}|retail||{{#vardefine:digital|true}}}} {{#if: {{#var:store unavailable}} | ({{Abbr|''unavailable''|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.}})}}</th>
 
<th scope="row" class="table-availability-body-source" data-sort-value="{{#if:{{#var:store unavailable}}|zzz-unavailable-}}{{#ifeq:{{lc:{{{1|}}}}}|retail|aaa-}}{{{1|}}}">{{Availability/store|{{{1|}}}|link={{{2|}}}}}{{#ifeq:{{lc:{{{1|}}}}}|retail||{{#vardefine:digital|true}}}} {{#if: {{#var:store unavailable}} | ({{Abbr|''unavailable''|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.}})}}</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 10:16, 26 August 2021