Template:CHUNITHM 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|chunithm|{{{1}}}}}}}{{#vardefine:endvernum|{{#if:{{{2|}}}|{{VerToNum|chunithm|{{{2}}}}}|99}}}}CHUNITHM difficulty rated {{#ifexpr:{{#var:startvernum}}=1 <!-- first range -->|from 1 to 13, }}{{#ifexpr:{{#var:endvernum}}=1|.|{{#ifexpr:{{#var:endvernum}}<=3 and {{#var:startvernum}}=1|and }}{{#ifexpr:{{#var:startvernum}}<=3 and {{#var:endvernum}}>=2 <!-- second range -->|1 to 13+ from CHUNITHM PLUS to AIR}}{{#ifexpr:{{#var:endvernum}}<=3|.|{{#ifexpr:{{#var:startvernum}}<4|, and&#32;}}{{#ifexpr:{{#var:endvernum}}>=4|1 to 14 from AIR PLUS onwards.}}}}}}</includeonly>
<includeonly>{{#invoke:CHUNITHM Difficulty|chunithm_difficulty_multi}}</includeonly><noinclude>
Arguments: start1, end1, start2, end2, ....


<noinclude>
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.
Usage:
 
arg1=starting version, arg2=ending version
 
arg2 can be omitted to mean the song is still present in the latest version
 
{{CHUNITHM Difficulty|_}}
{{CHUNITHM Difficulty|air}}
{{CHUNITHM Difficulty|_+|air}}
{{CHUNITHM Difficulty|air+}}
</noinclude>
</noinclude>

Latest revision as of 09:21, 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.