Template:Duration: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(added support for "Whilst on surface", and changed capitalization to fit the new style guide.)
(add drop shadow in light mode)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{SmallIcon|Duration Icons.png}} Duration: {{#switch:{{{1}}}
<includeonly>{{SmallIcon|Duration Icons.png|class=bg3wiki-lightmode-drop-shadow}} Duration: {{#switch:{{{1}}}
| 1 = 1 turn
| 1 = 1 turn
| permanent
| permanent
Line 15: Line 15:
| Until Long rest
| Until 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
| Surface
| Surface
Line 57: Line 63:
Result:
Result:
{{Duration|Whilst on surface}}
{{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>
__NOTOC__</noinclude>

Latest revision as of 15:39, 27 November 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

Alternative Usage: Until Saving Throw

Alternative usage for Until Saving Throw duration:

{{Duration|Saving Throw}}

Result: Duration: Until successful Saving Throw