Template:Passive inline: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) m (HiddenDragon moved page Template:Pass to Template:Passive inline) |
(Cleanup.) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{item|}}} | | |||
{{#cargo_query: | |||
tables=item_icon | tables=item_icon | ||
|fields=TRIM(icon),CONCAT('25'),CONCAT(''),CONCAT('No'),CONCAT('{{#replace:{{{item}}}|'|\'}}') | |fields=TRIM(icon),CONCAT('25'),CONCAT(''),CONCAT('No'),CONCAT('{{#replace:{{{item}}}|'|\'}}') | ||
Line 9: | Line 10: | ||
|format=template | |format=template | ||
|template=ItemIcon Internal | |template=ItemIcon Internal | ||
}} [[{{{1}}}|{{{2|{{{1}}}}}}]]|{{IconLink | }} [[{{{1}}}|{{{2|{{{1}}}}}}]] | ||
| | |||
{{IconLink | |||
| {{#replace:{{#replace:{{#replace:{{#replace:{{{1}}}|:|}}|/|<nowiki/> <nowiki/>}}|(|<nowiki/> <nowiki/>}}|)|<nowiki/> <nowiki/>}} Icon.webp | | {{#replace:{{#replace:{{#replace:{{#replace:{{{1}}}|:|}}|/|<nowiki/> <nowiki/>}}|(|<nowiki/> <nowiki/>}}|)|<nowiki/> <nowiki/>}} Icon.webp | ||
| {{{1}}} | | {{{1}}} | ||
| {{{2|{{{1}}} }}} | | {{{2| {{{1}}} }}} | ||
| size = {{{w|24}}} | | size = {{{w|24}}} | ||
| w = {{{w|}}} | | w = {{{w|}}} |
Revision as of 19:56, 27 March 2024
Template documentation
Shortcut
- {{pass}}
Similar to Template:Passive, but exclusively supports inline usage.
{{Pass|Opportunity Attack}}
To specify an item that grants this passive and to use its icon, use:
{{Pass|Defy Villainy|item=Jhannyl's Gloves}}
See also
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 |