Template talk:Abilitymod
Until math isn't a complete pain to do on a computer, I have prepared the following extension to this template that should at least fix the current issue as per Template Talk:5e Creature.--Ref3rence (talk) 09:15, 2 July 2021 (MDT)
{{#ifeq:{{{1}}}|31|+10}}{{#ifeq:{{{1}}}|32|+11}}{{#ifeq:{{{1}}}|33|+11}}{{#ifeq:{{{1}}}|34|+12}}{{#ifeq:{{{1}}}|35|+12}}{{#ifeq:{{{1}}}|36|+13}}{{#ifeq:{{{1}}}|37|+13}}{{#ifeq:{{{1}}}|38|+14}}{{#ifeq:{{{1}}}|39|+14}}{{#ifeq:{{{1}}}|40|+15}}{{#ifeq:{{{1}}}|41|+15}}{{#ifeq:{{{1}}}|42|+16}}{{#ifeq:{{{1}}}|43|+16}}{{#ifeq:{{{1}}}|44|+17}}{{#ifeq:{{{1}}}|45|+17}}{{#ifeq:{{{1}}}|46|+18}}{{#ifeq:{{{1}}}|47|+18}}{{#ifeq:{{{1}}}|48|+19}}{{#ifeq:{{{1}}}|49|+19}}{{#ifeq:{{{1}}}|50|+20}}{{#ifeq:{{{1}}}|51|+20}}{{#ifeq:{{{1}}}|52|+21}}{{#ifeq:{{{1}}}|53|+21}}{{#ifeq:{{{1}}}|54|+22}}{{#ifeq:{{{1}}}|55|+22}}{{#ifeq:{{{1}}}|56|+23}}{{#ifeq:{{{1}}}|57|+23}}{{#ifeq:{{{1}}}|58|+24}}{{#ifeq:{{{1}}}|59|+24}}{{#ifeq:{{{1}}}|60|+25}}
Rewrite[edit]
{{#ifexpr: {{{1}}} > 9 | +}}{{#expr: floor({{{1}}}/2)-5}}
There was a parenthesis missing but I don't see why this wouldn't work. - Guy 12:31, 2 July 2021 (MDT)
- Looks good, I hope this can be implemented soon. Similar topic, would the following work for Template:Profmod?
{{#ifexpr: {{{1}}} > 1 | +}}{{#expr: floor(({{{1}}}-1)/2)+2}}