Template:Passive inline: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) (Add cargo template category) |
HiddenDragon (talk | contribs) mNo edit summary |
||
Line 5: | Line 5: | ||
|limit=1 | |limit=1 | ||
|format=template | |format=template | ||
|template=Passive inline/ | |template=Passive inline/format | ||
|named args=yes | |named args=yes | ||
|default=[[{{{1}}}|{{{2|{{{1}}}}}}]]{{Main namespace only|[[Category:Pages with unknown passives]]}} | |default=[[{{{1}}}|{{{2|{{{1}}}}}}]]{{Main namespace only|[[Category:Pages with unknown passives]]}} | ||
Line 11: | Line 11: | ||
}}</includeonly><noinclude>{{documentation|content={{shortcut|pass|PAS}} | }}</includeonly><noinclude>{{documentation|content={{shortcut|pass|PAS}} | ||
Similar to [[Template:Passive]], but exclusively supports inline usage. | Similar to [[Template:Passive]], but exclusively supports inline usage. | ||
The result is formatted using [[Template:Passive inline/format]] | |||
== Examples == | == Examples == |
Latest revision as of 20:51, 19 January 2025
Template documentation
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
- {{PAS}} - Alias for Passive inline
- {{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
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
passive name | 1 | no description | String | required |
item | 2 | specifies the item for which the icon should be pulled from | String | optional |