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
m (z)
m (added text-align: center; for DRM, Keys, and OS to be used alongside tests of left-aligned tables)
Line 1: Line 1:
 
<includeonly><tr class="template-infotable-body">
 
<includeonly><tr class="template-infotable-body">
 
<th scope="row">{{Availability/switch|{{{1|}}}|link={{{2|}}}}}</th>
 
<th scope="row">{{Availability/switch|{{{1|}}}|link={{{2|}}}}}</th>
<td>{{#if: {{{3}}}|{{#arraymap:{{{3|}}}|,|x|{{Availability/DRM|x|{{#switch: {{lc:{{{1|}}}}}
+
<td style="text-align: center;">{{#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>{{{4|}}}</td>
 
<td>{{{4|}}}</td>
<td>{{#if: {{{5}}}|{{#arraymap:{{{5|}}}|,|x|{{Availability/keys|x|{{{1|}}}}}|}}}}</td>
+
<td style="text-align: center;">{{#if: {{{5}}}|{{#arraymap:{{{5|}}}|,|x|{{Availability/keys|x|{{{1|}}}}}|}}}}</td>
<td data-sort-value="{{{6|}}}">{{#if:{{{6|}}}|{{#arraymap:{{{6|}}}|,|x|{{Availability/OS|x|{{{1|}}}}}|}}|{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (availability)]]}}}}</td>
+
<td style="text-align: center;" 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>

Revision as of 23:22, 6 March 2019