Template:VerToNum: Difference between revisions

From SilentBlue.RemyWiki
Jump to navigation Jump to search
imported>Jack980517
m (Jack980517 moved page Template:maimaiVerToNum to Template:VerToNum without leaving a redirect: it's better to make it work for all 3 games by adding another #switch)
No edit summary
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#switch:{{{1}}}
{{#switch:{{{1}}}
|blue=1
|maimai=
|blue+=2
{{#switch:{{{2}}}
|_=1
|_+=2
|1st=1
|1st+=2
|green=3
|green=3
|green+=4
|green+=4
Line 16: Line 20:
|dx=14
|dx=14
|dx+=15
|dx+=15
|splash=16
|splash+=17
|universe=18
|universe+=19
|festival=20
|festival+=21
|buddies=22
|buddies+=23
}}
|chunithm=
{{#switch:{{{2}}}
|_=1
|_+=2
|1st=1
|1st+=2
|air=3
|air+=4
|star=5
|star+=6
|amazon=7
|amazon+=8
|crystal=9
|crystal+=10
|paradise=11
|paradiselost=12
|new=13
|new+=14
|sun=15
|sun+=16
|luminous=17
|luminous+=18
}}
|ongeki=
{{#switch:{{{2}}}
|_=1
|_+=2
|1st=1
|1st+=2
|summer=3
|summer+=4
|red=5
|red+=6
|bright=7
|brightmemory=8
}}
}}
}}
</includeonly>
</includeonly>
<noinclude>
Example:
<nowiki>{{VerToNum|maimai|milk+}}</nowiki> produces {{VerToNum|maimai|milk+}}
<nowiki>{{VerToNum|maimai|_+}}</nowiki> produces {{VerToNum|maimai|_+}}
Write _ or 1st for first game, and + for plus. Write the version name in all lower case.
</noinclude>

Latest revision as of 18:13, 7 June 2024


Example:

{{VerToNum|maimai|milk+}} produces 12


{{VerToNum|maimai|_+}} produces 2


Write _ or 1st for first game, and + for plus. Write the version name in all lower case.