Difference between revisions of "Template:SaveDC"
From DDO Compendium
m (added example output) |
MNDeveloper (talk | contribs) |
||
Line 3: | Line 3: | ||
|name=EnhDC | |name=EnhDC | ||
|description= Template is used to render the DC display within enhancements | |description= Template is used to render the DC display within enhancements | ||
|example1=<nowiki>{{EnhDC|Fortitude|10 | |example1=<nowiki>{{EnhDC|Fortitude|10|Druid|Highest of Wisdom or Strength|Stun}}</nowiki> | ||
|example1output={{EnhDC|Fortitude|10 | |example1output={{EnhDC|Fortitude|10|Druid|Highest of Wisdom or Strength|Stun}} | ||
|example2=<nowiki>{{EnhDC|Fortitude|10|1/2 Artificer|Intelligence|Sunder}}</nowiki> | |||
|example2output={{EnhDC|Fortitude|10|1/2 Artificer|Intelligence|Sunder}} | |||
|parameter1name = save | |parameter1name = save | ||
|parameter1description = Which SAVE is being used | |parameter1description = Which SAVE is being used | ||
|parameter2name = | |parameter2name = constant | ||
|parameter2description = | |parameter2description = Any constant added to the DC | ||
}}</noinclude><onlyinclude><span style="Color: #00eeef">{{{1}}} DC: {{{2}}}</span></onlyinclude> | |parameter3name = level | ||
|parameter3description = Any full or partial levels, include the amount of partial (i.e. 1/2 Artificer) | |||
|parameter4name = Ability Mod | |||
|parameter4description = Any ability mod added | |||
|parameter5name = bonuses | |||
|parameter5description = Any bonuses (i.e. stun) | |||
}}</noinclude><onlyinclude><span style="Color: #00eeef">*{{{1}}} DC: | |||
{{#if: {{{2|}}}|{{{2}}}{{#if: {{{3|}}}{{{4|}}}{{{5|}}}| + }}}} | |||
{{#if: {{{3|}}}|{{{3}}} Level{{#if: {{{4|}}}{{{5|}}}| + }}}} | |||
{{#if: {{{4|}}}|{{{4}}} Mod{{#if: {{{5|}}}| + }}}} | |||
{{#if: {{{5|}}}|{{{5}}} Bonus}} | |||
</span></onlyinclude> |
Revision as of 16:01, 19 July 2018
EnhDC[edit]
Template is used to render the DC display within enhancements
Example Usage | |
{{EnhDC|Fortitude|10|Druid|Highest of Wisdom or Strength|Stun}} | Template:EnhDC |
{{EnhDC|Fortitude|10|1/2 Artificer|Intelligence|Sunder}} | Template:EnhDC |
Usage[edit]
{{EnhDC|(save)|(constant)|(level)|(Ability Mod)|(bonuses)}}
Parameter Documentation | |
save | Which SAVE is being used |
constant | Any constant added to the DC |
level | Any full or partial levels, include the amount of partial (i.e. 1/2 Artificer) |
Ability Mod | Any ability mod added |
bonuses | Any bonuses (i.e. stun) |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
*{{{1}}} DC: