Difference between revisions of "Template:Skill"
From DDO Compendium
(Added '+' to the template, no longer needed to be included in template calling) |
MNDeveloper (talk | contribs) |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>This template is used for | <noinclude>{{TemplateDocumentation | ||
|name = Skill | |||
|description = This template is used on equipment for an change to a skill. | |||
|category=Item Enchantment Template | |||
|example1 = <nowiki>{{Skill|Concentration|8|Insightful}}</nowiki> | |||
|example1output = {{Skill|Concentration|8|Insightful}} | |||
|parameter1name = Skill | |||
|parameter1description = This is the skill that is being modified. | |||
|parameter1values = | |||
|parameter2name = Enhancement Amount | |||
|parameter2description = This is the amount that the skill is modified. | |||
|parameter2values = | |||
|parameter3name = Bonus Type | |||
|parameter3description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Competence. | |||
|parameter3values = | |||
}} | |||
</noinclude> | </noinclude> | ||
<onlyinclude> | <onlyinclude>{{EnchTitle|Skills|{{BonusTypeNameConversion|{{{3|}}}|True}} {{#switch: {{lc:{{{1}}}}} | ||
|spellsight|spellcraft=Spellsight | |||
|#default={{{1}}} }}{{#ifexpr: {{{2}}} < 0 ||+}}{{{2}}}}}{{EnchBody|{{#ifexpr: {{{2}}} < 0 ||+}}{{{2}}} {{#ifexpr: {{{2}}} < 0 ||{{BonusTypeNameConversion|{{{3|Competence}}}}}}} {{#ifexpr: {{{2}}} < 0 |penalty|bonus}} to {{#switch: {{lc:{{{1}}}}} | |||
|spellsight|spellcraft=Spellcraft | |||
|#default={{{1}}}}}.}}{{EnchCat|Skill|Items with Bonuses to {{#switch: {{lc:{{{1}}}}} | |||
|spellsight|spellcraft=Spellcraft | |||
|#default={{{1}}}}}|{{#ifexpr: {{{2}}} < 0 ||+}}{{{2}}} {{#ifexpr: {{{2}}} < 0 ||{{BonusTypeNameConversion|{{{3|Competence}}}}}}} {{#ifexpr: {{{2}}} < 0 |Penalty|Bonus}} to {{#switch: {{lc:{{{1}}}}} | |||
|spellsight|spellcraft=Spellcraft | |||
|#default={{{1}}}}}}}</onlyinclude> |
Latest revision as of 16:30, 24 May 2022
Skill[edit]
This template is used on equipment for an change to a skill.
Example Usage | |
{{Skill|Concentration|8|Insightful}} | Insightful Concentration +8: +8 Insight bonus to Concentration. |
Usage[edit]
{{Skill|(Skill)|(Enhancement Amount)|(Bonus Type)}}
Parameter Documentation | |
Skill | This is the skill that is being modified. |
Enhancement Amount | This is the amount that the skill is modified. |
Bonus Type | This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Competence. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
{{{1}}} Expression error: Unrecognized punctuation character "{".{{{2}}}: Expression error: Unrecognized punctuation character "{".{{{2}}} Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". to {{{1}}}.