Difference between revisions of "Template:Tickcross"
From PCGamingWiki, the wiki about fixing PC games
(updated ratings support) |
(added current section name to category) |
||
Line 6: | Line 6: | ||
|hackable = <div title="{{{3|Hackable}}}" class="svg-icon svg-25 tickcross-hackable"></div> {{#if: {{{2|}}} | [[{{{2}}}::hackable| ]] }} | |hackable = <div title="{{{3|Hackable}}}" class="svg-icon svg-25 tickcross-hackable"></div> {{#if: {{{2|}}} | [[{{{2}}}::hackable| ]] }} | ||
|unknown = <div title="{{{3|Unknown}}}" class="svg-icon svg-25 tickcross-unknown"></div> {{#if: {{{2|}}} | [[{{{2}}}::unknown| ]] }} | |unknown = <div title="{{{3|Unknown}}}" class="svg-icon svg-25 tickcross-unknown"></div> {{#if: {{{2|}}} | [[{{{2}}}::unknown| ]] }} | ||
− | |#default = {{#ifeq: {{NAMESPACE}} | |[[Category:Invalid template usage]]}} | + | |#default = {{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage {{#if:{{#var:section}}|({{#var:section}})}}]] }} |
}}{{#if:{{{section|}}}|{{#switch:{{lc:{{{1}}}}} | }}{{#if:{{{section|}}}|{{#switch:{{lc:{{{1}}}}} | ||
|yes | |yes |
Revision as of 03:36, 6 October 2018
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?)