Difference between revisions of "Template:Profmod"

From Legends of Hyrule
Jump to navigationJump to search
(Created page with "<includeonly>{{{#ifeq:{{{1}}}|1|+2}}{{{#ifeq:{{{1}}}|2|+2}}{{{#ifeq:{{{1}}}|3|+2}}{{{#ifeq:{{{1}}}|4|+2}}{{{#ifeq:{{{1}}}|5|+3}}{{{#ifeq:{{{1}}}|6|+3}}{{{#ifeq:{{{1}}}|7|+3}}{...")
 
m
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{{#ifeq:{{{1}}}|1|+2}}{{{#ifeq:{{{1}}}|2|+2}}{{{#ifeq:{{{1}}}|3|+2}}{{{#ifeq:{{{1}}}|4|+2}}{{{#ifeq:{{{1}}}|5|+3}}{{{#ifeq:{{{1}}}|6|+3}}{{{#ifeq:{{{1}}}|7|+3}}{{{#ifeq:{{{1}}}|8|+3}}{{{#ifeq:{{{1}}}|9|+4}}{{{#ifeq:{{{1}}}|10|+4}}{{{#ifeq:{{{1}}}|11|+4}}{{{#ifeq:{{{1}}}|12|+4}}{{{#ifeq:{{{1}}}|13|+5}}{{{#ifeq:{{{1}}}|14|+5}}{{{#ifeq:{{{1}}}|15|+5}}{{{#ifeq:{{{1}}}|16|+5}}{{{#ifeq:{{{1}}}|17|+6}}{{{#ifeq:{{{1}}}|19|+6}}{{{#ifeq:{{{1}}}|19|+6}}{{{#ifeq:{{{1}}}|20|+6}}{{{#ifeq:{{{1}}}|21|+7}}{{{#ifeq:{{{1}}}|22|+7}}{{{#ifeq:{{{1}}}|23|+7}}{{{#ifeq:{{{1}}}|24|+7}}{{{#ifeq:{{{1}}}|25|+8}}{{{#ifeq:{{{1}}}|26|+8}}{{{#ifeq:{{{1}}}|27|+8}}{{{#ifeq:{{{1}}}|28|+8}}{{{#ifeq:{{{1}}}|29|+9}}{{{#ifeq:{{{1}}}|30|+9}}</includeonly><noinclude>
+
<includeonly>{{#switch: {{{1}}}
 +
|5=+3
 +
|6=+3
 +
|7=+3
 +
|8=+3
 +
|9=+4
 +
|10=+4
 +
|11=+4
 +
|12=+4
 +
|13=+5
 +
|14=+5
 +
|15=+5
 +
|16=+5
 +
|17=+6
 +
|18=+6
 +
|19=+6
 +
|20=+6
 +
|21=+7
 +
|22=+7
 +
|23=+7
 +
|24=+7
 +
|25=+8
 +
|26=+8
 +
|27=+8
 +
|28=+8
 +
|29=+9
 +
|30=+9
 +
|31=+9
 +
|32=+9
 +
|33=+10
 +
|34=+10
 +
|35=+10
 +
|36=+10
 +
|37=+11
 +
|38=+11
 +
|39=+11
 +
|40=+11
 +
|+2}}</includeonly><noinclude>
 
==Usage==
 
==Usage==
Give this number a numerical Challenge Rating (CR), it will give you a corresponding Proficiency modifier based on that CR.
+
Give this number a numerical Challenge Rating (CR), it will give you a corresponding Proficiency modifier based on that CR.  This template supports any CR up to 40.
  
 
To use, simply type the following, replacing "1" with whatever CR is appropriate.
 
To use, simply type the following, replacing "1" with whatever CR is appropriate.
 
<pre>{{profmod|1}}</pre>
 
<pre>{{profmod|1}}</pre>
 
For a creature with a CR of less than 1, such as 1/8 or 1/2, round up to 1.  The template only supports positive integers up to 30.
 
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 17:07, 2 June 2020

Usage

Give this number a numerical Challenge Rating (CR), it will give you a corresponding Proficiency modifier based on that CR. This template supports any CR up to 40.

To use, simply type the following, replacing "1" with whatever CR is appropriate.

{{profmod|1}}