Difference between revisions of "Template:Skill"

From DDO Compendium
(Added '+' to the template, no longer needed to be included in template calling)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template is used for [[Skills]].[[Category:Template]]
<noinclude>{{TemplateDocumentation
 
|name = Skill
Used in this manner:
|description = This template is used on equipment for an change to a skill.
<br><nowiki>{{Skill|(Skill)|(Modifier)|(Mod Type(opt))}}</nowiki><br>
|category=Item Enchantment Template
<br>Such that <nowiki>{{Skill|Concentration|8|Insight}}</nowiki> results in<br>
|example1 = <nowiki>{{Skill|Concentration|8|Insightful}}</nowiki>
<br>{{Skill|Concentration|8|Insight}}
|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>[[Category:Items with bonuses to {{{1}}}]]'''[[Skills|{{{3|}}} {{{1}}} +{{{2}}}:]]''' +{{{2}}} {{{3|Competence}}} {{#ifexpr: {{{2}}} < 0 |penalty|bonus}} to {{{1}}}.</onlyinclude>
<onlyinclude>{{EnchTitle|Skills|{{BonusTypeNameConversion|{{{3|}}}|True}} {{#switch: {{lc:{{{1}}}}}
|spellsight|spellcraft=Spellsight&nbsp;
|#default={{{1}}}&nbsp;}}{{#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
SkillThis is the skill that is being modified.
Enhancement AmountThis is the amount that the skill is modified.
Bonus TypeThis 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}}}.