Template:Config required: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{!}}[[Category:{{{1|}}} (Config Required)]]{{Hover|{{{3|}}} ({{#ifeq:{{{2|}}}|boolean|On, Off|{{{5|}}}}})|'''{{{1|}}}'''}}{{!!}}{{{4|}}}{{!!}}</includeonly><noinclude>{{documentation}}[[Category:Experimental templates]]<noinclude> | <includeonly>{{!}}[[Category:{{{1|}}} (Config Required)]]{{Hover|{{{3|}}} ({{#ifeq:{{{2|}}}|boolean|On, Off|{{{5|}}}}})|'''{{{1|}}}'''}}{{!!}}{{#switch:{{{2|}}}|boolean={{#switch:{{{4|}}}|On=On|Off=Off|background-color:#fee; color:#900;"{{!}}Invalid setting}}|decimal={{{5|}}}|string={{{5|}}}|position={{{5|}}}|background-color:#fee; color:#900;"{{!}}Invalid type}}{{!!}}</includeonly><noinclude>{{documentation}}[[Category:Experimental templates]]<noinclude> |
Revision as of 01:12, 1 February 2022
[edit] [ ] Template documentation
Helper template used by Template:Config/sandbox to expand set of cells into table.
Example
{|class="wikitable" style="font-size:90%; text-align:left;" cellspacing="0" cellpadding="3" !Config!!Setting!![[GameINI]]!!Notes |- |{{Config required|Enable Dual Core|CPUThread|boolean|Good|Off}}Show File Select menus properly |- |{{Config required|CPU Emulator Engine|CPUCore|string|Saint|JIT x64|{{#vardefineecho:=|Interpreter=0, JIT x64=1, JIT ARM64=4, Cached Interpreter=5}}}}Go easy on CPU |}
Produces
Config | Setting | GameINI | Notes |
---|---|---|---|
Enable Dual Core | background-color:#fee; color:#900;"|Invalid type | Show File Select menus properly | |
CPU Emulator Engine | background-color:#fee; color:#900;"|Invalid type | Go easy on CPU |
The above documentation is transcluded from Template:Config required/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |