Template:Discord tag: Difference between revisions

Add option to link to user's article
(Undo revision 11618 by Saucy (talk): didnt work)
Tag: Undo
(Add option to link to user's article)
 
Line 1: Line 1:
{{query|table=users|get=discordtag|from={{{1|null}}}|default={{{default|(no tag found)}}}}}<noinclude>{{documentation}}</noinclude>
{{query
| table = users
| get = {{#if: {{yesno|{{{link|yes}}}}}| CONCAT("[[", _pageName, "|",  discordtag, "]]") | discordtag }}
| from = {{{1|null}}}
| default = {{{default|(no tag found)}}}
| has_html = yes
}}<noinclude>{{documentation}}</noinclude>