Difference between revisions of "Template:Accuracy"
From DDO Compendium
MNDeveloper (talk | contribs) |
|||
Line 1: | Line 1: | ||
<noinclude>[[Category:Template]][[Category:Item Enchantment Template]]{{TemplateDocumentation | |||
<noinclude> | |name = Accuracy | ||
|description = This template is used on equipment for the Accuracy enchantment. It shows the text of the enchantment as close as possible to the way it looks on an items examine window. | |||
|example1 = <nowiki>{{Accuracy|3}}</nowiki> | |||
|example1output = {{Accuracy|3}} | |||
|parameter1name = Enhancement Amount | |||
|parameter1description = This is the amount that accuracy is increased or decreased. A negative value here will produce "penalty" instead of "bonus". | |||
|parameter1values = | |||
|parameter2name = Bonus Type | |||
|parameter2description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to competence. | |||
|parameter2values = | |||
}} | |||
</noinclude> | </noinclude> | ||
<onlyinclude>[[Category: Items with {{{2|}}} Accuracy]][[Accuracy | '''{{{2|}}} Accuracy +{{{1}}}:''']] +{{{1}}} {{#if: {{{2|}}}|{{{2}}}|competence}} {{#ifexpr: {{{1}}} < 0 | penalty | bonus}} to your attack rolls.</onlyinclude> | <onlyinclude>[[Category: Items with {{{2|}}} Accuracy]][[Accuracy | '''{{{2|}}} Accuracy +{{{1}}}:''']] +{{{1}}} {{#if: {{{2|}}}|{{{2}}}|competence}} {{#ifexpr: {{{1}}} < 0 | penalty | bonus}} to your attack rolls.</onlyinclude> |
Revision as of 19:51, 4 May 2018
Accuracy[edit]
This template is used on equipment for the Accuracy enchantment. It shows the text of the enchantment as close as possible to the way it looks on an items examine window.
Example Usage | |
{{Accuracy|3}} | Accuracy +3: +3 competence bonus to your attack rolls. |
Usage[edit]
{{Accuracy|(Enhancement Amount)|(Bonus Type)}}
Parameter Documentation | |
Enhancement Amount | This is the amount that accuracy is increased or decreased. A negative value here will produce "penalty" instead of "bonus". |
Bonus Type | This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to competence. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Accuracy +{{{1}}}: +{{{1}}} competence Expression error: Unrecognized punctuation character "{". to your attack rolls.