Template:Discord tag

From Irony Wiki
Revision as of 23:13, 19 October 2023 by Saucy (talk | contribs) (Add option to link to user's article)
Jump to navigation Jump to search

(no tag found)

Documentation

Outputs the Discord tag or username for a user. The link is pulled (via Cargo) from that user's infobox.

Usage: {{Discord tag|name or Discord ID}}

Example: {{Discord tag|955229594842185758}} (which is Cmonster's ID) outputs:

It will automatically link to that user's wiki page. If you don't want it to do that, you can set |link=no. Example: {{Discord tag|955229594842185758|link=no}} which outputs: hornymemelover

Using an ID is recommended, as names are more likely to change. If using a name, it must match the name at the very top of the infobox. If using an ID, it must match the first ID in the Discord ID field of the infobox.

TemplateData

Outputs the Discord tag or username for a user. The tag is pulled from the Discord tag field of that user's infobox.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
User1

The name or Discord ID of the user. ID is recommended, as names are more likely to change. If using a name, it must match the name at the very top of the infobox. If using an ID, it must match the first ID in the Discord ID field of the infobox.

Example
955229594842185758
Stringrequired
Link?link

If set to yes (which is the default), the output will also be a link to the user's wiki page.

Default
yes
Booleansuggested
defaultdefault

What to output if no tag could be found.

Default
(no tag found)
Stringoptional