Template:WizardLink: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#cargo_query: | |||
tables=Wizards, TokenProperties | |||
|fields=Wizards.idx, Wizards.head, Wizards.pageName, TokenProperties.filename | |||
|where=Wizards.idx='{{{1}}}' AND TokenProperties.collection="wizards" | |||
|join on=Wizards.head=TokenProperties.displayname | |||
|limit=1 | |||
|format=template | |||
|template=WizardLinkItem | |||
|named args=yes | |||
|more results text= | |||
}}<noinclude> | |||
Here's an example: | |||
<pre> | |||
{{WizardLink|1964}} | |||
</pre> | |||
Renders into: | |||
{{WizardLink|1964}} | |||
</noinclude> |