Difference between revisions of "Template:CortexTest"
Jump to navigation
Jump to search
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
− | " | + | "diff": { |
"label": "Difficulty Level", | "label": "Difficulty Level", | ||
"description": "The level of difficulty, 've','e','c','h','vh'", | "description": "The level of difficulty, 've','e','c','h','vh'", | ||
"example": "c", | "example": "c", | ||
− | "type": " | + | "type": "line", |
"default": "c", | "default": "c", | ||
"required": true | "required": true | ||
Line 20: | Line 16: | ||
} | } | ||
</templatedata> | </templatedata> | ||
− | </noinclude> | + | {{CortexTest |
+ | |diff=h | ||
+ | }} | ||
+ | |||
+ | {{CortexTest | ||
+ | |diff=f | ||
+ | }} | ||
+ | |||
+ | {{CortexTest | ||
+ | |diff=e | ||
+ | }} | ||
+ | [[Category:Templates]][[Category:Cortex]] | ||
+ | </noinclude>{{#if:{{{diff|}}}| | ||
+ | {{#switch: {{{diff}}} | ||
+ | | ve = <span class='hed'>Very Easy {{#die:4}}{{#die:4}}</span> | ||
+ | | e = <span class='hed'>Easy {{#die:6}}{{#die:6}}</span> | ||
+ | | c = <span class='hed'>Challenging {{#die:8}}{{#die:8}}</span> | ||
+ | | h = <span class='hed'>Hard {{#die:10}}{{#die:10}}</span> | ||
+ | | vh = <span class='hed'>Very Hard {{#die:12}}{{#die:12}}</span> | ||
+ | | #default = <span class='err'>{{{diff}}} is not a valid value. only 've','e','c','h','vh' are valid.</span> | ||
+ | }}|<span class='err'>Cortex Difficulty needs a difficulty value</span>}} |
Latest revision as of 02:40, 15 December 2022
Create test difficulty
Parameter | Description | Type | Status | |
---|---|---|---|---|
Difficulty Level | diff | The level of difficulty, 've','e','c','h','vh'
| Line | required |
Hard
f is not a valid value. only 've','e','c','h','vh' are valid.
Easy Cortex Difficulty needs a difficulty value