More actions
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<includeonly>{{trim| | <includeonly>{{trim| | ||
{{#if: {{{ | {{#if: {{{save|}}} | ||
{{#vardefine: saveicon | }} {{#vardefine: savetext | }} | |||
{{#vardefine: savetype | {{#if: {{#pos:{{{save|}}}|,}} | {{#explode:{{{save|}}}|,|0}} | {{{save|}}}}}}} | |||
{{#vardefine: saverslt | {{#if: {{#pos:{{{save|}}}|,}} | {{#explode:{{{save|}}}|,|1}} | ""}}}} | |||
| * {{SmallIcon|Saving Throw Icons.png}} {{#switch: {{lc:{{#var: savetype}}}} | |||
| strength | str = {{#vardefine: saveicon | Strength}} {{#vardefine: savetext | STR}} | |||
| dexterity | dex = {{#vardefine: saveicon | Dexterity}} {{#vardefine: savetext | DEX}} | |||
| constitution | con | = {{#vardefine: saveicon | Constitution}} {{#vardefine: savetext | CON}} | |||
| intelligence | int | = {{#vardefine: saveicon | Intelligence}} {{#vardefine: savetext | INT}} | |||
| wisdom | wis = {{#vardefine: saveicon | Wisdom}} {{#vardefine: savetext | WIS}} | |||
| charisma | cha = {{#vardefine: saveicon | Charisma}} {{#vardefine: savetext | CHA}} | |||
| #default = {{#vardefine: saveicon |Alert}} {{#vardefine: savetext | EDITOR SHOULD CHECK TEMPLATE}} | |||
}}[[File:{{#var: saveicon}} icon.png|frameless|{{{2|24}}}px|{{#var: saveicon}}]][[{{#var: saveicon}}|{{#var: savetext}}]] [[Saving Throw|Save]] {{#if: {{#pos:{{{save|}}}|,}} | |||
| (On Save: {{#explode:{{{save|}}}|,|1}}) | |||
}}|{{blank}}}}</includeonly><noinclude> | }}| {{blank}} | ||
}} | |||
}}</includeonly><noinclude> | |||
{| class="wikitable" style="width: 100%" | {| class="wikitable" style="width: 100%" | ||
|- | |- | ||
! outcome | ! outcome | ||
! | ! test | ||
|- | |- | ||
| {{User:Crashaholic/Sandbox| | | {{User:Crashaholic/Sandbox|save=}} | ||
| ''there is an empty entry first'' | | ''there is an empty entry first'' | ||
|- | |- | ||
| {{User:Crashaholic/Sandbox| | | {{User:Crashaholic/Sandbox|save=STR}} | ||
| | | ''STR'' | ||
|- | |- | ||
| {{User:Crashaholic/Sandbox| | | {{User:Crashaholic/Sandbox|save=DeX}} | ||
| | | ''DeX'' | ||
|- | |- | ||
| {{User:Crashaholic/Sandbox| | | {{User:Crashaholic/Sandbox|save=it}} | ||
| | | ''it: wrong input'' | ||
|- | |||
| {{User:Crashaholic/Sandbox|save=int}} | |||
| ''int'' | |||
|- | |||
| {{User:Crashaholic/Sandbox|save=con}} | |||
| ''con'' | |||
|- | |||
| {{User:Crashaholic/Sandbox|save=sTRenGTH}} | |||
| ''sTRenGTH'' | |||
|- | |||
| {{User:Crashaholic/Sandbox|save=WISDOM}} | |||
| ''WISDOM'' | |||
|- | |||
| {{User:Crashaholic/Sandbox|save=dex,Target still takes half the damage}} | |||
| ''dex,Target still takes half the damage'' | |||
|- | |||
| {{User:Crashaholic/Sandbox|save=ConStitUtion,Target will not be paralyzed}} | |||
| ''ConStitUtion,Target will not be paralyzed'' | |||
|- | |- | ||
</noinclude> | </noinclude> |