Difference between revisions of "Template:CustomEnhancement"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|category=Item Enchantment Template | |category=Item Enchantment Template | ||
|usesnamedparameters = | |usesnamedparameters = | ||
|example1=<nowiki>{{CustomEnhancement|Venomed Ammunition|On Ranged Attack: {{Dice||1|2}} Poison Damage}}</nowiki> | |||
|example1output={{CustomEnhancement|Venomed Ammunition|On Ranged Attack: {{Dice||1|2}} Poison Damage}} | |||
|example2=<nowiki>{{CustomEnhancement|Venomed Ammunition|On Ranged Attack: {{Dice||1|2}} Poison Damage|||True}}</nowiki> | |||
|example2output={{CustomEnhancement|Venomed Ammunition|On Ranged Attack: {{Dice||1|2}} Poison Damage|||True}} | |||
|parameter1name = Title | |parameter1name = Title | ||
|parameter1description = The title of the effect | |parameter1description = The title of the effect | ||
Line 15: | Line 19: | ||
|parameter5name = Text Only | |parameter5name = Text Only | ||
|parameter5description = Set to True if this is only text, no page. | |parameter5description = Set to True if this is only text, no page. | ||
}}</noinclude><onlyinclude>{{#if: {{{ | }}</noinclude><onlyinclude>{{EnchTitle|{{#if: {{{4|}}}|{{{4}}}|{{{1|}}}}}|{{{1}}}||{{{5|}}}}}{{EnchBody|{{#if: {{{5|}}}|{{{2|}}}{{#if: {{{3|}}}|<br><br><span style="color:#6e5c8e">{{{3}}}</span>}}|{{{2|}}}{{#if: {{{3|}}}|<br><br><span style="color:#6e5c8e">{{{3}}}</span>}}}}}}{{EnchCat|CustomEnhancement|Items with Custom Enhancements (Template)|{{#if: {{{5|}}}||Items with {{{1|}}}}}}}</onlyinclude> |
Latest revision as of 20:30, 10 August 2020
CustomEnhancement[edit]
Adds a custom enhancement.
For people looking for pages using this template, link is Category:Items with Custom Enhancements (Template)
Example Usage | |
{{CustomEnhancement|Venomed Ammunition|On Ranged Attack: {{Dice||1|2}} Poison Damage}} | Venomed Ammunition: On Ranged Attack: 1d2 Poison Damage |
{{CustomEnhancement|Venomed Ammunition|On Ranged Attack: {{Dice||1|2}} Poison Damage|||True}} | Venomed Ammunition: On Ranged Attack: 1d2 Poison Damage |
Usage[edit]
{{CustomEnhancement|(Title)|(Description)|(quote)|(Link)|(Text Only)}}
Parameter Documentation | |
Title | The title of the effect |
Description | The description of the effect |
quote | If there is a colored quote in the enchantmnt |
Link | Link to the enchantment page, if different from title |
Text Only | Set to True if this is only text, no page. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
{{{1}}}: