Difference between revisions of "Template:Abilitymod"
From Legends of Hyrule
Jump to navigationJump to search (Created page with "<includeonly>{{{#ifeq:{{{1}}}|1|-5}}{{{#ifeq:{{{2}}}|1|-4}}{{{#ifeq:{{{3}}}|1|-4}}{{{#ifeq:{{{4}}}|1|-3}}{{{#ifeq:{{{5}}}|1|-3}}{{{#ifeq:{{{6}}}|1|-2}}{{{#ifeq:{{{7}}}|1|-2}}{...") |
(human error) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{{#ifeq:{{{1}}}|1|-5}}{{{#ifeq:{{{ | + | <includeonly>{{{#ifeq:{{{1}}}|1|-5}}{{{#ifeq:{{{1}}}|2|-4}}{{{#ifeq:{{{1}}}|3|-4}}{{{#ifeq:{{{1}}}|4|-3}}{{{#ifeq:{{{1}}}|5|-3}}{{{#ifeq:{{{1}}}|6|-2}}{{{#ifeq:{{{1}}}|7|-2}}{{{#ifeq:{{{1}}}|8|-1}}{{{#ifeq:{{{1}}}|9|-1}}{{{#ifeq:{{{1}}}|10|+0}}{{{#ifeq:{{{1}}}|11|+0}}{{{#ifeq:{{{1}}}|12|+1}}{{{#ifeq:{{{1}}}|13|+1}}{{{#ifeq:{{{1}}}|14|+2}}{{{#ifeq:{{{1}}}|15|+2}}{{{#ifeq:{{{1}}}|16|+3}}{{{#ifeq:{{{1}}}|17|+3}}{{{#ifeq:{{{1}}}|18|+4}}{{{#ifeq:{{{1}}}|19|+4}}{{{#ifeq:{{{1}}}|20|+5}}{{{#ifeq:{{{1}}}|21|+5}}{{{#ifeq:{{{1}}}|22|+6}}{{{#ifeq:{{{1}}}|23|+6}}{{{#ifeq:{{{1}}}|24|+7}}{{{#ifeq:{{{1}}}|25|+7}}{{{#ifeq:{{{1}}}|26|+8}}{{{#ifeq:{{{1}}}|27|+8}}{{{#ifeq:{{{1}}}|28|+9}}{{{#ifeq:{{{1}}}|29|+9}}{{{#ifeq:{{{1}}}|30|+10}}</includeonly><noinclude> |
==Usage== | ==Usage== | ||
This template takes whatever number is plugged into it, and assigns it a corresponding ability modifier based on the standard conversion. E.g., putting in "18" will give you "+4". Putting in "8" will give you "-1". This template only converts from natural numbers up to 30. | This template takes whatever number is plugged into it, and assigns it a corresponding ability modifier based on the standard conversion. E.g., putting in "18" will give you "+4". Putting in "8" will give you "-1". This template only converts from natural numbers up to 30. |
Revision as of 21:10, 29 May 2016
Usage
This template takes whatever number is plugged into it, and assigns it a corresponding ability modifier based on the standard conversion. E.g., putting in "18" will give you "+4". Putting in "8" will give you "-1". This template only converts from natural numbers up to 30.
To use, simply type the following, replacing "10" with whatever number is appropriate.
{{abilitymod|10}}