Template:Profmod
From D&D Wiki
Usage
Give this number a numerical Challenge Rating (CR), and it will give you a corresponding Proficiency modifier based on that CR. To use it, type or paste the following:
{{profmod|1}}
The above will return the appropriate proficiency modifier of a CR 1 creature, which is "+2". When typing it yourself, replace "1" with the Challenge Rating of the creature to display the appropriate proficiency modifier. If the CR is non-numeric or undefined, the template defaults to a proficiency bonus of +2.