Template:maimai Difficulty: Difference between revisions

From SilentBlue.RemyWiki
Jump to navigation Jump to search
imported>Jack980517
(Undo revision 146 by Jack980517 (talk))
imported>Jack980517
No edit summary
Line 1: Line 1:
<includeonly>{{#vardefine:startvernum|{{VerToNum|maimai|{{{1}}}}}}}{{#vardefine:endvernum|{{#if:{{{2|}}}|{{VerToNum|maimai|{{{2}}}}}|99}}}}maimai {{#ifexpr:{{#var:startvernum}}<=2 <!-- first range, max lv 10 -->|to PLUS difficulty rated from 1 to 10,|difficulty rated}} {{#ifexpr:{{#var:endvernum}}<=2|.|{{#ifexpr:{{#var:endvernum}}<=8|and }}{{#ifexpr:{{#var:startvernum}}<=8 and {{#var:endvernum}}>=3 <!-- second range, max lv 12 -->|1 to 12 from GreeN to PiNK PLUS}}{{#ifexpr:{{#var:endvernum}}<=8|.|, {{#ifexpr:{{#var:endvernum}}<=12|and }}{{#ifexpr:{{#var:startvernum}}<=12 and {{#var:endvernum}}>=9 <!-- third range, max lv 13 -->|1 to 13 from MURASAKi to MiLK PLUS}}{{#ifexpr:{{#var:endvernum}}<=12|.|, {{#ifexpr:{{#var:endvernum}}<=14|and }}{{#ifexpr:{{#var:startvernum}}<=14 and {{#var:endvernum}}>=13 <!-- fourth range, max lv 14 -->|1 to 14 from FiNALE to でらっくす}}{{#ifexpr:{{#var:endvernum}}<=14 <!-- fifth range, max lv 15 -->|.|, and 1 to 15 from でらっくす PLUS onwards.}}}}}}}}</includeonly>
<includeonly>{{#vardefine:startvernum|{{VerToNum|maimai|{{{1}}}}}}}{{#vardefine:endvernum|{{#if:{{{2|}}}|{{VerToNum|maimai|{{{2}}}}}|99}}}}maimai {{#ifexpr:{{#var:startvernum}}<=2 <!-- first range, max lv 10 -->|to PLUS difficulty rated from 1 to 10|difficulty rated&#32;}}{{#ifexpr:{{#var:endvernum}}<=2|.|{{#ifexpr:{{#var:startvernum}}<=2|,&#32;}}{{#ifexpr:{{#var:endvernum}}<=8 and {{#var:startvernum}}<=2|and&#32;}}{{#ifexpr:{{#var:startvernum}}<=8 and {{#var:endvernum}}>=3 <!-- second range, max lv 12 -->|1 to 12 from GreeN to PiNK PLUS}}{{#ifexpr:{{#var:endvernum}}<=8|.|{{#ifexpr:{{#var:startvernum}}<=8|,&#32;}}{{#ifexpr:{{#var:endvernum}}<=12 and {{#var:startvernum}}<=8|and&#32;}}{{#ifexpr:{{#var:startvernum}}<=12 and {{#var:endvernum}}>=9 <!-- third range, max lv 13 -->|1 to 13 from MURASAKi to MiLK PLUS}}{{#ifexpr:{{#var:endvernum}}<=12|.|{{#ifexpr:{{#var:startvernum}}<=12|,&#32;}}{{#ifexpr:{{#var:endvernum}}<=14 and {{#var:startvernum}}<=12|and&#32;}}{{#ifexpr:{{#var:startvernum}}<=14 and {{#var:endvernum}}>=13 <!-- fourth range, max lv 14 -->|1 to 14 from FiNALE to でらっくす}}{{#ifexpr:{{#var:endvernum}}<=14|.|{{#ifexpr:{{#var:startvernum}}<14|, and&#32;}}{{#ifexpr:{{#var:endvernum}}>=15 <!-- fifth range, max lv 15 -->|1 to 15 from でらっくす PLUS onwards.}}}}}}}}}}<br></includeonly><noinclude>
<noinclude>
Usage:
Usage:arg1=starting version, arg2=ending version
 
arg1=starting version, arg2=ending version


arg2 can be omitted to mean the song is still present in the latest version
arg2 can be omitted to mean the song is still present in the latest version


_ means [[maimai]]
Example: <nowiki>{{maimai Difficulty|green|dx+}}</nowiki> produces
 
suffix + means plus
 
 
Example:
 
<nowiki>{{maimai Difficulty|green|dx+}}</nowiki> produces


{{maimai Difficulty|green|dx+}}
{{maimai Difficulty|green|dx+}}


<nowiki>{{maimai Difficulty|_+|}}</nowiki> produces
{{maimai Difficulty|_+|}}
</noinclude>
</noinclude>

Revision as of 12:16, 30 March 2020

Usage:

arg1=starting version, arg2=ending version

arg2 can be omitted to mean the song is still present in the latest version

Example: {{maimai Difficulty|green|dx+}} produces

maimai difficulty rated 1 to 12 from GreeN to PiNK PLUS, 1 to 13 from MURASAKi to MiLK PLUS, 1 to 14 from FiNALE to でらっくす, and 1 to 15 from でらっくす PLUS onwards.