Difference between revisions of "Template:Sheltering"

From DDO Compendium
Line 1: Line 1:
<noinclude>Usage: <nowiki>{{Sheltering|(Modifier)|(Type)|(Mod Type)}}</nowiki><br><br>
<noinclude>[[Category:Template]][[Category:Item Enchantment Template]]{{TemplateDocumentation
 
|name = Sheltering  
* (Type) Leave this blank or include "All" if it is for both Physical and Magical
|description = This template is used on equipment for the Sheltering enchantment.  Sheltering adds Magical Resistance Rating, Physical Resistance Rating, or both
* (Mod Type) This is insight or such, leave blank if regular
|example1 = <nowiki>{{Sheltering|20|Physical|Insight}}</nowiki>
<br><br>Examples:
|example1output = {{Sheltering|20|Physical|Insight}}
 
|example2 = <nowiki>{{Sheltering|13||Quality}}</nowiki>
<br><nowiki>{{Sheltering|20|Physical|Insight}}</nowiki>
|example2output = {{Sheltering|13||Quality}}
 
|example3 = <nowiki>{{Sheltering|3}}</nowiki>
<br>{{Sheltering|20|Physical|Insight}}
|example3output = {{Sheltering|3}}
 
|parameter1name = Enhancement Amount
<br><nowiki>{{Sheltering|13||Quality}}</nowiki>
|parameter1description = This is the amount that the rating is increased.
 
|parameter1values =
<br>{{Sheltering|13||Quality}}
|parameter2name = Rating
 
|parameter2description = This is defines which rating is increased.  If not specified it defaults to Both
<br><nowiki>{{Sheltering|3}}</nowiki>
|parameter2values =
 
* Physical
<br>{{Sheltering|3}}
* Magical
[[Category:Template]]
* Both
 
|parameter3name = Bonus Type
 
|parameter3description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.
<br><br>
|parameter3values =
}}
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{{2}}}
<onlyinclude>{{#switch: {{lc:{{{2}}}}}
| Magical = [[Category:Items with Magical Sheltering]]'''[[Resistance Rating#Magical|{{{2}}} Sheltering +{{{1}}}:]]''' Passive: +{{{1}}} {{{3|Enhancement}}} bonus to {{{2}}} Resistance Rating
| magical = [[Category:Items with Magical Sheltering]]'''[[Resistance Rating#Magical|{{{2}}} Sheltering +{{{1}}}:]]''' Passive: +{{{1}}} {{{3|Enhancement}}} bonus to {{{2}}} Resistance Rating
| Physical = [[Category:Items with Physical Sheltering]]'''[[Resistance Rating#Physical|{{{2}}} Sheltering +{{{1}}}:]]''' Passive: +{{{1}}} {{{3|Enhancement}}} bonus to {{{2}}} Resistance Rating
| physical = [[Category:Items with Physical Sheltering]]'''[[Resistance Rating#Physical|{{{2}}} Sheltering +{{{1}}}:]]''' Passive: +{{{1}}} {{{3|Enhancement}}} bonus to {{{2}}} Resistance Rating
| #default = [[Category: Items with Sheltering]]'''[[Sheltering|{{{3|}}} Sheltering +{{{1}}}:]]''' +{{{1}}} {{{3|Enhancement}}} bonus to Physical and Magical Resistance Ratings
| #default = [[Category: Items with Sheltering]]'''[[Sheltering|{{{3|}}} Sheltering +{{{1}}}:]]''' +{{{1}}} {{{3|Enhancement}}} bonus to Physical and Magical Resistance Ratings
}}
}}
</onlyinclude>
</onlyinclude>

Revision as of 23:53, 5 May 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}}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

Usage[edit]

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

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.

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