Difference between revisions of "Template:Tickcross-nohack"
From PCGamingWiki, the wiki about fixing PC games
(updated error tooltip) |
(removed deprecated "yes" and "no" alt names, changed to case-sensitive) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#switch | + | <includeonly>{{#switch:{{{1}}} |
− | |||
|true = <div title="Native support" class="svg-icon svg-25 tickcross-true"></div> {{#if: {{{2|}}} | [[{{{2}}}::true| ]] }} | |true = <div title="Native support" class="svg-icon svg-25 tickcross-true"></div> {{#if: {{{2|}}} | [[{{{2}}}::true| ]] }} | ||
− | |||
|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| ]] }} | ||
|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: 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}}}} | ||
}}</includeonly><noinclude>{{Documentation}}</noinclude> | }}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 04:27, 26 April 2019
Documentation for the above template (sometimes hidden from view).
Visit Template:Tickcross-nohack/Documentation to edit this text. (How does this work?)