1,750
editsMore actions
fix display of lone save/duration/recharge
(edge case f) |
(fix display of lone save/duration/recharge) |
||
Line 91: | Line 91: | ||
}} {{#if: {{{concentration|}}} | | }} {{#if: {{{concentration|}}} | | ||
<dd> {{Concentration}} | <dd> {{Concentration}} | ||
}} {{trim|{{#if: {{{recharge|}}} |< | }} {{trim|{{#if: {{{recharge|}}} |<dd>{{Recharge|{{{recharge}}}}}| {{blank}}}} | ||
}} {{trim| | }} {{trim|{{#if: {{{duration|}}} | ||
|<dd>{{#ifeq:{{lc:{{{duration|}}}}}| LR | |||
|< | |||
|{{Duration|Until Long Rest}} | |{{Duration|Until Long Rest}} | ||
|{{#ifeq: {{{duration|}}} |Perm | |{{#ifeq: {{{duration|}}} |Perm | ||
Line 103: | Line 102: | ||
|{{blank}} | |{{blank}} | ||
}} | }} | ||
}} {{trim| | }} {{trim|{{#if: {{{save|}}} | ||
{{#lvardef: saveicon | }} {{#lvardef: savetext | }} | {{#lvardef: saveicon | }} {{#lvardef: savetext | }} | ||
{{#lvardef: savetype | {{#if: {{#pos:{{{save|}}}|,}} | {{#explode:{{{save|}}}|,|0}} | {{{save|}}}}}}} | {{#lvardef: savetype | {{#if: {{#pos:{{{save|}}}|,}} | {{#explode:{{{save|}}}|,|0}} | {{{save|}}}}}}} | ||
Line 116: | Line 114: | ||
| charisma | cha = {{#lvardef: saveicon | Charisma}} {{#lvardef: savetext | CHA}} | | charisma | cha = {{#lvardef: saveicon | Charisma}} {{#lvardef: savetext | CHA}} | ||
| #default = {{#lvardef: saveicon |Alert}} {{#lvardef: savetext | EDITOR SHOULD CHECK TEMPLATE}} | | #default = {{#lvardef: saveicon |Alert}} {{#lvardef: savetext | EDITOR SHOULD CHECK TEMPLATE}} | ||
}}< | }}<dd>{{SmallIcon|Saving Throw Icons.png}} [[File:{{#lvar: saveicon}} icon.png|frameless|25px|{{#lvar: saveicon}}]][[{{#lvar: saveicon}}|{{#lvar: savetext}}]] [[Saving Throw|Save]] {{#if: {{#pos:{{{save|}}}|,}} | ||
| (On Save: {{#explode:{{{save|}}}|,|1}}) | | (On Save: {{#explode:{{{save|}}}|,|1}}) | ||
}}| {{blank}} | }}| {{blank}} |