Template:maimai Difficulty: Difference between revisions

From SilentBlue.RemyWiki
Jump to navigation Jump to search
imported>Jack980517
(Remove examples to avoid categorizing this template itself)
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|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|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|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|1 to 14 from FiNALE to でらっくす}}{{#ifexpr:{{#var:endvernum}}<=14|.|{{#ifexpr:{{#var:startvernum}}<=14|, and&#32;}}{{#ifexpr:{{#var:endvernum}}>=15|1 to 15 from でらっくす PLUS onwards.}}}}}}}}}}<br>[[Category:Songs]][[Category:maimai Songs]]{{#if:{{{2|}}}|[[Category:maimai Removed Songs]]}}</includeonly><noinclude>
<includeonly>{{#invoke:maimai Difficulty|maimai_difficulty_multi}}</includeonly><noinclude>
Usage:
Arguments: start1, end1, start2, end2, ....


arg1=starting version, arg2=ending version
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.
 
arg2 can be omitted to mean the song is still present in the latest version
</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.