Difference between revisions of "Template:ItemSetTitle"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 14: | Line 14: | ||
|parameter2description = The Category of all items in the set, if different than the title | |parameter2description = The Category of all items in the set, if different than the title | ||
}} | }} | ||
</noinclude><onlyinclude>{{#if: {{{2|}}}|{{#dplvar:set|nameforcat|{{{2}}}}}|{{#dplvar:set|nameforcat|{{{1|}}}}}}}{{Anchor|{{{1}}}}}'''{{{1}}}''' {{SmallLink|(Items)|:Category:Items in {{#ifeq: {{#explode:{{#dplvar:nameforcat}}| |0}}|The||the }}{{#dplvar:nameforcat}} Set}}</onlyinclude> | </noinclude><onlyinclude>{{#if: {{{2|}}}|{{#dplvar:set|nameforcat|{{{2}}}}}|{{#dplvar:set|nameforcat|{{{1|}}}}}}}{{Anchor|{{{1}}}}}'''{{{1}}}''' {{SmallLink|(Items)|:Category:Items in {{#ifeq: {{#explode:{{#dplvar:nameforcat}}| |0}}|The||the }}{{#dplvar:nameforcat}} Set}}{{#dplvar:set|nameforcat|}}</onlyinclude> |
Revision as of 16:57, 8 March 2023
ItemSetTitle[edit]
This template is used in the itemset page to render the name column
Example Usage | |
{{ItemSetTitle|Anger's Wrath}} | Anger's Wrath (Items) |
{{ItemSetTitle|The Labyrinthian Inferno}} | The Labyrinthian Inferno (Items) |
{{ItemSetTitle|Captain's Set|Captain's}} | Captain's Set (Items) |
Usage[edit]
{{ItemSetTitle|(set)|(category)}}
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 |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
{{{1}}} (Items)