Difference between revisions of "Template:Skill turn interval"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(Created page with "<includeonly><onlyinclude>{{#ifeq:{{{interval|1}}} {{{surplus|0}}}|1 0||{{#switch:{{{total turn}}} | 0 = Phase | 1 = Battle | #default = Battle}} {{#ifexpr:{{{interval|1}}} >=...")
 
(Undo revision 50252 by SurtrFan8511 (talk))
Tag: Undo
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{#ifeq:{{{interval|1}}} {{{surplus|0}}}|1 0||{{#switch:{{{total turn}}}
<includeonly><onlyinclude>{{#ifeq:{{{interval|0}}}|0|<!--turn intervals should never be 0 unless arguments were parsed incorrectly-->Server Error 😔|{{#ifeq:{{{interval|1}}} {{{surplus|0}}}|1 0||{{#switch:{{{total turn}}}
| 0 = Phase
| 0 = Phase
| 1 = Battle
| 1 = Total
| #default = Battle}} {{#ifexpr:{{{interval|1}}} >= 99|
| #default = Battle}} {{#ifexpr:{{{interval|1}}} >= 99|
turn {{#expr:{{{surplus|0}}} + 1}}|
turn {{#expr:{{{surplus|0}}} + 1}}|
turns {{#expr:{{{surplus|0}}} + 1}}, {{#expr:{{{surplus|0}}} + 1 + {{{interval|1}}}}}, {{#expr:{{{surplus|0}}} + 1 + 2 * {{{interval|1}}}}}
turns {{#expr:{{{surplus|0}}} + 1}}, {{#expr:{{{surplus|0}}} + 1 + {{{interval|1}}}}}, {{#expr:{{{surplus|0}}} + 1 + 2 * {{{interval|1}}}}}...}}}}}}</includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude>
...}} only}}</includeonly></onlyinclude><noinclude>
<pre>{{Skill turn interval|interval=1|surplus=0|total turn=1}}</pre>
{{Skill turn interval|interval=1|surplus=0|total turn=1}}
 
<pre>{{Skill turn interval|interval=3|surplus=2|total turn=1}}</pre>
{{Skill turn interval|interval=3|surplus=2|total turn=1}}
 
<pre>{{Skill turn interval|interval=1|surplus=1|total turn=1}}</pre>
{{Skill turn interval|interval=1|surplus=1|total turn=1}}
 
<pre>{{Skill turn interval|interval=3|surplus=0|total turn=0}}</pre>
{{Skill turn interval|interval=3|surplus=0|total turn=0}}
 
<pre>{{Skill turn interval|interval=999|surplus=0|total turn=0}}</pre>
{{Skill turn interval|interval=999|surplus=0|total turn=0}}
</noinclude>

Latest revision as of 16:30, 1 October 2023

Template documentation[view] [edit] [history] [purge]
{{Skill turn interval|interval=1|surplus=0|total turn=1}}


{{Skill turn interval|interval=3|surplus=2|total turn=1}}

Total turns 3, 6, 9...

{{Skill turn interval|interval=1|surplus=1|total turn=1}}

Total turns 2, 3, 4...

{{Skill turn interval|interval=3|surplus=0|total turn=0}}

Phase turns 1, 4, 7...

{{Skill turn interval|interval=999|surplus=0|total turn=0}}

Phase turn 1