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
(updated Warnings vardefine)
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div class="container-pcgwikitable"><table class="pcgwikitable sortable template-infotable" id="table-availability">
+
<includeonly>{{#switch:{{#var:section}}
<tr class="template-infotable-head">
+
|Infobox game
<th scope="col" style="width: 230px;">Source</th>
+
|Introduction={{#vardefine:section|Availability}}
<th scope="col" style="width: 60px;" class="unsortable"><abbr title="DRM required to play the game">DRM</abbr></th>
+
|#Default = [[Category:Invalid section order]]
<th scope="col" style="width: 350px;" class="unsortable">Notes</th>
+
}}<div class="container-pcgwikitable"><table class="pcgwikitable sortable template-infotable" id="table-availability">
<th scope="col" style="width: 90px;" class="unsortable"><abbr title="Optional product keys for other services">Keys</abbr></th>
+
<tr class="template-infotable-head table-availability-head-row">
<th scope="col" style="width: 90px;">OS</th>
+
<th scope="col" style="width: 230px;" class="table-availability-head-source">Source</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: 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>
 
</tr>
{{{content|{{{1}}}}}}
+
{{#if:{{{content|}}}{{{1|}}}|{{{content|{{{1}}}}}}|{{#ifeq: {{NAMESPACE}} | |[[Category:Invalid template usage (Availability)]]}}}}
</table></div><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>

Revision as of 07:48, 14 October 2021

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

See the editing guide for usage instructions.