Template:Reaction page/doc
This template generates formatted section for reactions.
See also
This template has the following subtemplates:
Usage
This template works by displaying a tooltip style box with the reaction details as specified, and also inserts the reactions into a table for later use. It is a cut down version and combination of {{Feature page}} and {{Feature box}} meant to be included where the reaction is the same name as the passive feature that grants it.
{{Reaction page
| name =
| description =
| extra description =
| image =
| controller icon =
| hotbar icon =
<!-- Properties -->
| cost =
| save =
| save dc =
| on save =
| targets =
| recharge =
| additional =
| ask =
<!-- Technical information -->
| uid =
| interrupt context =
| enable context =
| stack =
}}
Examples
Entropic Ward
Markup{{Reaction page
| name = Entropic Ward <!-- This can usually be omitted if it matches the page title -->
| description = Impose {{Disadvantage}} on an {{Attack Roll}} against you.<br><br>If the attack misses, you gain {{Advantage}} on your next Attack Roll against the attacker for 1 turn.
| extra description =
<!-- These images can omitted if the prefixes match the page name -->
| image = Entropic Ward.webp
| controller icon = Entropic Ward Icon.webp
| hotbar icon = Entropic Ward Unfaded Icon.webp
| cost = reaction
| save =
| on save =
| targets = One attacking enemy
| ask = yes
| uid = Interrupt_EntropicWard
| interrupt context = OnPostRoll
| enable context = OnActionResourcesChanged
| stack =
}}
Renders asImpose Disadvantage on an Attack Roll against you.
If the attack misses, you gain Advantage on your next Attack Roll against the attacker for 1 turn.
Technical details
Interrupt_EntropicWardOnPostRollOnActionResourcesChangedWith save DC
Markup{{Reaction page
| name = Instinctive Charm <!-- This can usually be omitted if it matches the page title -->
| description = {{Cond|Charmed|Charm}} an enemy attacking you. They will attack a new target if possible.
<!-- These images can omitted if the prefixes match the page name -->
| image = Instinctive Charm.webp
| controller icon = Instinctive Charm Icon.webp
| hotbar icon = Instinctive Charm Unfaded Icon.webp
| cost = reaction
| save = WIS
| save dc = caster
| targets = One attacking enemy
| ask = yes
| uid = Interrupt_InstinctiveCharm
| interrupt context = OnSpellCast
| enable context = OnStatusApplied; OnStatusRemoved
}}
Renders asCharm an enemy attacking you. They will attack a new target if possible.
Technical details
Interrupt_InstinctiveCharmOnSpellCastOnStatusApplied, OnStatusRemovedWith recharge and extra description
Markup{{Reaction page
| name = Sneak Attack (Critical Hit)
| description = Deal extra damage to a foe you have {{Advantage}} against.
| extra description = You can also Sneak Attack targets {{Cond|Threatened}} by adjacent allies provided you aren't attacking with {{Disadvantage}}.
| image = Sneak Attack Melee.webp
| controller icon = Sneak Attack Melee Icon.webp
| hotbar icon = Sneak Attack Melee Unfaded Icon.webp
| ask =
| recharge = Per turn
| uid = Interrupt_SneakAttack_Critical
| interrupt context = OnCastHit
| enable context = OnActionResourcesChanged;OnEquip
| stack = SneakAttack
}}
Renders asDeal extra damage to a foe you have Advantage against.
You can also Sneak Attack targets Threatened by adjacent allies provided you aren't attacking with Disadvantage.
Technical details
Interrupt_SneakAttack_CriticalOnCastHitOnActionResourcesChanged, OnEquipSneakAttack Template data
Page generating template for any reaction.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Reaction name | name | The name of the reaction, as it is displayed. This can be omitted if the page name matches the name exactly.
| String | optional |
| Reaction description | description | This is the full in-game description of the reaction. Try to reflect the in-game description as closely as possible, but any errors in the in-game description should be corrected (and noted). | Content | required |
| Extra description | extra description | The extra in-game description of the reaction, shown when the tooltip is locked on screen. This content will also be collapsed in feature boxes and similar contexts. | Content | optional |
| Tooltip image | image | This is the reaction's in-game 380x380 tooltip image. This can be omitted if the desired image is {{PAGENAME}}.webp.
| File | suggested |
| Controller icon | controller icon | This is the reaction's 144x144 tooltip image used for the controller interface. This can be omitted if the desired image is {{PAGENAME}} Icon.webp.
| File | suggested |
| Icon | hotbar icon | This is the reaction's in-game 64x64 hotbar icon used in the keyboard and mouse interface. This can be omitted if the desired image is {{PAGENAME}} Unfaded Icon.webp.
| File | suggested |
| Resource cost | cost | The resource(s) needed to use this reaction. This is a comma separated list of resource names. Refer to Template:Resource for the complete list of resource names and aliases.
| String | suggested |
| Saving throw | save | Specify the ability score for saving throw used by this reaction.
| String | optional |
| Saving throw DC | save dc | The DC for the saving throw of this reaction. This can be a fixed value or a special variable like caster or weapon action.
| String | optional |
| On save effect | on save | Used in conjunction with 'save', describes what happens when the target successfully makes their saving throw.
| String | optional |
| Affected targets | targets | This indicates what this reaction targets or affects.
| String | optional |
| Recharge frequency | recharge | The frequency of recharge for this reaction, if any.
| String | optional |
| Additional properties | additional | Freeform field for adding any additional properties to the reaction. | Content | optional |
| Ask | ask | Whether this reaction defaults to yes when deciding whether to ask the user to trigger.
| String | optional |
| UID(s) | uid uids | The UID of the reaction as defined in the Stats/Generated files. For actions with multiple variants, multiple UIDs can be specified with a comma separated list. Additional optional information can also be added to each UID with a ":" separator.
| String | optional |
| Interrupt context flags | interrupt context | A semi-colon separated list of the interrupt contexts of this reaction. These define when the reaction actually triggers.
| String | optional |
| Enable context flags | enable context | A semi-comma separated list of the enable contexts of this reaction. These define flags that will enable or disable the reaction.
| String | optional |
| Stack | stack | The stack this reaction belongs to. Only one reaction per stack can be triggered at any time.
| String | optional |


















