Difference between revisions of "Template:UpgradeChangeList"

From DDO Compendium
Tag: Reverted
Tag: Manual revert
 
Line 10: Line 10:
|parameter2name = To
|parameter2name = To
|parameter2description = The enchantment that is on the new version
|parameter2description = The enchantment that is on the new version
}}</noinclude><onlyinclude>{{#dplvar:set|enhview|titleonly}}v{{#dplvar:enhview}}v{{#if: {{{1|}}}{{{2|}}}|* v{{#dplvar:enhview}}v{{#if: {{{1|}}}|{{#if: {{{2|}}}|{{{1}}}&nbsp;►&nbsp;{{{2}}}|v{{#dplvar:enhview}}vRemoves {{{1}}}}}|Adds {{{2}}}}}}}{{#if: {{{3|}}}{{{4|}}}|* {{#if: {{{3|}}}|{{#if: {{{4|}}}|{{{3}}}&nbsp;►&nbsp;{{{4}}}|Removes {{{3}}}}}|Adds {{{4}}}}}}}{{#if: {{{5|}}}{{{6|}}}|* {{#if: {{{5|}}}|{{#if: {{{6|}}}|{{{5}}}&nbsp;►&nbsp;{{{6}}}|Removes {{{5}}}}}|Adds {{{6}}}}}}}{{#if: {{{7|}}}{{{8|}}}|* {{#if: {{{7|}}}|{{#if: {{{8|}}}|{{{7}}}&nbsp;►&nbsp;{{{8}}}|Removes {{{7}}}}}|Adds {{{8}}}}}}}{{#if: {{{9|}}}{{{10|}}}|* {{#if: {{{9|}}}|{{#if: {{{10|}}}|{{{9}}}&nbsp;►&nbsp;{{{10}}}|Removes {{{9}}}}}|Adds {{{10}}}}}}}{{#if: {{{11|}}}{{{12|}}}|* {{#if: {{{11|}}}|{{#if: {{{12|}}}|{{{11}}}&nbsp;►&nbsp;{{{12}}}|Removes {{{11}}}}}|Adds {{{12}}}}}}}{{#if: {{{13|}}}{{{14|}}}|* {{#if: {{{13|}}}|{{#if: {{{14|}}}|{{{13}}}&nbsp;►&nbsp;{{{14}}}|Removes {{{13}}}}}|Adds {{{14}}}}}}}{{#if: {{{15|}}}{{{16|}}}|* {{#if: {{{15|}}}|{{#if: {{{16|}}}|{{{15}}}&nbsp;►&nbsp;{{{16}}}|Removes {{{15}}}}}|Adds {{{16}}}}}}}{{#if: {{{17|}}}{{{18|}}}|* {{#if: {{{17|}}}|{{#if: {{{18|}}}|{{{17}}}&nbsp;►&nbsp;{{{18}}}|Removes {{{17}}}}}|Adds {{{18}}}}}}}{{#if: {{{19|}}}{{{20|}}}|* {{#if: {{{19|}}}|{{#if: {{{20|}}}|{{{19}}}&nbsp;►&nbsp;{{{20}}}|Removes {{{19}}}}}|Adds {{{20}}}}}}}{{#dplvar:set|enhview|}}</onlyinclude>
}}</noinclude><onlyinclude>{{#dplvar:set|enhview|titleonly}}{{#if: {{{1|}}}{{{2|}}}|* {{#if: {{{1|}}}|{{#if: {{{2|}}}|{{{1}}}&nbsp;►&nbsp;{{{2}}}|Removes {{{1}}}}}|Adds {{{2}}}}}}}{{#if: {{{3|}}}{{{4|}}}|* {{#if: {{{3|}}}|{{#if: {{{4|}}}|{{{3}}}&nbsp;►&nbsp;{{{4}}}|Removes {{{3}}}}}|Adds {{{4}}}}}}}{{#if: {{{5|}}}{{{6|}}}|* {{#if: {{{5|}}}|{{#if: {{{6|}}}|{{{5}}}&nbsp;►&nbsp;{{{6}}}|Removes {{{5}}}}}|Adds {{{6}}}}}}}{{#if: {{{7|}}}{{{8|}}}|* {{#if: {{{7|}}}|{{#if: {{{8|}}}|{{{7}}}&nbsp;►&nbsp;{{{8}}}|Removes {{{7}}}}}|Adds {{{8}}}}}}}{{#if: {{{9|}}}{{{10|}}}|* {{#if: {{{9|}}}|{{#if: {{{10|}}}|{{{9}}}&nbsp;►&nbsp;{{{10}}}|Removes {{{9}}}}}|Adds {{{10}}}}}}}{{#if: {{{11|}}}{{{12|}}}|* {{#if: {{{11|}}}|{{#if: {{{12|}}}|{{{11}}}&nbsp;►&nbsp;{{{12}}}|Removes {{{11}}}}}|Adds {{{12}}}}}}}{{#if: {{{13|}}}{{{14|}}}|* {{#if: {{{13|}}}|{{#if: {{{14|}}}|{{{13}}}&nbsp;►&nbsp;{{{14}}}|Removes {{{13}}}}}|Adds {{{14}}}}}}}{{#if: {{{15|}}}{{{16|}}}|* {{#if: {{{15|}}}|{{#if: {{{16|}}}|{{{15}}}&nbsp;►&nbsp;{{{16}}}|Removes {{{15}}}}}|Adds {{{16}}}}}}}{{#if: {{{17|}}}{{{18|}}}|* {{#if: {{{17|}}}|{{#if: {{{18|}}}|{{{17}}}&nbsp;►&nbsp;{{{18}}}|Removes {{{17}}}}}|Adds {{{18}}}}}}}{{#if: {{{19|}}}{{{20|}}}|* {{#if: {{{19|}}}|{{#if: {{{20|}}}|{{{19}}}&nbsp;►&nbsp;{{{20}}}|Removes {{{19}}}}}|Adds {{{20}}}}}}}{{#dplvar:set|enhview|}}</onlyinclude>

Latest revision as of 15:39, 25 August 2023

UpgradeChangeList[edit]

Template for a consistent appearance of upgrades as part of the ItemUpgrade template

Example Usage
{{UpgradeChangeList|{{EnhancementBonus|2}}|{{EnhancementBonus|3}}|{{Bane|Undead|2||10}}|{{Bane|Undead|3||10}}||{{EmptyAugments|Purple}}||{{Bane|Undead|3||10}}|{{Ghostly}}|{{Ethereal}}}}* +2 Enhancement Bonus ► +3 Enhancement Bonus

Usage[edit]

Parameter Documentation
FromThe enchantment that is on the current version (these 2 can be repeated 10 time). If this is blank, but to exists, it becomes an "Add"
ToThe enchantment that is on the new version

Template

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