Template:VerToNum: Difference between revisions

no edit summary
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)
imported>Jack980517
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#switch:{{{1}}}
{{#switch:{{{1}}}
|blue=1
|maimai=
|blue+=2
{{#switch:{{{2}}}
|_=1
|_+=2
|green=3
|green=3
|green+=4
|green+=4
Line 16: Line 18:
|dx=14
|dx=14
|dx+=15
|dx+=15
}}
|chunithm=
{{#switch:{{{2}}}
|_=1
|_+=2
|air=3
|air+=4
|star=5
|star+=6
|amazon=7
|amazon+=8
|crystal=9
}}
|ongeki=
{{#switch:{{{2}}}
|_=1
|_+=2
|summer=3
|summer+=4
}}
}}
}}
</includeonly>
</includeonly>
<noinclude>
Example:
<nowiki>{{VerToNum|maimai|milk+}}</nowiki> produces {{VerToNum|maimai|milk+}}
<nowiki>{{VerToNum|maimai|_+}}</nowiki> produces {{VerToNum|maimai|_+}}
Write _ for first game, and + for plus. Write the version name in all lower case.
</noinclude>
Anonymous user