Difference between revisions of "Template:Skill turn interval"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(Undo revision 50248 by Barry (talk))
Tag: Undo
(hot fix until I can figure out why the transient infobox skill strings keep spilling errors but not in the actual skill page)
Tag: Reverted
Line 1: Line 1:
<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}}}
<includeonly><onlyinclude>{{#ifeq:{{{interval|1}}} {{{surplus|0}}}|1 0||{{#switch:{{{total turn}}}
| 0 = Phase
| 0 = Phase
| 1 = Total
| 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}}}}}...}}}}}}</includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude>
turns {{#expr:{{{surplus|0}}} + 1}}, {{#expr:{{{surplus|0}}} + 1 + {{{interval|1}}}}}, {{#expr:{{{surplus|0}}} + 1 + 2 * {{{interval|1}}}}}...}}}}</includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude>

Revision as of 16:01, 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