Difference between revisions of "Template:ItemEnchantmentReplace"

From DDO Compendium
 
(13 intermediate revisions by 2 users not shown)
Line 39: Line 39:
|parameter2name = Where
|parameter2name = Where
|parameter2description = This the type of crafting that is used
|parameter2description = This the type of crafting that is used
|parameter2name = New item
|parameter3name = New item
|parameter3description = The page for the new item, use [[Template:PageLink]]
|parameter3description = The page for the new item, use [[Template:PageLink]]
|parameter3name = Ingredients
|parameter4name = Ingredients
|parameter4description = Bulleted list of ingredients needed for crafting
|parameter4description = Bulleted list of ingredients needed for crafting
|parameter5name = New
|parameter5name = New
Line 47: Line 47:
}}
}}
</noinclude>
</noinclude>
<onlyinclude><table class="compendiumtable fullwidth background-color"><tr><td class="header">{{{2}}}{{#if: {{{3|}}}|<br>{{{3}}}}}</td></tr><tr><td>'''Removed'''<br>
<onlyinclude>{{#dplvar:set|ItemEnchantmentReplaceTemp|{{#dplvar:enhview}}}}{{#dplvar:set|enhview|titleonly}}<table class="table table-striped table-condensed table-bordered">{{#if: {{{2|}}}|<tr><td>{{{2}}}</td></tr>}}{{#if: {{{3|}}}|<tr><td>'''New Item'''<br>{{{3}}}</td></tr>}}{{#if: {{{1|}}}|<tr><td>'''Removed'''<br>
{{{1}}}</td></tr><tr><td>{{#if: {{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}|'''Adds one of the following groups'''</td></tr><tr><td>
{{{1}}}</td></tr>}}{{#if: {{{5|}}}|<tr><td>{{#if: {{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}|'''One Group is Added:'''</td></tr><tr><td>
{{{5}}}{{#if: {{{6|}}}|</td></tr><tr><td>
{{{5}}}{{#if: {{{6|}}}|</td></tr><tr><td>
{{{6}}}}}{{#if: {{{7|}}}|</td></tr><tr><td>
{{{6}}}}}{{#if: {{{7|}}}|</td></tr><tr><td>
Line 62: Line 62:
{{{16}}}}}{{#if: {{{17|}}}|</td></tr><tr><td>
{{{16}}}}}{{#if: {{{17|}}}|</td></tr><tr><td>
{{{17}}}}}|'''Added'''<br>
{{{17}}}}}|'''Added'''<br>
{{{5}}}}}</td></tr><tr><td>'''Ingredients'''<br>
{{{5}}}}}</td></tr>}}{{#if: {{{4|}}}|<tr><td>'''Ingredients'''<br>
{{{4}}}</td></tr></table></onlyinclude>
{{{4}}}</td></tr>}}</table>{{#dplvar:set|enhview|{{#dplvar:ItemEnchantmentReplaceTemp}}}}{{#dplvar:set|enhview|{{#dplvar:ItemEnchantmentReplace}}}}</onlyinclude>

Latest revision as of 11:36, 15 November 2021

ItemEnchantmentReplace[edit]

This template is used on equipment to specify crafting that replaces one enchantement with one or more others.

Example Usage
{{ItemEnchantmentReplace|{{NearlyFinished}}|Cannith Reforging Station|| * 1 Pliable Ingot * 1 Metallic Ingot * 1 Dense Ingot * 1 Lesser Cannith Power Cell| * {{TrueSeeing}} * {{SneakAttack|5}}}}
Cannith Reforging Station
Removed
Nearly Finished
Added
Ingredients
  • 1 Pliable Ingot
  • 1 Metallic Ingot
  • 1 Dense Ingot
  • 1 Lesser Cannith Power Cell
{{ItemEnchantmentReplace|{{NearlyFinished}}|Nearly Finished|| * 1 Energizing Alloy * 1 Reforged Pliable Ingot * 1 Reforged Metallic Ingot * 1 Caustic Compound| {{Ability|Strength|8}}| {{Ability|Dexterity|8}}| {{Ability|Intelligence|8}} }}
Nearly Finished
Removed
Nearly Finished
One Group is Added:
Strength +8
Dexterity +8
Intelligence +8
Ingredients
  • 1 Energizing Alloy
  • 1 Reforged Pliable Ingot
  • 1 Reforged Metallic Ingot
  • 1 Caustic Compound

Usage[edit]

{{ItemEnchantmentReplace|(Existing)|(Where)|(New item)|(Ingredients)|(New)}}

Parameter Documentation
ExistingThis of the name of the enchantment that is being replaced.
WhereThis the type of crafting that is used
New itemThe page for the new item, use Template:PageLink
IngredientsBulleted list of ingredients needed for crafting
NewThis is a bulleted list of enchantements that are added. You can use the existing Item Enchantements to show them. This can be repeated 10 times if there are different options for the same ingredients.

Template

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