Template:Abilities: Difference between revisions

From SRD52
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<noinclude>Usage: <nowiki>{{Abilities|str|save|dex|save|con|save|...}}</nowiki></noinclude>
<noinclude>Usage: <nowiki>{{Abilities|str|save|dex|save|con|save|...}}</nowiki></noinclude>
<kincludeonly>
<kincludeonly>
= {{#switch:{{#expr:{{{1}}}}}|INF=INF|-INF=-INF|{{#ifexpr:({{{1}}})=trunc({{{1}}})|{{#expr:trunc({{{1}}})}}|{{#switch:1|{{#expr:({{{1}}})>0}}={{num/1|({{{1}}})}}|{{#expr:({{{1}}})<0}}=-({{num/1|-({{{1}}})}})|0}}}}}} =


{|border="2px"
{|border="2px"
Line 9: Line 6:
!colspan=2|&nbsp;!!MOD!!SAVE!!rowspan=4|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;!!colspan=2|&nbsp;!!MOD!!SAVE
!colspan=2|&nbsp;!!MOD!!SAVE!!rowspan=4|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;!!colspan=2|&nbsp;!!MOD!!SAVE
|-align="center"
|-align="center"
|style="background-color:e6e2da"|[[STR]]||{{{1|-99}}}||{{#expr: {{{1}}} - 10}}||{{{2}}}||style="background-color:e6e2da"|[[INT]]||{{{7|-99}}}||x||{{{8|-99}}}
|style="background-color:e6e2da"|[[STR]]||{{{1|-99}}}||{{#expr: {{num|{{{1}}}}} - 10}}||{{{2}}}||style="background-color:e6e2da"|[[INT]]||{{{7|-99}}}||x||{{{8|-99}}}
|-align="center"
|-align="center"
|style="background-color:e6e2da"|[[DEX]]||{{{3|-99}}}||x||{{{4|-99}}}||style="background-color:e6e2da"|[[WIS]]||{{{9|-99}}}||x||{{{10|-99}}}
|style="background-color:e6e2da"|[[DEX]]||{{{3|-99}}}||x||{{{4|-99}}}||style="background-color:e6e2da"|[[WIS]]||{{{9|-99}}}||x||{{{10|-99}}}

Revision as of 17:09, 24 April 2025

Usage: {{Abilities|str|save|dex|save|con|save|...}} <kincludeonly>

  MOD SAVE         MOD SAVE
STR -99 Expression error: Unexpected < operator. {{{2}}} INT -99 x -99
DEX -99 x -99 WIS -99 x -99
CON -99 x -99 CHA -99 x -99

</kincludeonly>