Difference between revisions of "Template:Sheltering"

From DDO Compendium
Line 9: Line 9:
|example3 = <nowiki>{{Sheltering|3}}</nowiki>
|example3 = <nowiki>{{Sheltering|3}}</nowiki>
|example3output = {{Sheltering|3}}
|example3output = {{Sheltering|3}}
|example4 = <nowiki>{{Sheltering|30|Both|Profane|Bloodrage Defense|When you are holding a two-handed weapon}}</nowiki>
|example4output = {{Sheltering|3}}
|parameter1name = Enhancement Amount
|parameter1name = Enhancement Amount
|parameter1description = This is the amount that the rating is increased.
|parameter1description = This is the amount that the rating is increased.
Line 21: Line 23:
|parameter3description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.
|parameter3description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.
|parameter3values =  
|parameter3values =  
|parameter4name = Title
|parameter4description = This is the custom title for the enchantment.
|parameter4values =
|parameter5name = Text
|parameter5description = This is text to display before the actual enchantment description.
|parameter5values =
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{2}}}}}
<onlyinclude>{{#switch: {{lc:{{{2}}}}}
| magical = [[Category:Items with Magical Sheltering]]'''[[Resistance Rating#Magical|{{{3|}}} {{{2}}} Sheltering +{{{1}}}:]]''' Passive: +{{{1}}} {{{3|Enhancement}}} bonus to {{{2}}} Resistance Rating
| magical = [[Category:Items with Magical Sheltering]]'''[[Resistance Rating#Magical|{{#if: {{{4|}}}|{{{4}}}|{{{3|}}} {{{2}}} Sheltering +{{{1}}}}}:]]''' {{#if: {{{5|}}}|{{{5}}}, you gain|Passive:}} +{{{1}}} {{{3|Enhancement}}} bonus to {{{2}}} Resistance Rating
| physical = [[Category:Items with Physical Sheltering]]'''[[Resistance Rating#Physical|{{{3|}}} {{{2}}} Sheltering +{{{1}}}:]]''' Passive: +{{{1}}} {{{3|Enhancement}}} bonus to {{{2}}} Resistance Rating
| physical = [[Category:Items with Physical Sheltering]]'''[[Resistance Rating#Physical|{{#if: {{{4|}}}|{{{4}}}|{{{3|}}} {{{2}}} Sheltering +{{{1}}}}}:]]''' {{#if: {{{5|}}}|{{{5}}}, you gain|Passive:}} +{{{1}}} {{{3|Enhancement}}} bonus to {{{2}}} Resistance Rating
| #default = [[Category: Items with Sheltering]]'''[[Resistance Rating|{{{3|}}} Sheltering +{{{1}}}:]]''' +{{{1}}} {{{3|Enhancement}}} bonus to Physical and Magical Resistance Ratings
| #default = [[Category: Items with Sheltering]]'''[[Resistance Rating|{{#if: {{{4|}}}|{{{4}}}|{{{3|}}} Sheltering +{{{1}}}}}:]]''' {{#if: {{{5|}}}|{{{5}}}, you gain}} +{{{1}}} {{{3|Enhancement}}} bonus to Physical and Magical Resistance Ratings
}}
}}
</onlyinclude>
</onlyinclude>

Revision as of 18:14, 17 September 2018

Sheltering[edit]

This template is used on equipment for the Sheltering enchantment. Sheltering adds Magical Resistance Rating, Physical Resistance Rating, or both

Example Usage
{{Sheltering|20|Physical|Insight}}Insight Physical Sheltering +20: Passive: +20 Insight bonus to Physical Resistance Rating
{{Sheltering|13||Quality}}Quality Sheltering +13: +13 Quality bonus to Physical and Magical Resistance Ratings
{{Sheltering|3}}Sheltering +3: +3 Enhancement bonus to Physical and Magical Resistance Ratings
{{Sheltering|30|Both|Profane|Bloodrage Defense|When you are holding a two-handed weapon}}Sheltering +3: +3 Enhancement bonus to Physical and Magical Resistance Ratings

Usage[edit]

{{Sheltering|(Enhancement Amount)|(Rating)|(Bonus Type)|(Title)|(Text)}}

Parameter Documentation
Enhancement AmountThis is the amount that the rating is increased.
RatingThis is defines which rating is increased. If not specified it defaults to Both
Possible Values:
  • Physical
  • Magical
  • Both
Bonus TypeThis is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.
TitleThis is the custom title for the enchantment.
TextThis is text to display before the actual enchantment description.

Template

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


Sheltering +{{{1}}}: +{{{1}}} Enhancement bonus to Physical and Magical Resistance Ratings