Difference between revisions of "Template:Save"
From DDO Compendium
MNDeveloper (talk | contribs) (Grammer fix) |
MNDeveloper (talk | contribs) |
||
Line 11: | Line 11: | ||
|parameter1name = Save Type | |parameter1name = Save Type | ||
|parameter1description = This is which save to give the bonus. | |parameter1description = This is which save to give the bonus. | ||
|parameter2name = Enhancement Amount | |parameter2name = Enhancement Amount | ||
|parameter2description = This is the amount that the save is increased. | |parameter2description = This is the amount that the save is increased. | ||
|parameter3name = Bonus Type | |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 Resistance. | |parameter3description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Resistance. Put Unique to make it stack with anything except itself. | ||
| | |parameter4name = Title | ||
|parameter4description = The title of the enchantment if not the same as the default | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:Save||[[Category: Items with a Bonus to {{ucfirst:{{lc:{{{1}}}}}}} Saves]]}}[[Saves#{{{1}}} | '''{{BonusTypeNameConversion|{{{3|}}}|True}} {{{1}}} Save {{#ifexpr: {{{2}}} < 0||+}}{{{2}}}:''']] This item gives a {{#ifexpr: {{{2}}} < 0||+}}{{{2}}} {{#ifexpr: {{{2}}} < 0|penalty|{{BonusTypeNameConversion|{{{3|Resistance}}}}} bonus}} to your {{{1}}} saves. | <onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:Save||[[Category: Items with a Bonus to {{ucfirst:{{lc:{{{1}}}}}}} Saves]]}}[[Saves#{{{1}}} | '''{{#if: {{{4|}}}|{{{4}}}|{{BonusTypeNameConversion|{{{3|}}}|True}} {{{1}}} Save {{#ifexpr: {{{2}}} < 0||+}}{{{2}}}}}:''']] This item gives a {{#ifexpr: {{{2}}} < 0||+}}{{{2}}} {{#ifexpr: {{{2}}} < 0|penalty|{{BonusTypeNameConversion|{{{3|Resistance}}}}} bonus}} to your {{{1}}} saves {{#ifeq: {{lc:{{{3|}}}}}|unique|This stacks with all other bonuses except {{#if: {{{4|}}}|{{{4}}}|{{BonusTypeNameConversion|{{{3|}}}|True}} {{{1}}} Save {{#ifexpr: {{{2}}} < 0||+}}{{{2}}}}}}}. | ||
</onlyinclude> | </onlyinclude> |
Revision as of 15:29, 30 September 2019
Save[edit]
This template is used on equipment for bonus to individual Saves.
Example Usage | |
{{Save|Fortitude|3|InsightFul}} | Insightful Fortitude Save +3: This item gives a +3 Insight bonus to your Fortitude saves . |
{{Save|Fortitude|3}} | Fortitude Save +3: This item gives a +3 Resistance bonus to your Fortitude saves . |
{{Save|Fortitude|-3}} | Fortitude Save -3: This item gives a -3 penalty to your Fortitude saves . |
Usage[edit]
{{Save|(Save Type)|(Enhancement Amount)|(Bonus Type)|(Title)}}
Parameter Documentation | |
Save Type | This is which save to give the bonus. |
Enhancement Amount | This is the amount that the save is increased. |
Bonus Type | This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Resistance. Put Unique to make it stack with anything except itself. |
Title | The title of the enchantment if not the same as the default |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[Saves#{{{1}}} | {{{1}}} Save Expression error: Unrecognized punctuation character "{".{{{2}}}:]] This item gives a Expression error: Unrecognized punctuation character "{".{{{2}}} Expression error: Unrecognized punctuation character "{". to your {{{1}}} saves .