Difference between revisions of "Template:Availability"
From PCGamingWiki, the wiki about fixing PC games
(added previous section validity check (ensures templates are being used in the correct order on game pages)) |
m (added unsortable to first column) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{#var:section}} | <includeonly>{{#switch:{{#var:section}} | ||
|Infobox game | |Infobox game | ||
− | |Introduction= | + | |Introduction={{#vardefine:section|Availability}} |
− | |#Default = [[Category:Invalid section order]] | + | |#Default = {{#ifeq:{{NAMESPACE}}||[[Category:Invalid section order]]}} |
}}<div class="container-pcgwikitable"><table class="pcgwikitable sortable template-infotable" id="table-availability"> | }}<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="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> | ||
Line 12: | Line 12: | ||
</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>{{#vardefine:section|Availability/done}}{{#if:{{#var:SafeDisc}}{{#var:StarForce incompatible}}|{{Availability/warnings}}{{#if:{{#var:digital}}||{{#vardefine:Warnings| | + | </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.
Visit Template:Availability/Documentation to edit this text. (How does this work?)