Template:Action: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m (modify switch to allow for capitalization)
No edit summary
 
(8 intermediate revisions by 5 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 = {{SmallIcon|Movement Speed Icon.png}} {{{m}}}{{nbts}}m / {{{ft}}}{{nbts}}ft Movement Speed
| 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;[[Resources#Common resources|Movement]]
  }}
| reaction
| reaction
| Reaction = {{SmallIcon|Reaction_Icon_2.png}} Reaction
| Reaction = {{SmallIcon|Reaction Icon.png}} [[Resources#Common resources|Reaction]]
| #default = {{SmallIcon|Action Icon.png}} Action
| both
| Both = {{SmallIcon|Action Icon.png}} [[Resources#Common resources|Action]] + {{SmallIcon|Bonus Action Icon.png}} [[Resources#Common resources|Bonus action]]
| action
| 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 12: Line 19:
Result: {{action}}
Result: {{action}}


Usage: {{code|<nowiki>{{action|bonus}}</nowiki>}}
Usage: {{code|<nowiki>{{action | action }}</nowiki>}}


Result: {{action|bonus}}
Result: {{action | action }}


Usage: {{code|<nowiki>{{action|reaction}}</nowiki>}}
Usage: {{code|<nowiki>{{action | bonus }}</nowiki>}}


Result: {{action|reaction}}
Result: {{action | bonus}}
 
Usage: {{code|<nowiki>{{action | both }}</nowiki>}}
 
Result: {{action | both }}
 
Usage: {{code|<nowiki>{{action | reaction }}</nowiki>}}
 
Result: {{action | reaction }}
 
Usage: {{code|<nowiki>{{action | movement }}</nowiki>}}
 
Result: {{action | movement }}


Usage: {{code|<nowiki>{{action | movement | m = 6 | ft = 20 }}</nowiki>}}
Usage: {{code|<nowiki>{{action | movement | m = 6 | ft = 20 }}</nowiki>}}


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