Difference between revisions of "Template:CustomEnhancement"

From DDO Compendium
m
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{Template:TemplateDocumentation
<noinclude>{{Template:TemplateDocumentation
|name = CustomEnhancement
|name = CustomEnhancement
|description = Adds a custom enhancement
|description = Adds a custom enhancement.
For people looking for pages using this template, link is [[:Category:Items with Custom Enhancements (Template)]]
|category=Item Enchantment Template
|usesnamedparameters =  
|usesnamedparameters =  
|example1 =  
|example1=<nowiki>{{CustomEnhancement|Venomed Ammunition|On Ranged Attack: {{Dice||1|2}} Poison Damage}}</nowiki>
|example1output =  
|example1output={{CustomEnhancement|Venomed Ammunition|On Ranged Attack: {{Dice||1|2}} Poison Damage}}
|example2 =  
|example2=<nowiki>{{CustomEnhancement|Venomed Ammunition|On Ranged Attack: {{Dice||1|2}} Poison Damage|||True}}</nowiki>
|example2output =  
|example2output={{CustomEnhancement|Venomed Ammunition|On Ranged Attack: {{Dice||1|2}} Poison Damage|||True}}
|example3 =
|example3output =
|example4 =
|example4output =
|parameter1name = Title
|parameter1name = Title
|parameter1description = The title of the effect  
|parameter1description = The title of the effect  
|parameter1values =
|parameter2name = Description
|parameter2name = Description
|parameter2description = The description of the effect
|parameter2description = The description of the effect
|parameter2values =  
|parameter3name = quote
|parameter3name =  
|parameter3description=If there is a colored quote in the enchantmnt
}}</noinclude><onlyinclude>[[Category:Items with Custom Enhancements (Template)]][[Category:Items with {{{1|}}}]][[{{{1|}}}|'''{{{1|}}}:''']] {{{2|}}}</onlyinclude>
|parameter4name = Link
|parameter4description=Link to the enchantment page, if different from title
|parameter5name = Text Only
|parameter5description = Set to True if this is only text, no page.
}}</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
TitleThe title of the effect
DescriptionThe description of the effect
quoteIf there is a colored quote in the enchantmnt
LinkLink to the enchantment page, if different from title
Text OnlySet 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}}}: