Difference between revisions of "Template:ItemUpgrade2"

From DDO Compendium
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{TemplateDocumentation
<noinclude>{{TemplateDocumentation
|name = ItemUpgrad2
|name = ItemUpgrade2
|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>{{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>
|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 = {{ItemUpgradeTable|{{ItemUpgrade2|Naiis Elebor|Mournlode Shortsword (ML 8) (Tier 2)|{{VendorIngredientList|Jeweled Goblet|400|Crystallized Magma Shard|400|Mephit Wing|400}}||<span>Test</span>}}}}
|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|
|example2=<nowiki>{{ItemUpgrade2|Battle-Scarred|Katra's Razor Wit|
* Katra's Wit
* Katra's Wit
* Mark of Bal Molesh
* Mark of Bal Molesh
* Mark of Sheshka}}</nowiki>
* Mark of Sheshka}}</nowiki>
|example3output={{ItemUpgrade2|Battle-Scarred|Katra's Razor Wit|
|example2output={{ItemUpgrade2|Battle-Scarred|Katra's Razor Wit|
* Katra's Wit
* Katra's Wit
* Mark of Bal Molesh
* Mark of Bal Molesh
Line 25: Line 25:
}}
}}
</noinclude><onlyinclude>{{#switch: {{lc:{{#dplvar:vendorformat}}}}
</noinclude><onlyinclude>{{#switch: {{lc:{{#dplvar:vendorformat}}}}
|table=<tr><td>{{RenderLink|{{{1|}}}}}</td><td>{{#if: {{{5|}}}|{{IconImage|RightArrow}}<bootstrap_modal header="Upgrades" color="info" text="{{IconImage|RightArrowWithQuestion}}">{{{5}}}</bootstrap_modal>}}</td><td>{{RenderLink|{{{2}}}}}</td><td style="white-space: nowrap;">{{{3|}}}</td></tr>
|table=<tr><td>{{#if: {{{4|}}}|{{{4}}}|{{#if: {{{1|}}}|{{RenderLink|{{{1|}}}}}}}}}</td><td>{{#if: {{{5|}}}|<bootstrap_modal header="Upgrades" color="info" text="{{IconImage|RightArrowWithQuestion}}">{{{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}}}|{{#if: {{{1|}}}|{{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>}}{{#if: {{{1|}}}|{{EnchCat|ItemUpgrade2|Items Upgraded at {{{1}}}}}}}</onlyinclude>

Latest revision as of 03:41, 23 December 2024

ItemUpgrade2[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]

{{ItemUpgrade2|(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.