Template:Passive inline: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) mNo edit summary |
HiddenDragon (talk | contribs) (Updated doc) |
||
Line 9: | Line 9: | ||
|default=[[{{{1}}}|{{{2|{{{1}}}}}}]]{{Main namespace only|[[Category:Pages with unknown passives]]}} | |default=[[{{{1}}}|{{{2|{{{1}}}}}}]]{{Main namespace only|[[Category:Pages with unknown passives]]}} | ||
|more results text= | |more results text= | ||
}}</includeonly><noinclude>{{documentation|content={{shortcut|pass}} | }}</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. | ||
{{ | == Examples == | ||
{{Template demo | |||
|caption 1 = Default usage | |||
|<nowiki>{{Pass|Darkvision}}</nowiki> | |||
|caption 2 = Alternative name | |||
|<nowiki>{{Pass|Cat's Grace (passive feature)|Catty Grace}}</nowiki> | |||
|caption 3 = Using an item's icon | |||
|<nowiki>{{Pass|Defy Villainy|item=Ketheric's Shield}}</nowiki> | |||
|caption 4 = Specify icon width | |||
|<nowiki>{{Pass|High Spellcasting (+1)|item=Armour of Landfall|w=40}}</nowiki> | |||
|caption 5 = When the passive doesn't exist | |||
|<nowiki>{{Pass|Non-existant passive|It's gone}}</nowiki> | |||
}} | |||
Specify icon width | |||
When the passive doesn't exist | |||
== See also == | == See also == | ||
* {{t link|PAS}} | * {{t link|PAS}} - Alias for Passive inline | ||
* {{t link|passive}} | * {{t link|Passive}} - Large format | ||
* {{t link|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. | |||
* {{t link|Passive minimal}} - Displays just the description field of the passive | |||
== Template data == | == Template data == |
Latest revision as of 17:34, 20 August 2024
Template documentation
Similar to Template:Passive, but exclusively supports inline usage.
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 |