Template:maimai Difficulty: Difference between revisions

From SilentBlue.RemyWiki
Jump to navigation Jump to search
imported>Jack980517
No edit summary
imported>Jack980517
No edit summary
 
(6 intermediate revisions by the same user not shown)
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&#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>
<includeonly>{{#invoke:maimai Difficulty|maimai_difficulty_multi}}</includeonly><noinclude>
Usage:
Arguments: start1, end1, start2, end2, ....
 
arg1=starting version, arg2=ending version
 
arg2 can be omitted to mean the song is still present in the latest version
 
Example: <nowiki>{{maimai Difficulty|green|dx+}}</nowiki> produces
 
{{maimai Difficulty|green|dx+}}


This means the song is present in versions start1~end1 (inclusive), and start2~end2 (inclusive), but not end1~start2 (exclusive). If the song is in the current version, the last end version name '''must''' be absent.
</noinclude>
</noinclude>

Latest revision as of 06:07, 9 April 2021

Arguments: start1, end1, start2, end2, ....

This means the song is present in versions start1~end1 (inclusive), and start2~end2 (inclusive), but not end1~start2 (exclusive). If the song is in the current version, the last end version name must be absent.