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) |
||
(One intermediate revision 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}} | ||
|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 11: | ||
|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 | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:ExpansionReceived||[[Category:{{{1}}} Expansion Items]]}} {{PageLink|{{{1}}}|{{{3|}}}}}: Part of the {{{2}}} Edition.</onlyinclude> | <onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:ExpansionReceived||[[Category:{{{1}}} Expansion Items]]}} {{PageLink|{{{1}}}|{{{3|}}}}}: Part of the {{#if: {{{4|}}}|pre-order bonus.|{{{2}}} Edition.}}</onlyinclude> |
Latest revision as of 15:59, 10 February 2023
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. |
Usage[edit]
{{ExpansionReceived|(Expansion)|(edition)|(link)|(pre-order only)}}
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 |
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.