Template:Duration: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m (update to support "Until Long Rest" duration)
m (catch some more common variant wordings for "until long rest")
Line 1: Line 1:
<includeonly>{{SmallIcon|Duration Icons.png}} Duration: {{{1}}} {{#switch:{{{1|}}} | 1 = turn | Permanent =  | permanent =  | Until Long Rest =  | until long rest =  | #default = turns}}</includeonly><noinclude>
<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>
Provide a number (in turns) and display that duration.
Provide a number (in turns) and display that duration.



Revision as of 19:18, 24 February 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