Difference between revisions of "Template:Tickcross-nr"

From PCGamingWiki, the wiki about fixing PC games
(new variant)
 
(added error states)
Line 5: Line 5:
 
  |no
 
  |no
 
  |false    = <div title="No native support" class="svg-icon svg-25 tickcross-false"></div> {{#if: {{{2|}}} |  [[{{{2}}}::false| ]] }}
 
  |false    = <div title="No native support" class="svg-icon svg-25 tickcross-false"></div> {{#if: {{{2|}}} |  [[{{{2}}}::false| ]] }}
  |hackable = <div title="Hackable" class="svg-icon svg-25 tickcross-hackable"></div> {{#if: {{{2|}}} | [[{{{2}}}::hackable| ]] }}
+
  |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 = {{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage {{#if:{{#var:section}}|({{#var:section}})}}]] }}
+
  |#default = <div title="Error: Value not supported for this setting" 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 03:41, 5 April 2019

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