Template:Duration: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m (catch some more common variant wordings for "until long rest")
m (Reformatted to mimic Template:Recharge)
Line 1: Line 1:
<includeonly>{{SmallIcon|Duration Icons.png}} Duration: {{{1}}} {{#switch:{{{1|}}} | 1 = turn | Permanent = | permanent =  | Until Long Rest = | until long rest | long rest | Long Rest = | #default = turns}}</includeonly><noinclude>
<includeonly>{{SmallIcon|Duration Icons.png}} Duration: {{#switch:{{{1}}}
| 1 = 1 turn
| permanent
| Permanent = Permanent
| short rest
| Short Rest
| until short rest
| Until Short Rest = Until [[Short Rest]]
| long rest
| Long Rest
| until long rest
| Until Long Rest = Until [[Long Rest]]
| #default = {{{1}}} turns
}}</includeonly><noinclude>
Provide a number (in turns) and display that duration.
Provide a number (in turns) and display that duration.



Revision as of 04:49, 2 September 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