Difference between revisions of "Template:ItemMaterialDR"

From DDO Compendium
Line 5: Line 5:
|example1 = <nowiki>{{ItemMaterialDR|Flametouched Iron}}</nowiki>
|example1 = <nowiki>{{ItemMaterialDR|Flametouched Iron}}</nowiki>
|example1output = {{ItemMaterialDR|Flametouched Iron}}
|example1output = {{ItemMaterialDR|Flametouched Iron}}
|example2 = <nowiki>{{ItemMaterialDR|Silver|Long Bow}}</nowiki>
|example2output = {{ItemMaterialDR|Silver|Long Bow}}
|parameter1name = Material
|parameter1name = Material
|parameter1description = This is the material that adds to the DR
|parameter1description = This is the material that adds to the DR
|parameter1values =  
|parameter2name = Item Type
|parameter2description = This is the type of item, as some types don't get the material benefit
}}
}}
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
Line 15: Line 18:
| silverbond = '''Silver, Alchemical:''' A complex process involving metallurgy and alchemy can bond silver to a weapon made of steel so that it bypasses the protective damage reduction of creatures such as lycanthropes and vampires.
| silverbond = '''Silver, Alchemical:''' A complex process involving metallurgy and alchemy can bond silver to a weapon made of steel so that it bypasses the protective damage reduction of creatures such as lycanthropes and vampires.
| silverthread = '''Silver Threaded:''' A complex process involving metallurgy and alchemy can weave silver into cloth so that it bypasses the protective damage reduction of creatures such as lycanthropes and vampires.
| silverthread = '''Silver Threaded:''' A complex process involving metallurgy and alchemy can weave silver into cloth so that it bypasses the protective damage reduction of creatures such as lycanthropes and vampires.
|silver = * '''Silver, Alchemical:''' A complex process involving metallurgy and alchemy can bond silver to a weapon made of steel so that it bypasses the protective damage reduction of creatures such as lycanthropes and vampires.
|silver = {{#switch: {{lc:{{{type}}}}}
| long bow | short bow =
|#default=* '''Silver, Alchemical:''' A complex process involving metallurgy and alchemy can bond silver to a weapon made of steel so that it bypasses the protective damage reduction of creatures such as lycanthropes and vampires.}}
|adamantine =* '''Adamantine:''' Found only in meteorites an the rarest of veins in magical areas, this ultrahard metal adds to the quality of a weapon or suit of armor. Weapons made of adamantine have the ability to bypass the protective damage reduction of certain monsters.
|adamantine =* '''Adamantine:''' Found only in meteorites an the rarest of veins in magical areas, this ultrahard metal adds to the quality of a weapon or suit of armor. Weapons made of adamantine have the ability to bypass the protective damage reduction of certain monsters.
|blueshine =* '''Everbright:''' Flecks of marble and pearl shimmer across this item, set within images of bursting stars and beaming suns. An everbright item will never take damage from rust or acid and can emit a Blinding Flash 3/rest.
|blueshine =* '''Everbright:''' Flecks of marble and pearl shimmer across this item, set within images of bursting stars and beaming suns. An everbright item will never take damage from rust or acid and can emit a Blinding Flash 3/rest.

Revision as of 19:12, 2 April 2019

ItemMaterialDR[edit]

This is the template for the DR text that shows in the enhancement section of any item for material types. Add new descriptions as needed. This is automatically included in the templates for the weapons/items, etc.

Example Usage
{{ItemMaterialDR|Flametouched Iron}}* Flametouched Iron: Mined only in Thrane, flametouched iron is rare and considered sacred by the Church of the Silver Flame. When mined, this iron variety has a speckled dark red color, resembling rust. Adherents of the Church of the Silver Flame believe that flametouched iron carries the particular blessing of their deity, and they use it to make holy symbols, weapons, and armor A flametouched iron weapon is treated as a good-aligned weapon.
{{ItemMaterialDR|Silver|Long Bow}}* Silver, Alchemical: A complex process involving metallurgy and alchemy can bond silver to a weapon made of steel so that it bypasses the protective damage reduction of creatures such as lycanthropes and vampires.

Usage[edit]

{{ItemMaterialDR|(Material)|(Item Type)}}

Parameter Documentation
MaterialThis is the material that adds to the DR
Item TypeThis is the type of item, as some types don't get the material benefit

Template

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