Template:Duration: Difference between revisions
Jump to navigation
Jump to search
m (Reformatted to mimic Template:Recharge) |
(added support for "Whilst on surface", and changed capitalization to fit the new style guide.) |
||
Line 4: | Line 4: | ||
| Permanent = Permanent | | Permanent = Permanent | ||
| short rest | | short rest | ||
| Short rest | |||
| Short Rest | | Short Rest | ||
| until short rest | | until short rest | ||
| Until Short Rest = Until [[ | | Until Short rest | ||
| Until Short Rest = Until [[short rest]] | |||
| long rest | | long rest | ||
| Long rest | |||
| Long Rest | | Long Rest | ||
| until long rest | | until long rest | ||
| Until Long Rest = Until [[Long | | Until Long rest | ||
| Until Long Rest = Until [[Long rest]] | |||
| surface | |||
| Surface | |||
| whilst on surface | |||
| Whilst on surface = Whilst on surface | |||
| #default = {{{1}}} turns | | #default = {{{1}}} turns | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Line 42: | Line 50: | ||
Result: | Result: | ||
{{Duration|Permanent}} | {{Duration|Permanent}} | ||
=== Alternative Usage: Whilst on surface === | |||
Alternative usage for '''Whilst on surface''' duration: | |||
<pre>{{Duration|Whilst on surface}}</pre> | |||
Result: | |||
{{Duration|Whilst on surface}} | |||
__NOTOC__</noinclude> | __NOTOC__</noinclude> |
Revision as of 09:02, 27 October 2023
Provide a number (in turns) and display that duration.
Usage Examples
Number of Turns
Usage:
{{Duration|1}}
Result: Duration: 1 turn
Usage:
{{Duration|3}}
Result: Duration: 3 turns
Alternative Usage: Until Long Rest
Alternative usage for Until Long Rest duration:
{{Duration|Until Long Rest}}
Result: Duration: Until Long rest
Alternative Usage: Permanent
Alternative usage for Permanent duration:
{{Duration|Permanent}}
Result: Duration: Permanent
Alternative Usage: Whilst on surface
Alternative usage for Whilst on surface duration:
{{Duration|Whilst on surface}}
Result: Duration: Whilst on surface