Difference between revisions of "Template:ItemCritProfile"

From DDO Compendium
Line 3: Line 3:
|description = This template is used on equipment to define the crit profile value
|description = This template is used on equipment to define the crit profile value
|category = Item Templates
|category = Item Templates
|example1 = <nowiki>{{ItemCritProfile|20||3}}</nowiki>
|example1 = <nowiki>{{ItemCritProfile||3}}</nowiki>
|example1output = {{ItemCritProfile|20||3}}
|example1output = {{ItemCritProfile||3}}
|example2 = <nowiki>{{ItemCritProfile|18|20|2}}</nowiki>
|example2 = <nowiki>{{ItemCritProfile|18|2}}</nowiki>
|example2output = {{ItemCritProfile|18|20|2}}
|example2output = {{ItemCritProfile|18|2}}
|parameter1name = Low Roll
|parameter1name = Low Roll
|parameter1description = This is the low roll that is a crit, if there is only one, put it here
|parameter1description = This is the low roll that is a crit, if there is only one, put it here
|parameter1values =  
|parameter1values =  
|parameter2name = High Roll
|parameter2name = multiplier
|parameter2description = This high roll that is a crit, leave blank if there is only a single value
|parameter2description = This is the crit multipler
|parameter2values =  
|parameter2values =  
|parameter3name = multiplier
|parameter3description = This is the crit multipler
|parameter3values =
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{{1}}}{{#if: {{{2|}}}|&nbsp;-&nbsp;{{{2}}}}}&nbsp;/&nbsp;x{{{3}}}</onlyinclude>
<onlyinclude>{{#if: {{{1|}}}|{{{1}}}&nbsp;-&nbsp;}}20&nbsp;/&nbsp;x{{{2}}}</onlyinclude>

Revision as of 18:37, 16 September 2018

ItemCritProfile[edit]

This template is used on equipment to define the crit profile value

Example Usage
{{ItemCritProfile||3}}20 / x3
{{ItemCritProfile|18|2}}18 - 20 / x2

Usage[edit]

{{ItemCritProfile|(Low Roll)|(multiplier)}}

Parameter Documentation
Low RollThis is the low roll that is a crit, if there is only one, put it here
multiplierThis is the crit multipler

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


20 / x{{{2}}}