Difference between revisions of "Template:Tickcross"
From PCGamingWiki, the wiki about fixing PC games
(split limited from true, updated hackable tooltip) |
(removed deprecated "yes" and "no" alt names, changed to case-sensitive) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#switch | + | <includeonly>{{#switch:{{{1}}} |
|limited = {{#if: {{{2|}}} | [[{{{2}}}::limited| ]]{{#if:{{{3|}}}|<div title="Limited native support" class="svg-icon svg-25 tickcross-limited"></div>|<div title="Error: Note required for limited" class="svg-icon svg-25 tickcross-true-error"></div>{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage {{#if:{{#var:section}}|({{#var:section}})}}]] }}}} |<div title="Limited native support" class="svg-icon svg-25 tickcross-limited"></div>}} | |limited = {{#if: {{{2|}}} | [[{{{2}}}::limited| ]]{{#if:{{{3|}}}|<div title="Limited native support" class="svg-icon svg-25 tickcross-limited"></div>|<div title="Error: Note required for limited" class="svg-icon svg-25 tickcross-true-error"></div>{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage {{#if:{{#var:section}}|({{#var:section}})}}]] }}}} |<div title="Limited native support" class="svg-icon svg-25 tickcross-limited"></div>}} | ||
− | |||
|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| ]] }} | ||
|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>}} |
Revision as of 04:25, 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}}
Visit Template:Tickcross/Documentation to edit this text. (How does this work?)