Template:SoulLink: Difference between revisions

From wizzypedia
Jump to navigation Jump to search
No edit summary
m (test)
Line 3: Line 3:
|fields=Souls.idx, Souls.head, Souls.pageName, TokenProperties.filename
|fields=Souls.idx, Souls.head, Souls.pageName, TokenProperties.filename
|where=Souls.idx='{{{1}}}' AND TokenProperties.collection="souls"
|where=Souls.idx='{{{1}}}' AND TokenProperties.collection="souls"
|join on=Souls.head=TokenProperties.displayname
|join on=IFNULL(Souls.head,'Head-poltergeist-glitch.png')=TokenProperties.displayname
|limit=1
|limit=1
|format=template
|format=template

Revision as of 22:15, 12 August 2022

Error: The SQL function "IFNULL()" is not allowed.

Here's an example:

{{SoulLink|28}}

Renders into:

Error: The SQL function "IFNULL()" is not allowed.