Template:Passive inline
(Redirected from Template:Pass)
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}} | |
Alternative name | {{Pass|Cat's Grace (passive feature)|Catty Grace}} | |
Using an item's icon | {{Pass|Defy Villainy|item=Ketheric's Shield}} | |
Specify icon width | {{Pass|High Spellcasting (+1)|item=Armour of Landfall|w=40}} | |
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 |
width | w | Size in pixels of the passive icon. Generally, you should stick with the default value.
| Number | optional |
item | item | specifies the item for which the icon should be pulled from | String | optional |