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"

From PCGamingWiki, the wiki about fixing PC games
(fixed warnings display consistency)
(Experiement - moving in-content ad into this template, floating on the right)
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="container-pcgwikitable"><table class="pcgwikitable sortable template-infotable" id="table-availability" style="width: 820px;">
+
{{#widget:Advertisement-1}}<div class="container-pcgwikitable"><table class="pcgwikitable sortable template-infotable" id="table-availability">{{#vardefine:section|Availability}}
 
<tr class="template-infotable-head table-availability-head-row">
 
<tr class="template-infotable-head table-availability-head-row">
<th scope="col" style="min-width: 200px; max-width: 230px;" class="table-availability-head-source">Source</th>
+
<th scope="col" style="width: 230px;" class="table-availability-head-source">Source</th>
<th scope="col" style="min-width: 60px; max-width: 90px" class="unsortable table-availability-head-DRM"><abbr title="DRM required to play the game">DRM</abbr></th>
+
<th scope="col" style="width: 60px" class="unsortable table-availability-head-DRM"><abbr title="DRM required to play the game">DRM</abbr></th>
<th scope="col" style="min-width: 350px; max-width: 400px;" class="unsortable table-availability-head-notes">Notes</th>
+
<th scope="col" style="width: 390px;" class="unsortable table-availability-head-notes">Notes</th>
<th scope="col" style="min-width: 60px; max-width: 90px;" class="unsortable table-availability-head-keys"><abbr title="Optional product keys for other services">Keys</abbr></th>
+
<th scope="col" style="width: 50px;" class="unsortable table-availability-head-keys"><abbr title="Optional product keys for other services">Keys</abbr></th>
<th scope="col" style="min-width: 90px; max-width: 110px;" class="table-availability-head-OS"><abbr title="Operating system(s)">OS</abbr></th>
+
<th scope="col" style="width: 90px;" class="table-availability-head-OS"><abbr title="Operating system(s)">OS</abbr></th>
 
</tr>
 
</tr>
{{#if:{{{content|}}}{{{1|}}}|{{{content|{{{1}}}}}}|[[Category:Invalid template usage (availability)]]}}
+
{{#if:{{{content|}}}{{{1|}}}|{{{content|{{{1}}}}}}|{{#ifeq: {{NAMESPACE}} | |[[Category:Invalid template usage (Availability)]]}}}}
 
</table></div>{{#if:{{#var:SafeDisc}}{{#var:StarForce incompatible}}|{{Availability/warnings}}{{#if:{{#var:digital}}||{{#vardefine:Warnings|true}}}}}}<noinclude>{{documentation}}</noinclude>
 
</table></div>{{#if:{{#var:SafeDisc}}{{#var:StarForce incompatible}}|{{Availability/warnings}}{{#if:{{#var:digital}}||{{#vardefine:Warnings|true}}}}}}<noinclude>{{documentation}}</noinclude>

Revision as of 22:43, 1 December 2019

Source DRM Notes Keys OS
Documentation for the above template (sometimes hidden from view).

See the editing guide for usage instructions.