Difference between revisions of "Template:CustomEnhancement"
From DDO Compendium
m |
MNDeveloper (talk | contribs) |
||
(18 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|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)]] | 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}} | ||
| | |||
| | |||
| | |||
| | |||
|parameter1name = Title | |parameter1name = Title | ||
|parameter1description = The title of the effect | |parameter1description = The title of the effect | ||
|parameter2name = Description | |parameter2name = Description | ||
|parameter2description = The description of the effect | |parameter2description = The description of the effect | ||
| | |parameter3name = quote | ||
| | |parameter3description=If there is a colored quote in the enchantmnt | ||
}}</noinclude><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 | |
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}}}: