Difference between revisions of "Template:Abilitymod"

From Legends of Hyrule
Jump to navigationJump to search
(human error)
m (typo)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<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>
+
<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.

Latest revision as of 00:45, 7 June 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}}