Difference between revisions of "Template:ItemReplacement"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 15: | Line 15: | ||
|parameter2description = The release the replacement happened | |parameter2description = The release the replacement happened | ||
|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, if the default doesn't work. | ||
|parameter4name = Reason | |parameter4name = Reason | ||
|parameter4description = A reason to be displayed if appropriate. | |parameter4description = A reason to be displayed if appropriate. | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#switch: {{lc:{{{1}}}}} | <onlyinclude> | ||
| new = {{#ifeq: {{FULLPAGENAME}} |Template:ItemReplacement||[[Category:Items That Replaced Existing Items In {{{2}}}]]}} This item replaced a different version by SSG in {{{2}}}. | {{FULLPAGENAME}}<br> | ||
{{PAGENAME}}<br> | |||
{{BASEPAGENAME}}<br> | |||
{{ROOTPAGENAME}}<br> | |||
{{SUBPAGENAME}}<br> | |||
{{SUBJECTPAGENAME}}<br> | |||
{{ARTICLEPAGENAME}}<br> | |||
{{TALKPAGENAME}}<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}}}}}|}} 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}}}. [[{{{3}}}]] 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}}}. [[{{{3}}}]] is the current version. {{{4|}}} | ||
}}</onlyinclude> | }}</onlyinclude> |
Revision as of 13:03, 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)}} | Template:ItemReplacement 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}} | Template:ItemReplacement 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.
Template:ItemReplacement
ItemReplacement
ItemReplacement
ItemReplacement
ItemReplacement
Template:ItemReplacement
Template:ItemReplacement
Template talk:ItemReplacement