Difference between revisions of "Template:ItemUpgrade2"

From DDO Compendium
Line 3: Line 3:
|description = This template is used on equipment to correctly format the upgrade information about an item.
|description = This template is used on equipment to correctly format the upgrade information about an item.
|category = Item Templates
|category = Item Templates
|example1 = <nowiki>{{ItemUpgrade2|Epic Crafting|Epic Sword of Shadows}}</nowiki>
|example1 = <nowiki>{{ItemUpgradeTable|{{ItemUpgrade2|Naiis Elebor|Mournlode Shortsword (ML 8) (Tier 2)|{{VendorIngredientList|Jeweled Goblet|400|Crystallized Magma Shard|400|Mephit Wing|400}}||<span>Test</span>}}}}</nowiki>
|example1output = {{ItemUpgrade2|Epic Crafting|Epic Sword of Shadows}}
|example1output = {{ItemUpgradeTable|{{ItemUpgrade2|Naiis Elebor|Mournlode Shortsword (ML 8) (Tier 2)|{{VendorIngredientList|Jeweled Goblet|400|Crystallized Magma Shard|400|Mephit Wing|400}}||<span>Test</span>}}}}
|example3=<nowiki>{{ItemUpgrade2|Battle-Scarred|Katra's Razor Wit|
|example3=<nowiki>{{ItemUpgrade2|Battle-Scarred|Katra's Razor Wit|
* Katra's Wit
* Katra's Wit
Line 21: Line 21:
|parameter4name = Custom Linking
|parameter4name = Custom Linking
|parameter4description = Custom link to use instead of crafting method for other options.  Use [[Template:PageLink]] if you want a link.
|parameter4description = Custom link to use instead of crafting method for other options.  Use [[Template:PageLink]] if you want a link.
|parameter5name = Upgrade Changes
|parameter5description = This is the information about any changes.  Use [[Template:UpgradeChangeList]]
}}
}}
</noinclude><onlyinclude>{{#switch: {{lc:{{#dplvar:vendorformat}}}}
</noinclude><onlyinclude>{{#switch: {{lc:{{#dplvar:vendorformat}}}}
|table=<tr><td>{{RenderLink|{{{1|}}}}}</td><td>{{IconImage|RightArrow}}</td><td>{{RenderLink|{{{2}}}}}</td><td style="white-space: nowrap;">{{{3|}}}</td></tr>
|table=<tr><td>{{RenderLink|{{{1|}}}}}</td><td>{{#if: {{{5|}}}|<bootstrap_modal text="{{IconImage|RightArrow}}">{{{5}}}</bootstrap_modal>|{{IconImage|RightArrow}}}}</td><td>{{RenderLink|{{{2}}}}}</td><td style="white-space: nowrap;">{{{3|}}}</td></tr>


|#default=<table class="table table-striped table-condensed table-bordered"><tr><td>{{#if: {{{4|}}}|{{{4}}}|{{RenderLink|{{{1}}}}}}}</td></tr>
|#default=<table class="table table-striped table-condensed table-bordered"><tr><td>{{#if: {{{4|}}}|{{{4}}}|{{RenderLink|{{{1}}}}}}}</td></tr>
{{#if: {{{2|}}}|<tr><td>'''New Item'''<br>{{RenderLink|{{{2}}}}}</td></tr>}}{{#if: {{{3|}}}|<tr><td>'''Ingredients:'''<br>
{{#if: {{{2|}}}|<tr><td>'''New Item'''<br>{{RenderLink|{{{2}}}}}</td></tr>}}{{#if: {{{3|}}}|<tr><td>'''Ingredients:'''<br>
{{{3}}}</td></tr>}}</table>}}</onlyinclude>
{{{3}}}</td></tr>}}</table>}}</onlyinclude>

Revision as of 23:45, 18 April 2022

ItemUpgrad2[edit]

This template is used on equipment to correctly format the upgrade information about an item.

Example Usage
{{ItemUpgradeTable|{{ItemUpgrade2|Naiis Elebor|Mournlode Shortsword (ML 8) (Tier 2)|{{VendorIngredientList|Jeweled Goblet|400|Crystallized Magma Shard|400|Mephit Wing|400}}||<span>Test</span>}}}}
{{ItemUpgrade2|Battle-Scarred|Katra's Razor Wit| * Katra's Wit * Mark of Bal Molesh * Mark of Sheshka}}
Battle-Scarred
New Item
Katra's Razor Wit
Ingredients:
  • Katra's Wit
  • Mark of Bal Molesh
  • Mark of Sheshka

Usage[edit]

{{ItemUpgrad2|(Crafting Method)|(Upgraded Item Name)|(Ingredients)|(Custom Linking)|(Upgrade Changes)}}

Parameter Documentation
Crafting MethodThis is the method used to do the upgrade
Upgraded Item NameThis is the name of the item after it is upgraded
IngredientsBulleted list of ingredients needed for crafting
Custom LinkingCustom link to use instead of crafting method for other options. Use Template:PageLink if you want a link.
Upgrade ChangesThis is the information about any changes. Use Template:UpgradeChangeList

Template

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


[[{{{1}}}]]