Difference between revisions of "Template:UnderwaterAction"

From DDO Compendium
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
|example1 = <nowiki>{{UnderwaterAction}}</nowiki>
|example1 = <nowiki>{{UnderwaterAction}}</nowiki>
|example1output = {{UnderwaterAction}}
|example1output = {{UnderwaterAction}}
|example2 = <nowiki>{{UnderwaterAction|17}}</nowiki>
|example2output = {{UnderwaterAction|17}}
|parameter1name=Amout
|parameter1description=The amount of the bonus to swim, default is none.
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{EnchTitle|Underwater Action|Underwater Action}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:UnderwaterAction||[[Category:Items with Underwater Action]]}}This item grants its wearer the ability to breathe water as if it were air.}}</onlyinclude>
<onlyinclude>{{EnchTitle|Underwater Action|Underwater Action {{#if: {{{1|}}}|+{{{1}}}}}}}{{EnchBody|{{#if: {{{1|}}}|You have a +{{{1}}} Competence bonus to Swim and can breathe underwater.|This item grants its wearer the ability to breathe water as if it were air.}}}}{{EnchCat|UnderwaterAction|Items with Underwater Action|{{#if: {{{1|}}}|Items with Bonuses to Swim}}}}</onlyinclude>

Latest revision as of 02:29, 7 August 2021

UnderwaterAction[edit]

This template is used on equipment to add Underwater Action.

Example Usage
{{UnderwaterAction}}Underwater Action: This item grants its wearer the ability to breathe water as if it were air.
{{UnderwaterAction|17}}Underwater Action +17: You have a +17 Competence bonus to Swim and can breathe underwater.

Usage[edit]

{{UnderwaterAction|(Amout)}}

Parameter Documentation
AmoutThe amount of the bonus to swim, default is none.

Template

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


Underwater Action: This item grants its wearer the ability to breathe water as if it were air.