68,428
edits
m
no edit summary
HiddenDragon (talk | contribs) mNo edit summary |
HiddenDragon (talk | contribs) mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#cargo_query: | <includeonly>{{#cargo_query: | ||
tables=passives | tables=passives | ||
|fields=name, _pageName = link, icon, CONCAT('{{#replace:{{{2|}}}|'|\'}}') = altname, CONCAT('{{#replace:{{{item|}}}|'|\'}}') = item | |fields=name, _pageName = link, icon, CONCAT('{{#replace:{{{2|}}}|'|\'}}') = altname, CONCAT('{{#replace:{{{item|}}}|'|\'}}') = item, CONCAT('{{{w|25}}}') = w | ||
|where=_pageName = "{{#replace:{{{1}}}|'|\'}}" | |where=_pageName = "{{#replace:{{{1}}}|'|\'}}" OR _pageName = "{{#replace:{{{1}}}|'|\'}} (passive feature)" | ||
|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]]}} | ||
|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. | ||
The result is formatted using [[Template:Passive inline/format]] | |||
{{ | == 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> | |||
{{Pass|Cat's Grace (passive feature)|Catty Grace}} | |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> | |||
{{Pass| | }} | ||
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 == | ||
Line 56: | Line 52: | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata>}}</noinclude> | </templatedata> | ||
[[Category:Templates]] | |||
[[Category:Link templates]] | |||
[[Category:Cargo templates]] | |||
}}</noinclude> |