Difference between revisions of "Template:Tickcross-nohack"
From PCGamingWiki, the wiki about fixing PC games
(removed old PCGWR method) |
(removed deprecated third parameter, added var support) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{lc:{{{1}}}}} | <includeonly>{{#switch:{{lc:{{{1}}}}} | ||
|yes | |yes | ||
− | |true = <div title=" | + | |true = <div title="Native support" class="svg-icon svg-25 tickcross-true"></div> {{#if: {{{2|}}} | [[{{{2}}}::true| ]] }} |
|no | |no | ||
− | |false = <div title=" | + | |false = <div title="No native support" class="svg-icon svg-25 tickcross-false"></div> {{#if: {{{2|}}} | [[{{{2}}}::false| ]] }} |
− | |unknown = <div title=" | + | |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 = {{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage {{#if:{{#var:section}}|({{#var:section}})}}]] }} | + | |#default = {{#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 08:59, 4 April 2019
Documentation for the above template (sometimes hidden from view).
Visit Template:Tickcross-nohack/Documentation to edit this text. (How does this work?)