Difference between revisions of "Template:Accuracy"

From DDO Compendium
(Created page with "=== Deadly === <noinclude>This template is used for all bonuses to weapon attack rolls.Category:Template Used in this manner: <br><nowiki>{{Accuracy|Modifier|ModType (opt...")
 
Line 5: Line 5:
<br><nowiki>{{Accuracy|Modifier|ModType (opt)}}</nowiki><br>
<br><nowiki>{{Accuracy|Modifier|ModType (opt)}}</nowiki><br>
<br>Such that <nowiki>{{Accuracy|+3}}</nowiki> results in<br>
<br>Such that <nowiki>{{Accuracy|+3}}</nowiki> results in<br>
<br>{{Deadly|+3}}<br>
<br>{{Accuracy|+3}}<br>
</noinclude>
</noinclude>


=== Template ===
=== Template ===
<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 22:07, 27 April 2018

Deadly[edit]

This template is used for all bonuses to weapon attack rolls.

Used in this manner:
{{Accuracy|Modifier|ModType (opt)}}

Such that {{Accuracy|+3}} results in

Accuracy +3: +3 competence bonus to your attack rolls.


Template[edit]

Accuracy {{{1}}}: {{{1}}} competence Expression error: Unrecognized punctuation character "{". to your attack rolls.