Template:Server invite

From Irony Wiki
Revision as of 05:17, 16 July 2023 by Saucy (talk | contribs)
Jump to navigation Jump to search

(no invite found)

Documentation

Outputs the invite link for a Discord server. The link is pulled (via Cargo) from that server's infobox.

Usage: {{Server invite|server name or ID|text=link text (optional)}}

Example: {{Server invite|Dogelore}} outputs https://discord.gg/dogelore. {{Server invite|Dogelore|text=Dogelore Invite}} outputs https://discord.gg/dogelore.

The name or Discord ID used must match the one used in that server's infobox.

TemplateData

Outputs the invite link for a Discord server. The link is pulled from that server's infobox.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Server1

The name or Discord ID of the server.

Example
Dogelore
Stringrequired
Link texttext

The text that will be displayed by the link. If omitted, the full link URL will be displayed.

Default
(the raw link)
Stringsuggested
defaultdefault

What to output if no invite link could be found.

Default
(no invite found)
Stringoptional