Difference between revisions of "Template:ExpansionReceived"

From DDO Compendium
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
|description = This template is used on equipment to correctly format where that equipment is received as part of an expansion.
|description = This template is used on equipment to correctly format where that equipment is received as part of an expansion.
|category = DropLocation Templates
|category = DropLocation Templates
|example1 = <nowiki>{{ExpansionReceived|Shadowfell Conspiracy|Legendary}}</nowiki>
|example1 = <nowiki>{{ExpansionReceived|Masterminds of Sharn|Collector's}}</nowiki>
|example1output = {{ExpansionReceived|Shadowfell Conspiracy|Legendary}}
|example1output = {{ExpansionReceived|Masterminds of Sharn|Collector's}}
|example2 = <nowiki>{{ExpansionReceived|Masterminds of Sharn|Collector's|||VIP Only}}</nowiki>
|example2output = {{ExpansionReceived|Masterminds of Sharn|Collector's|||VIP Only}}
|parameter1name = Expansion
|parameter1name = Expansion
|parameter1description = This is the expansion the item came in
|parameter1description = This is the expansion the item came in
Line 13: Line 15:
|parameter4name = pre-order only
|parameter4name = pre-order only
|parameter4description = True if this is only for the pre-order
|parameter4description = True if this is only for the pre-order
|parameter5name = Extra Requirements
|parameter5description = Any extra requirements to get this item.
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:ExpansionReceived||[[Category:{{{1}}} Expansion Items]]}} {{PageLink|{{{1}}}|{{{3|}}}}}: Part of the {{#if: {{{4|}}}|pre-order bonus.|{{{2}}} Edition.}}</onlyinclude>
<onlyinclude>{{#dplvar:set|seodroplocation|{{#dplvar:seodroplocation}}
* {{{1}}}: Part of the {{#if: {{{4|}}}|pre-order bonus. {{#if: {{{5|}}}|({{{5}}})}}|{{{2}}} Edition. {{#if: {{{5|}}}|({{{5}}})}}}} }}
{{#ifeq: {{FULLPAGENAME}} |Template:ExpansionReceived||[[Category:{{{1}}} Expansion Items]]}} {{PageLink|{{{1}}}|{{{3|}}}}}: Part of the {{#if: {{{4|}}}|pre-order bonus. {{#if: {{{5|}}}|{{ColorText|Teal|({{{5}}})}}}}|{{{2}}} Edition. {{#if: {{{5|}}}|{{ColorText|Teal|({{{5}}})}}}}}}</onlyinclude>

Latest revision as of 22:14, 22 December 2024

ExpansionReceived[edit]

This template is used on equipment to correctly format where that equipment is received as part of an expansion.

Example Usage
{{ExpansionReceived|Masterminds of Sharn|Collector's}}Masterminds of Sharn: Part of the Collector's Edition.
{{ExpansionReceived|Masterminds of Sharn|Collector's|||VIP Only}}Masterminds of Sharn: Part of the Collector's Edition. (VIP Only)

Usage[edit]

{{ExpansionReceived|(Expansion)|(edition)|(link)|(pre-order only)|(Extra Requirements)}}

Parameter Documentation
ExpansionThis is the expansion the item came in
editionThis is which edition of the expansion it was in
linkLink to the expansion, if different from the name
pre-order onlyTrue if this is only for the pre-order
Extra RequirementsAny extra requirements to get this item.

Template

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



[[{{{1}}}]]: Part of the {{{2}}} Edition.