Difference between revisions of "Template:Tickcross-nr"

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| ]] }}
 
  |unknown  = <div title="Unknown" class="svg-icon svg-25 tickcross-unknown"></div> {{#if: {{{2|}}} | [[{{{2}}}::unknown| ]] }}
  |#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}})}}]] }}
+
  |#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}})}}]] }}
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 23:22, 26 April 2019

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