Difference between revisions of "Template:ItemReplacement"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 20: | Line 20: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#switch: {{lc:{{{1}}}}} | <onlyinclude>{{#replace:{{ROOTPAGENAME}}| (Pre {{{2|}}}}})|}}<br><br>{{#switch: {{lc:{{{1}}}}} | ||
| new = {{#ifeq: {{FULLPAGENAME}} |Template:ItemReplacement||[[Category:Items That Replaced Existing Items In {{{2}}}]]}} This item replaced a different version by SSG in {{{2}}}. {{#if: {{{3|}}}|{{RenderLink|{{{3}}}}}|[[{{ROOTPAGENAME}} (Pre {{{2|}}})]]}} is the previous version. {{{4|}}} | | new = {{#ifeq: {{FULLPAGENAME}} |Template:ItemReplacement||[[Category:Items That Replaced Existing Items In {{{2}}}]]}} This item replaced a different version by SSG in {{{2}}}. {{#if: {{{3|}}}|{{RenderLink|{{{3}}}}}|[[{{ROOTPAGENAME}} (Pre {{{2|}}})]]}} is the previous version. {{{4|}}} | ||
| old = {{#ifeq: {{FULLPAGENAME}} |Template:ItemReplacement||[[Category:Items That Were Replaced In {{{2}}}]]}} This item was replaced by SSG in {{{2}}}. {{#if: {{{3|}}}|{{RenderLink|{{{3}}}}}|[[{{#replace:{{ROOTPAGENAME}}| (Pre {{{2|}}}}})|}}]]}} is the current version. {{{4|}}} | | old = {{#ifeq: {{FULLPAGENAME}} |Template:ItemReplacement||[[Category:Items That Were Replaced In {{{2}}}]]}} This item was replaced by SSG in {{{2}}}. {{#if: {{{3|}}}|{{RenderLink|{{{3}}}}}|[[{{#replace:{{ROOTPAGENAME}}| (Pre {{{2|}}}}})|}}]]}} is the current version. {{{4|}}} | ||
}}</onlyinclude> | }}</onlyinclude> |
Revision as of 13:15, 18 August 2021
ItemReplacement[edit]
This template is used on the replaced field to specify information about its replacement.
Example Usage | |
{{ItemReplacement|New|U41|Dusk, the Light Descends (Pre U41)}} | ItemReplacement)|}} This item replaced a different version by SSG in U41. Dusk, the Light Descends (Pre U41) is the previous version. |
{{ItemReplacement|Old|U41|Dusk, the Light Descends}} | ItemReplacement)|}} This item was replaced by SSG in U41. Dusk, the Light Descends is the current version. |
Usage[edit]
{{ItemReplacement|(Version)|(Release)|(Other Item Name)|(Reason)}}
Parameter Documentation | |
Version | Which version is this template a part of, the old or the new Possible Values:
|
Release | The release the replacement happened |
Other Item Name | This is the name of the other item, if the default doesn't work. |
Reason | A reason to be displayed if appropriate. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
ItemReplacement)|}}