Difference between revisions of "Template:ItemUpgrade2"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
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|}}}|<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> | |table=<tr><td>{{#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>}}</onlyinclude> |
Revision as of 02:43, 21 May 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}} |
|
Usage[edit]
{{ItemUpgrad2|(Crafting Method)|(Upgraded Item Name)|(Ingredients)|(Custom Linking)|(Upgrade Changes)}}
Parameter Documentation | |
Crafting Method | This is the method used to do the upgrade |
Upgraded Item Name | This is the name of the item after it is upgraded |
Ingredients | Bulleted list of ingredients needed for crafting |
Custom Linking | Custom link to use instead of crafting method for other options. Use Template:PageLink if you want a link. |
Upgrade Changes | This 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.