Difference between revisions of "Template:ItemSet"

From DDO Compendium
 
(66 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>{{TemplateDocumentation
A set bonus is a bonus that is granted when you are wearing the correct number of items from the same set.
|name = ItemSet
To insert a Item Set use Item_Set|setname
|description = This template is used on equipment to add some set bonus descriptions to an item.
<br><nowiki>{{Item_Set|Epic Griffon}}</nowiki>
|category = Item Enchantment Template
<br>{{Item_Set|Epic Griffon}}
|example1 = <nowiki>{{ItemSet|Epic Griffon}}</nowiki>
<br><nowiki>{{Item_Set|Epic The Devil's Handiwork}}</nowiki>
|example1output = {{ItemSet|Epic Griffon}}
<br>{{Item_Set|Epic The Devil's Handiwork}}
|example2 = <nowiki>{{ItemSet|Way of the Sun Soul}}</nowiki>
</noinclude>
|example2output = {{ItemSet|Way of the Sun Soul}}
 
|example3 = <nowiki>{{ItemSet|Troubleshooter}}</nowiki>
== The Template ==
|example3output = {{ItemSet|Troubleshooter}}
<onlyinclude>[[Category:Set {{{1}}}]][[Named Item Sets#{{{1}}}|{{{1}}}]]'''{{{1}}} Set:''' {{#switch: {{{1}}}
|example4 = <nowiki>{{ItemSet|Vol's Influence||True}}</nowiki>
| Epic Griffon = While wearing both items from the Griffon Set, you gain:
|example4output = {{ItemSet|Vol's Influence||True}}
 
|parameter1name = Set Name
+2 Quality bonus to Constitution
|parameter1description = This is the name of the set being added
| Epic The Devil's Handiwork = While wearing five items from the The Devil's Handiwork, you gain:
|parameter1values = Any name from the first column of any set in [[Item Sets]]
 
|parameter2name = Disable Category
+3 Quality bonus to all Ability stats}}
|parameter2description = If this item is populated then the category is disabled.
</onlyinclude>
|parameter3name = Disable Title
<noinclude>
|parameter3description = If this item is populated then the title won't be shown.
[[Category:Template]]
}}
</noinclude>
</noinclude>
<onlyinclude>{{#dplvar:set|itemsetdisablecat|{{{2|}}}}}{{#dplvar:set|nameforcat|{{#replace:{{{1}}}|Set|}}}}{{#if: {{{3|}}}|&nbsp;|{{EnchTitle|Item Sets#{{{1}}}|{{{1}}}}}}}{{EnchBody|
{{#lst:Item Sets|{{lc:{{{1}}}}}}}}}{{#ifeq: {{FULLPAGENAME}} |Template:ItemSetList||{{#if: {{{2|}}}||{{EnchCat|ItemSet|Items in {{#ifeq: {{#explode:{{#dplvar:nameforcat}}| |0}}|The||the&nbsp;}}{{#dplvar:nameforcat}} Set|Items with a Set Bonus}}}}}}{{#dplvar:set|itemsetdisablecat|}}</onlyinclude>

Latest revision as of 16:49, 11 August 2023

ItemSet[edit]

This template is used on equipment to add some set bonus descriptions to an item.

Example Usage
{{ItemSet|Epic Griffon}}Epic Griffon: While wearing both items from the Epic Griffon Set, you gain:
+2 Quality bonus to Constitution
{{ItemSet|Way of the Sun Soul}}Way of the Sun Soul: This item is one of three parts of the Way of the Sun Soul set. When all three items from the set are equipped and you are centered, you will gain +2 to To-Hit and Damage rolls. In addition, when you roll a natural 20 on an attack roll that is confirmed as a critical hit, you will gain a temporary benefit based on the elemental stance you are in, if any. Stance options:
{{ItemSet|Troubleshooter}}Troubleshooter: This item is one of two pieces of the Troubleshooter set. When both items are equipped you will receive +1 insight bonus to Fortitude, Reflex, and Willpower saves, +3 Open Locks, and +3 to Disable Device.
{{ItemSet|Vol's Influence||True}} 
  • 3 Pieces Equipped:
  • +20 Artifact Bonus to Universal Spell Power
    +2% Artifact Bonus to Spell Critical Chance
    +5% Legendary Bonus to Spell Critical Damage
    +1 Artifact Bonus to Spell DCs

    Usage[edit]

    {{ItemSet|(Set Name)|(Disable Category)|(Disable Title)}}

    Parameter Documentation
    Set NameThis is the name of the set being added
    Possible Values: Any name from the first column of any set in Item Sets
    Disable CategoryIf this item is populated then the category is disabled.
    Disable TitleIf this item is populated then the title won't be shown.

    Template

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


    [[Item Sets#{{{1}}}|{{{1}}}:]]