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

Difference between revisions of "Template:Availability"

From PCGamingWiki, the wiki about fixing PC games
m (Garrett moved page Development:Availability to Template:Availability without leaving a redirect)
(updated Warnings vardefine)
(23 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="wikitable template-infotable"
+
<includeonly>{{#switch:{{#var:section}}
|-
+
|Infobox game
! scope="col" width="230" | Source
+
|Introduction={{#vardefine:section|Availability}}
! scope="col" width="100" | <abbr title="DRM required to play the game">DRM</abbr>
+
|#Default = [[Category:Invalid section order]]
! scope="col" width="390" | Notes
+
}}<div class="container-pcgwikitable"><table class="pcgwikitable sortable template-infotable" id="table-availability">
! scope="col" width="100" | <abbr title="Optional product keys for other services">Keys</abbr>
+
<tr class="template-infotable-head table-availability-head-row">
|-
+
<th scope="col" style="width: 230px;" class="table-availability-head-source">Source</th>
{{{content|{{{1|}}}}}}
+
<th scope="col" style="width: 60px" class="unsortable table-availability-head-DRM"><abbr title="DRM required to play the game">DRM</abbr></th>
|}<noinclude>{{documentation}}</noinclude>
+
<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: 90px;" class="table-availability-head-OS"><abbr title="Operating system(s)">OS</abbr></th>
 +
</tr>
 +
{{#if:{{{content|}}}{{{1|}}}|{{{content|{{{1}}}}}}|{{#ifeq: {{NAMESPACE}} | |[[Category:Invalid template usage (Availability)]]}}}}
 +
</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>

Revision as of 07:48, 14 October 2021

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

See the editing guide for usage instructions.