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
m (change to allow DRM column to eat into OS column if possible)
m (added unsortable to first column)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="container-pcgwikitable"><table class="pcgwikitable sortable template-infotable" id="table-availability">{{#vardefine:section|Availability}}
+
<includeonly>{{#switch:{{#var:section}}
 +
|Infobox game
 +
|Introduction={{#vardefine:section|Availability}}
 +
|#Default = {{#ifeq:{{NAMESPACE}}||[[Category:Invalid section order]]}}
 +
}}<div class="container-pcgwikitable"><table class="pcgwikitable sortable template-infotable" id="table-availability">
 
<tr class="template-infotable-head table-availability-head-row">
 
<tr class="template-infotable-head table-availability-head-row">
<th scope="col" style="width: 230px;" class="table-availability-head-source">Source</th>
+
<th scope="col" style="width: 230px;" class="table-availability-head-source unsortable">Source</th>
<th scope="col" style="min-width: 60px" 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="width: 390px;" 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="width: 50px;" 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="max-width: 90px;" 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}}}}}}|{{#ifeq: {{NAMESPACE}} | |[[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>{{#vardefine:section|Availability/done}}{{#if:{{#var:SafeDisc}}{{#var:StarForce incompatible}}|{{Availability/warnings}}{{#if:{{#var:digital}}||{{#if:{{#var:SafeDisc}}|{{#vardefine:Warnings|{{#if:{{#var:Warnings}}|{{#var:Warnings}},SafeDisc|SafeDisc}}}}}}{{#if:{{#var:StarForce incompatible}}|{{#vardefine:Warnings|{{#if:{{#var:Warnings}}|{{#var:Warnings}},StarForce|StarForce}}}}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 07:07, 7 September 2022

Documentation for the above template (sometimes hidden from view).

See the editing guide for usage instructions.