Difference between revisions of "Template:ItemReplacement"

From DDO Compendium
Line 16: Line 16:
|parameter3name = Other Item Name
|parameter3name = Other Item Name
|parameter3description = This is the name of the other item
|parameter3description = This is the name of the other item
|parameter4name = Reason
|parameter4description = A reason to be displayed if appropriate.
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{#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}}}.  [[{{{3}}}]] is the older version.
| new = {{#ifeq: {{FULLPAGENAME}} |Template:ItemReplacement||[[Category:Items That Replaced Existing Items In {{{2}}}]]}} This item replaced a different version by SSG in {{{2}}}.  [[{{{3}}}]] is the older version. {{{4|}}}
| old = {{#ifeq: {{FULLPAGENAME}} |Template:ItemReplacement||[[Category:Items That Were Replaced In {{{2}}}]]}} This item was replaced by SSG in {{{2}}}.  [[{{{3}}}]] is the newer version.
| old = {{#ifeq: {{FULLPAGENAME}} |Template:ItemReplacement||[[Category:Items That Were Replaced In {{{2}}}]]}} This item was replaced by SSG in {{{2}}}.  [[{{{3}}}]] is the newer version. {{{4|}}}
}}</onlyinclude>
}}</onlyinclude>

Revision as of 20:48, 9 December 2020

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)}}This item replaced a different version by SSG in U41. Dusk, the Light Descends (Pre U41) is the older version.
{{ItemReplacement|Old|U41|Dusk, the Light Descends}}This item was replaced by SSG in U41. Dusk, the Light Descends is the newer version.

Usage[edit]

{{ItemReplacement|(Version)|(Release)|(Other Item Name)|(Reason)}}

Parameter Documentation
VersionWhich version is this template a part of, the old or the new
Possible Values:
  • Old
  • New
ReleaseThe release the replacement happened
Other Item NameThis is the name of the other item
ReasonA 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.