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


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Template:Tickcross"

From PCGamingWiki, the wiki about fixing PC games
(removed deprecated "yes" and "no" alt names, changed to case-sensitive)
(reworded error to name supported values)
Line 5: Line 5:
 
  |hackable = {{#if: {{{2|}}} | [[{{{2}}}::hackable| ]]{{#if:{{{3|}}}|<div title="Hackable" class="svg-icon svg-25 tickcross-hackable"></div>|<div title="Error: Note required for hackable" class="svg-icon svg-25 tickcross-hackable-error"></div>{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage {{#if:{{#var:section}}|({{#var:section}})}}]] }}}} |<div title="Hackable" class="svg-icon svg-25 tickcross-hackable"></div>}}
 
  |hackable = {{#if: {{{2|}}} | [[{{{2}}}::hackable| ]]{{#if:{{{3|}}}|<div title="Hackable" class="svg-icon svg-25 tickcross-hackable"></div>|<div title="Error: Note required for hackable" class="svg-icon svg-25 tickcross-hackable-error"></div>{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage {{#if:{{#var:section}}|({{#var:section}})}}]] }}}} |<div title="Hackable" class="svg-icon svg-25 tickcross-hackable"></div>}}
 
  |unknown  = <div title="Unknown" class="svg-icon svg-25 tickcross-unknown"></div> {{#if: {{{2|}}} | [[{{{2}}}::unknown| ]] }}{{#vardefine:tickcross unknown|{{#expr:{{#var:tickcross unknown}}+1}}}}
 
  |unknown  = <div title="Unknown" class="svg-icon svg-25 tickcross-unknown"></div> {{#if: {{{2|}}} | [[{{{2}}}::unknown| ]] }}{{#vardefine:tickcross unknown|{{#expr:{{#var:tickcross unknown}}+1}}}}
  |#default = <div title="Error: Value '{{{1|}}}' not supported for this setting" class="svg-icon svg-25 tickcross-error"></div>{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage {{#if:{{#var:section}}|({{#var:section}})}}]] }}{{#vardefine:tickcross unknown|{{#expr:{{#var:tickcross unknown}}+1}}}}
+
  |#default = <div title="Error: '{{{1|}}}' not recognised. Supported values for this setting (case sensitive): limited, true, false, hackable, unknown" class="svg-icon svg-25 tickcross-error"></div>{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage {{#if:{{#var:section}}|({{#var:section}})}}]] }}{{#vardefine:tickcross unknown|{{#expr:{{#var:tickcross unknown}}+1}}}}
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 23:19, 26 April 2019

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

This template is used within the settings templates to show an icon stating the presence of certain features or settings.

Arguments
  • 1 - Can only be one of the following: true, limited, false, hackable, unknown;
Syntax

{{Tickcross|1}}