Template:maimai Difficulty: Difference between revisions
Jump to navigation
Jump to search
no edit summary
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 | <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:startvernum}}<=2|, }}{{#ifexpr:{{#var:endvernum}}<=8 and {{#var:startvernum}}<=2|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:startvernum}}<=8|, }}{{#ifexpr:{{#var:endvernum}}<=12 and {{#var:startvernum}}<=8|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:startvernum}}<=12|, }}{{#ifexpr:{{#var:endvernum}}<=14 and {{#var:startvernum}}<=12|and }}{{#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 }}{{#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 | ||
Example: <nowiki>{{maimai Difficulty|green|dx+}}</nowiki> produces | |||
Example: | |||
<nowiki>{{maimai Difficulty|green|dx+}}</nowiki> produces | |||
{{maimai Difficulty|green|dx+}} | {{maimai Difficulty|green|dx+}} | ||
</noinclude> | </noinclude> |