Difference between revisions of "Template:CortexTest"

From Starlight Wiki
Jump to navigation Jump to search
Line 22: Line 22:
 
{{#switch: {{{diff}}}
 
{{#switch: {{{diff}}}
 
  | ve = <span class='hed'>Very Easy {{#die:4}}{{#die:4}}</span>
 
  | ve = <span class='hed'>Very Easy {{#die:4}}{{#die:4}}</span>
  | e = <span class='hed'>Very Easy {{#die:4}}{{#die:4}}</span>
+
  | e = <span class='hed'>Easy {{#die:6}}{{#die:6}}</span>
  | c = <span class='hed'>Very Easy {{#die:4}}{{#die:4}}</span>
+
  | c = <span class='hed'>Challenging {{#die:8}}{{#die:8}}</span>
  | h = <span class='hed'>Very Easy {{#die:4}}{{#die:4}}</span>
+
  | h = <span class='hed'>Hard {{#die:10}}{{#die:10}}</span>
  | vh = <span class='hed'>Very Easy {{#die:4}}{{#die:4}}</span>
+
  | vh = <span class='hed'>Very Hard {{#die:12}}{{#die:12}}</span>
 
  | default <span='err'>{{{diff}}} is not a valid value. only 've','e','c','h','vh' are valid</span>
 
  | default <span='err'>{{{diff}}} is not a valid value. only 've','e','c','h','vh' are valid</span>
 
}}|<span='err'>Cortex Difficulty needs a difficulty value<span>}}
 
}}|<span='err'>Cortex Difficulty needs a difficulty value<span>}}

Revision as of 04:23, 14 December 2022

Create test difficulty

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Difficulty Leveldiff

The level of difficulty, 've','e','c','h','vh'

Default
c
Example
c
Linerequired

Hard <span='err'>Cortex Difficulty needs a difficulty value