Difference between revisions of "Template:WeaponMod"
From DDO Compendium
MNDeveloper (talk | contribs) (Created page with "=== Weapon Mod === <noinclude>Category:Template This is used to handle the weapon mods, since some weapons have more than one. <br>Usage: <nowiki>{{WeaponMod|(attribute)}}...") |
MNDeveloper (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{TemplateDocumentation | |||
<noinclude> | |name = WeaponMod | ||
This is used | |description = This template is used for the attack and damage modifiers on weapons. | ||
|category = Item Templates | |||
|example1 = <nowiki>{{WeaponMod|STR|CHA}}</nowiki> | |||
|example1output = {{WeaponMod|STR|CHA}} | |||
|parameter1name = Ability | |||
|parameter1description = This is the abbreviation of an ability. You can add up to 10 ability parameters. | |||
|parameter1values = | |||
}} | |||
</noinclude> | </noinclude> | ||
<onlyinclude>[[{{uc:{{{1}}}}}]]{{#if: {{{2|}}}|, [[{{uc:{{{2}}}}}]]}}{{#if: {{{3|}}}|, [[{{uc:{{{3}}}}}]]}}{{#if: {{{4|}}}|, [[{{uc:{{{4}}}}}]]}}{{#if: {{{5|}}}|, [[{{uc:{{{5}}}}}]]}}{{#if: {{{6|}}}|, [[{{uc:{{{6}}}}}]]}}{{#if: {{{7|}}}|, [[{{uc:{{{7}}}}}]]}}{{#if: {{{8|}}}|, [[{{uc:{{{8}}}}}]]}}{{#if: {{{9|}}}|, [[{{uc:{{{9}}}}}]]}}{{#if: {{{10|}}}|, [[{{uc:{{{10}}}}}]]}}{{#ifeq: {{FULLPAGENAME}} |Template:WeaponMod||[[Category: Weapons using {{AbilityFromAbbr|{{{1}}}}} for Damage]]{{#if: {{{2|}}}|[[Category: Weapons using {{AbilityFromAbbr|{{{2}}}}} for Damage]]}}{{#if: {{{3|}}}|[[Category: Weapons using {{AbilityFromAbbr|{{{3}}}}} for Damage]]}}{{#if: {{{4|}}}|[[Category: Weapons using {{AbilityFromAbbr|{{{4}}}}} for Damage]]}}{{#if: {{{5|}}}|[[Category: Weapons using {{AbilityFromAbbr|{{{5}}}}} for Damage]]}}{{#if: {{{6|}}}|[[Category: Weapons using {{AbilityFromAbbr|{{{7}}}}} for Damage]]}}{{#if: {{{7|}}}|[[Category: Weapons using {{AbilityFromAbbr|{{{7}}}}} for Damage]]}}{{#if: {{{8|}}}|[[Category: Weapons using {{AbilityFromAbbr|{{{8}}}}} for Damage]]}}{{#if: {{{9|}}}|[[Category: Weapons using {{AbilityFromAbbr|{{{9}}}}} for Damage]]}}{{#if: {{{10|}}}|[[Category: Weapons using {{AbilityFromAbbr|{{{10}}}}} for Damage]]}}}} | |||
<onlyinclude>[[{{uc:{{{1}}}}}]]</onlyinclude> | </onlyinclude> |
Latest revision as of 12:59, 20 October 2023
WeaponMod[edit]
This template is used for the attack and damage modifiers on weapons.
Example Usage | |
{{WeaponMod|STR|CHA}} | STR, CHA |
Usage[edit]
{{WeaponMod|(Ability)}}
Parameter Documentation | |
Ability | This is the abbreviation of an ability. You can add up to 10 ability parameters. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[{{{1}}}]]