Template:Spell action icon link/format
Jump to navigation
Jump to search
Template documentation
Template responsible for formatting {{SAI}}. This is intended for internal use by the parent template only.
Intentionally left blank for now.
Examples
| Markup | Renders as |
|---|---|
{{Spell action icon link/format
| page = Shield (spell)
| name = Shield
| icon = Shield spell Icon.webp
}}
| |
{{Spell action icon link/format
| page = Longstrider
| name = Longstrider
| icon = Longstrider Icon.webp
| size = 40
| r = 16
}}
| |
{{Spell action icon link/format
| page = Polymorph
| name = Polymorph
| icon = Polymorph Icon.webp
| altname = Shapechanged
| c = 16
}}
|
Template data
Display a block of information about a spell/action.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| name | page | Spell/action page to link to. | Page name | required |
| name | name | Name of the spell/action. | String | required |
| icon | icon | Icon file of the spell/action. | File | required |
| altname | altname | An alternative display name for the spell/action link. | String | optional |
| Width | w | Override the width of the image. | Number | optional |
| Height | h | Override the height of the image. | Number | optional |
| Size | size | Set the size of the image to this by this. | Number | optional |
| Block | block | Whether to wrap the icon and link in a container HTML element. | String | optional |
| Gap | gap | If 'block' is set, the exact gap to use between the icon and link. | Number | optional |
| Nowrap | nowrap | If specified, will add the nowrap css style to the span. | String | optional |




