Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Template:Tickcross-na"

From PCGamingWiki, the wiki about fixing PC games
(added current section name to category)
(removed old PCGWR method)
Line 11: Line 11:
 
  |n/a      = <div title="{{{3|Not applicable}}}" class="svg-icon svg-25 tickcross tickcross-not-applicable"></div>
 
  |n/a      = <div title="{{{3|Not applicable}}}" class="svg-icon svg-25 tickcross tickcross-not-applicable"></div>
 
  |#default = {{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage {{#if:{{#var:section}}|({{#var:section}})}}]] }}
 
  |#default = {{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage {{#if:{{#var:section}}|({{#var:section}})}}]] }}
}}{{#if:{{{section|}}}|{{#switch:{{lc:{{{1}}}}}
+
}}</includeonly><noinclude>{{Documentation}}</noinclude>
|yes
 
|true
 
|not applicable
 
|notapplicable
 
|na
 
|n/a      = {{#if:{{{section|}}}|{{#vardefine:PCGWR {{{section}}}|{{#expr:{{#var:PCGWR {{{section}}}}}+1}}}}}}{{#vardefine:PCGWR {{{section}}} known|{{#expr:{{#var:PCGWR {{{section}}} known}}+1}}}}
 
|hackable = {{#if:{{{section|}}}|{{#vardefine:PCGWR {{{section}}}|{{#expr:{{#var:PCGWR {{{section}}}}}+0.5}}}}}}{{#vardefine:PCGWR {{{section}}} known|{{#expr:{{#var:PCGWR {{{section}}} known}}+1}}}}
 
|no
 
|false    = {{#vardefine:PCGWR {{{section}}} known|{{#expr:{{#var:PCGWR {{{section}}} known}}+1}}}}
 
|unknown  = {{#vardefine:PCGWR {{{section}}} unknown|{{#expr:{{#var:PCGWR {{{section}}} unknown}}+1}}}}
 
}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
 

Revision as of 09:11, 16 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. It can optionally take a second argument to automatically set the value of a property.

Arguments
  • 1 - Can only be one of the following: true, false, hackable, unknown, n/a;
  • 2 - Name of the relevant property;
Syntax

{{Tickcross-na|1|2}}