Difference between revisions of "Template:Skill turn interval"
Jump to navigation
Jump to search
(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 |
Tag: Undo |
||
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 = 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:03, 1 October 2023
{{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
The above documentation is transcluded from Template:Skill turn interval/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |