Template:Monster stats: Difference between revisions
Jump to navigation
Jump to search
Created page with "{| class="stats" !{{strength}} STR !{{dexterity}} DEX !{{constitution}} CON !{{intelligence}} INT !{{wisdom}} WIS !{{charisma}} CHA |- |{{{strength|{{{1|10}}}}}} ({{#ifeq:{{#i..." |
mNo edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="monster stats/style.css" /> | |||
<span class="stats"><span class="stats-row"> | |||
<span class="stats-header">[[file:strength.svg|16px]] STR</span> | |||
<span class="stats-header">[[file:dexterity.svg|16px]] DEX</span> | |||
<span class="stats-header">[[file:constitution.svg|16px]] CON</span> | |||
<span class="stats-header">[[file:intelligence.svg|16px]] INT</span> | |||
<span class="stats-header">[[file:wisdom.svg|16px]] WIS</span> | |||
<span class="stats-header">[[file:charisma.svg|16px]] CHA</span> | |||
</span><span class="stats-row"> | |||
<span class="stats-cell">{{{strength|{{{1|10}}}}}} {{#iferror:({{#ifexpr:{{#invoke:Math|floor|{{#invoke:Math|divide|{{#invoke:Math|subtract|{{{strength|{{{1|10}}}}}}|10}}|2}}}}>=0|+}}{{#invoke:Math|floor|{{#invoke:Math|divide|{{#invoke:Math|subtract|{{{strength|{{{1|10}}}}}}|10}}|2}}}})|}}</span> | |||
<span class="stats-cell">{{{dexterity|{{{2|10}}}}}} {{#iferror:({{#ifexpr:{{#invoke:Math|floor|{{#invoke:Math|divide|{{#invoke:Math|subtract|{{{dexterity|{{{2|10}}}}}}|10}}|2}}}}>=0|+}}{{#invoke:Math|floor|{{#invoke:Math|divide|{{#invoke:Math|subtract|{{{dexterity|{{{2|10}}}}}}|10}}|2}}}})|}}</span> | |||
<span class="stats-cell">{{{constitution|{{{3|10}}}}}} {{#iferror:({{#ifexpr:{{#invoke:Math|floor|{{#invoke:Math|divide|{{#invoke:Math|subtract|{{{constitution|{{{3|10}}}}}}|10}}|2}}}}>=0|+}}{{#invoke:Math|floor|{{#invoke:Math|divide|{{#invoke:Math|subtract|{{{constitution|{{{3|10}}}}}}|10}}|2}}}})|}}</span> | |||
<span class="stats-cell">{{{intelligence|{{{4|10}}}}}} {{#iferror:({{#ifexpr:{{#invoke:Math|floor|{{#invoke:Math|divide|{{#invoke:Math|subtract|{{{intelligence|{{{4|10}}}}}}|10}}|2}}}}>=0|+}}{{#invoke:Math|floor|{{#invoke:Math|divide|{{#invoke:Math|subtract|{{{intelligence|{{{4|10}}}}}}|10}}|2}}}})|}}</span> | |||
<span class="stats-cell">{{{wisdom|{{{5|10}}}}}} {{#iferror:({{#ifexpr:{{#invoke:Math|floor|{{#invoke:Math|divide|{{#invoke:Math|subtract|{{{wisdom|{{{5|10}}}}}}|10}}|2}}}}>=0|+}}{{#invoke:Math|floor|{{#invoke:Math|divide|{{#invoke:Math|subtract|{{{wisdom|{{{5|10}}}}}}|10}}|2}}}})|}}</span> | |||
|} | <span class="stats-cell">{{{charisma|{{{6|10}}}}}} {{#iferror:({{#ifexpr:{{#invoke:Math|floor|{{#invoke:Math|divide|{{#invoke:Math|subtract|{{{charisma|{{{6|10}}}}}}|10}}|2}}}}>=0|+}}{{#invoke:Math|floor|{{#invoke:Math|divide|{{#invoke:Math|subtract|{{{charisma|{{{6|10}}}}}}|10}}|2}}}})|}}</span> | ||
</span></span><noinclude>[[category:table templates]]</noinclude> |