Template:Action: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
<includeonly>{{#switch: {{{1}}}
| bonus
| bonus
| Bonus = {{SmallIcon|Bonus Action Icon.png}} [[Bonus Action]]
| Bonus = {{SmallIcon|Bonus Action Icon.png}} [[Resources#Common resources|Bonus action]]
| movement
| movement
| Movement = {{#if: {{{m|}}} {{{ft|}}}
| Movement = {{#if: {{{m|}}} {{{ft|}}}
   | {{SmallIcon|Movement Speed Icon.png}}&nbsp;{{{m}}}{{nbts}}m{{nbts}}/{{nbts}}{{{ft}}}{{nbts}}ft&nbsp;[[Movement Speed|Movement]]
   | {{SmallIcon|Movement Speed Icon.png}}&nbsp;{{{m}}}{{nbts}}m{{nbts}}/{{nbts}}{{{ft}}}{{nbts}}ft&nbsp;[[Movement Speed|movement]]
   | {{SmallIcon|Movement Speed Icon.png}}&nbsp;[[Movement Speed|Movement]]
   | {{SmallIcon|Movement Speed Icon.png}}&nbsp;[[Resources#Common resources|Movement]]
   }}
   }}
| reaction
| reaction
| Reaction = {{SmallIcon|Reaction Icon.png}} [[Reaction]]
| Reaction = {{SmallIcon|Reaction Icon.png}} [[Resources#Common resources|Reaction]]
| both
| both
| Both = {{SmallIcon|Action Icon.png}} [[Action]] + {{SmallIcon|Bonus Action Icon.png}} [[Bonus Action]]
| Both = {{SmallIcon|Action Icon.png}} [[Resources#Common resources|Action]] + {{SmallIcon|Bonus Action Icon.png}} [[Resources#Common resources|Bonus action]]
| action
| action
| Action
| Action
| #default = {{SmallIcon|Action Icon.png}} [[Action]]
| #default = {{SmallIcon|Action Icon.png}} [[Resources#Common resources|Action]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Usage: {{code|<nowiki>{{action}}</nowiki>}}
Usage: {{code|<nowiki>{{action}}</nowiki>}}
Line 42: Line 42:


Result: {{action | movement | m = 6 | ft = 20 }}
Result: {{action | movement | m = 6 | ft = 20 }}
[[Category:Icon templates]]
</noinclude>
</noinclude>

Latest revision as of 15:25, 23 June 2024

Usage: {{action}}

Result: Action

Usage: {{action | action }}

Result: Action

Usage: {{action | bonus }}

Result: Bonus action

Usage: {{action | both }}

Result: Action + Bonus action

Usage: {{action | reaction }}

Result: Reaction

Usage: {{action | movement }}

Result:  Movement

Usage: {{action | movement | m = 6 | ft = 20 }}

Result:  6 m / 20 ft movement