Difference between revisions of "Template:Skill turn interval"

no edit summary
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 = Battle
| #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}}}}}...}} only}}</includeonly></onlyinclude><noinclude>
turns {{#expr:{{{surplus|0}}} + 1}}, {{#expr:{{{surplus|0}}} + 1 + {{{interval|1}}}}}, {{#expr:{{{surplus|0}}} + 1 + 2 * {{{interval|1}}}}}...}} only}}}}</includeonly></onlyinclude><noinclude>
<pre>{{Skill turn interval|interval=1|surplus=0|total turn=1}}</pre>
<pre>{{Skill turn interval|interval=1|surplus=0|total turn=1}}</pre>
{{Skill turn interval|interval=1|surplus=0|total turn=1}}
{{Skill turn interval|interval=1|surplus=0|total turn=1}}
trusted
5,900

edits