Difference between revisions of "Template:Availability"

From PCGamingWiki, the wiki about fixing PC games
(added initial section vardefine to fix cleanup category naming)
(updated Warnings vardefine)
 
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|true}}}}}}</includeonly><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:48, 14 October 2021

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

See the editing guide for usage instructions.