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)) |
(updated Warnings vardefine) |
||
(One intermediate revision by the same user 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 = [[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"> | ||
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> |
Revision as of 07:48, 14 October 2021
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?)