Difference between revisions of "Template:Availability/row"
From PCGamingWiki, the wiki about fixing PC games
m (added per cell CSS classes for more in-depth styling) |
m (removed the changes I apparently made on the 7th, forcing some field to be center-aligned. Don't even remember doing them, although I know _why_ they were made. The styling is later added to the new CSS classes instead) |
||
Line 1: | Line 1: | ||
<includeonly><tr class="template-infotable-body table-availability-body-row"> | <includeonly><tr class="template-infotable-body table-availability-body-row"> | ||
<th scope="row" class="table-availability-body-source">{{Availability/switch|{{{1|}}}|link={{{2|}}}}}</th> | <th scope="row" class="table-availability-body-source">{{Availability/switch|{{{1|}}}|link={{{2|}}}}}</th> | ||
− | <td | + | <td class="table-availability-body-DRM">{{#if: {{{3}}}|{{#arraymap:{{{3|}}}|,|x|{{Availability/DRM|x|{{#switch: {{lc:{{{1|}}}}} |
|amazon | |amazon | ||
|amazon.com = Amazon | |amazon.com = Amazon | ||
Line 20: | Line 20: | ||
}}}}|}}|{{Availability/DRM}}}}</td> | }}}}|}}|{{Availability/DRM}}}}</td> | ||
<td class="table-availability-body-notes">{{{4|}}}</td> | <td class="table-availability-body-notes">{{{4|}}}</td> | ||
− | <td | + | <td class="table-availability-body-keys">{{#if: {{{5}}}|{{#arraymap:{{{5|}}}|,|x|{{Availability/keys|x|{{{1|}}}}}|}}}}</td> |
− | <td | + | <td class="table-availability-body-OS" data-sort-value="{{{6|}}}">{{#if:{{{6|}}}|{{#arraymap:{{{6|}}}|,|x|{{Availability/OS|x|{{{1|}}}}}|}}|{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (availability)]]}}}}</td> |
</tr> | </tr> | ||
</includeonly> | </includeonly> |