Template:Passive inline: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{{#cargo_query:
<includeonly>{{#cargo_query:
tables=passives
tables=passives
|fields=name, _pageName = link, {{#if: {{{2|}}} | CONCAT('{{#replace:{{{2}}}|'|\'}}') = altname, }}{{#if: {{{item|}}} | CONCAT("{{#cargo_query:
|fields=name, _pageName = link, icon, CONCAT('{{#replace:{{{2|}}}|'|\'}}') = altname, CONCAT('{{#replace:{{{item|}}}|'|\'}}') = item
tables=item_icon
|fields=icon
|where=_pageName = "{{#replace:{{{item}}}|&#39;|\'}}"
|limit=1
|default=
|format=template
|template=Trim
|more results text=
}}") = icon | icon}}
|where=_pageName = "{{#replace:{{{1}}}|&#39;|\'}}"
|where=_pageName = "{{#replace:{{{1}}}|&#39;|\'}}"
|limit=1
|limit=1