6,364
editsadd drop shadow in light mode
(updated to handle 1-turn and permanent durations) |
(add drop shadow in light mode) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{SmallIcon|Duration Icons.png}} Duration: | <includeonly>{{SmallIcon|Duration Icons.png|class=bg3wiki-lightmode-drop-shadow}} Duration: {{#switch:{{{1}}} | ||
| 1 = 1 turn | |||
| permanent | |||
| Permanent = Permanent | |||
| short rest | |||
| Short rest | |||
| Short Rest | |||
| until short rest | |||
| Until Short rest | |||
| Until Short Rest = Until [[short rest]] | |||
| long rest | |||
| Long rest | |||
| Long Rest | |||
| until long rest | |||
| Until Long rest | |||
| Until Long Rest = Until [[Long rest]] | |||
| saving throw | |||
| Saving throw | |||
| Saving Throw | |||
| until saving throw | |||
| Until Saving throw | |||
| Until Saving Throw = Until successful [[Saving Throw]] | |||
| surface | |||
| Surface | |||
| whilst on surface | |||
| Whilst on surface = Whilst on surface | |||
| #default = {{{1}}} turns | |||
}}</includeonly><noinclude> | |||
Provide a number (in turns) and display that duration. | Provide a number (in turns) and display that duration. | ||
== Usage Examples == | == Usage Examples == | ||
=== Number of Turns === | |||
Usage: | Usage: | ||
<pre | <pre>{{Duration|1}}</pre> | ||
Result: | Result: | ||
Line 10: | Line 38: | ||
---- | ---- | ||
Usage: | Usage: | ||
<pre | <pre>{{Duration|3}}</pre> | ||
Result: | Result: | ||
{{Duration|3}} | {{Duration|3}} | ||
=== Alternative Usage: Until Long Rest === | |||
Alternative usage for '''Until Long Rest''' duration: | |||
<pre>{{Duration|Until Long Rest}}</pre> | |||
Result: | |||
{{Duration|Until Long Rest}} | |||
=== Alternative Usage: Permanent === | |||
Alternative usage for '''Permanent''' duration: | Alternative usage for '''Permanent''' duration: | ||
<pre | <pre>{{Duration|Permanent}}</pre> | ||
Result: | Result: | ||
{{Duration|Permanent}} | {{Duration|Permanent}} | ||
</noinclude> | === Alternative Usage: Whilst on surface === | ||
Alternative usage for '''Whilst on surface''' duration: | |||
<pre>{{Duration|Whilst on surface}}</pre> | |||
Result: | |||
{{Duration|Whilst on surface}} | |||
=== Alternative Usage: Until Saving Throw === | |||
Alternative usage for '''Until Saving Throw''' duration: | |||
<pre>{{Duration|Saving Throw}}</pre> | |||
Result: | |||
{{Duration|Saving Throw}} | |||
__NOTOC__</noinclude> |