Template:maimai Difficulty: Difference between revisions

From SilentBlue.RemyWiki
Jump to navigation Jump to search
imported>Jack980517
mNo edit summary
imported>Jack980517
No edit summary
 
(8 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}} {{#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.}}}}}}}}<br></includeonly>
<includeonly>{{#invoke:maimai Difficulty|maimai_difficulty_multi}}</includeonly><noinclude>
<noinclude>
Arguments: start1, end1, start2, end2, ....
Usage:arg1=starting version, arg2=ending version


arg2 can be omitted to mean the song is still present in the latest 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.
 
_ means [[maimai]]
 
suffix + means plus
 
 
Example:
 
<nowiki>{{maimai Difficulty|green|dx+}}</nowiki> produces
 
{{maimai Difficulty|green|dx+}}
 
<nowiki>{{maimai Difficulty|_+|}}</nowiki> produces
 
{{maimai Difficulty|_+|}}
</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.