Template:Passive inline
Jump to navigation
Jump to search
Template documentation
Shortcut
- {{Pass}}
Similar to Template:Passive, but exclusively supports inline usage.
The result is formatted using Template:Passive inline/format
Examples
| Example | Markup | Renders as |
|---|---|---|
| Default usage | {{Pass|Darkvision}} | Darkvision |
| Alternative name | {{Pass|Cat's Grace (passive feature)|Catty Grace}} | Catty Grace |
| Using an item's icon | {{Pass|Defy Villainy|item=Ketheric's Shield}} | Defy Villainy |
| Specify icon width | {{Pass|High Spellcasting (+1)|item=Armour of Landfall|w=40}} | High Spellcasting |
| When the passive doesn't exist | {{Pass|Non-existant passive|It's gone}} | It's gone |
See also
- {{Passive}} - Large format
- {{Passive feature page}} - Page generating template responsible for adding a passive into the passives Cargo table so that it can be referenced by this template.
- {{Passive minimal}} - Displays just the description field of the passive
Alternate icon sizes
- {{SmPass}} - sets the default size to 20 instead of 25
- {{MdPass}} - sets the default size to 30 instead of 25
- {{LgPass}} - sets the default size to 40 instead of 25
Template data
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| passive name | 1 | The name of the passive as appears in the passives table. | String | required |
| altname | 2 | Alternative display name | String | optional |
| item | item | specifies the item for which the icon should be pulled from | 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 |