Difference between revisions of "Template:ExpansionReceived"
From DDO Compendium
MNDeveloper (talk | contribs) (Created page with "<noinclude>{{TemplateDocumentation |name = ExpansionReceived |description = This template is used on equipment to correctly format where that equipment is received as part of...") |
MNDeveloper (talk | contribs) |
||
(6 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| | |example1 = <nowiki>{{ExpansionReceived|Masterminds of Sharn|Collector's}}</nowiki> | ||
|example1output = {{ExpansionReceived| | |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 11: | Line 13: | ||
|parameter3name = link | |parameter3name = link | ||
|parameter3description = Link to the expansion, if different from the name | |parameter3description = Link to the expansion, if different from the name | ||
|parameter4name = pre-order only | |||
|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 {{{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 | |
Expansion | This is the expansion the item came in |
edition | This is which edition of the expansion it was in |
link | Link to the expansion, if different from the name |
pre-order only | True if this is only for the pre-order |
Extra Requirements | Any 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.