Difference between revisions of "Template:ItemSetTitle"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 18: | Line 18: | ||
|parameter3description = Text that will show in the spot for the category. Used for item sets that are only craft only | |parameter3description = Text that will show in the spot for the category. Used for item sets that are only craft only | ||
}} | }} | ||
</noinclude><onlyinclude>{{#if: {{{2|}}}|{{#dplvar:set|nameforcat|{{{2}}}}}|{{#dplvar:set|nameforcat|{{{1|}}}}}}}{{Anchor|{{{1}}}}}'''{{{1}}}''' {{#if: {{{3|}}}|<span style="font-size:.75em">({{{3|}}})</span>|{{SmallLink|(Items)|:Category:Items in {{#ifeq: {{#explode:{{#dplvar:nameforcat}}| |0}}|The||the }}{{#dplvar:nameforcat}} Set}}}}{{#dplvar:set|nameforcat|}}</onlyinclude> | </noinclude><onlyinclude>{{#if: {{{2|}}}|{{#dplvar:set|nameforcat|{{{2}}}}}|{{#dplvar:set|nameforcat|{{{1|}}}}}}}{{Anchor|{{{1}}}}}'''{{{1}}}''' {{#if: {{{3|}}}|<span style="font-size:.75em">({{{3|}}})</span>|{{SmallLink|(Items)|{{#if: {{#dplvar:nameforcat}}|:Category:Items in {{#ifeq: {{#explode:{{#dplvar:nameforcat}}| |0}}|The||the }}{{#dplvar:nameforcat}} Set}}}}}}{{#dplvar:set|nameforcat|}}</onlyinclude> |
Latest revision as of 03:13, 22 February 2025
ItemSetTitle[edit]
This template is used in the itemset page to render the name column
Example Usage | |
{{ItemSetTitle|Anger's Wrath}} | Anger's Wrath [[
|
{{ItemSetTitle|The Labyrinthian Inferno}} | The Labyrinthian Inferno [[
|
{{ItemSetTitle|Captain's Set|Captain's}} | Captain's Set [[
|
{{ItemSetTitle|Legendary Heart of Blades||[[Lost Purpose]] Crafting Only}} | Legendary Heart of Blades (Lost Purpose Crafting Only) |
Usage[edit]
{{ItemSetTitle|(set)|(category)|(other)}}
Parameter Documentation | |
set | This is the Name of the item set |
category | The Category of all items in the set, if different than the title |
other | Text that will show in the spot for the category. Used for item sets that are only craft only |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
{{{1}}} (Items)