Editing
Template:Server invite/doc
Jump to navigation
Jump to search
β οΈ
Warning:
You are not logged in.
Your IP address will be publicly visible
if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username instead of your IP, along with other benefits.
Anti-spam check. Do
not
fill this in!
Outputs the invite link for a Discord server. The link is pulled (via [[Special:CargoTables/discord_servers|Cargo]]) from that server's infobox. Usage: <code>{{Server invite|''server name or ID''|text=''link text (optional)''}}</code> Example: <code><nowiki>{{Server invite|Dogelore}}</nowiki></code> outputs {{Server invite|Dogelore}}. <code><nowiki>{{Server invite|Dogelore|text=Dogelore Invite}}</nowiki></code> outputs {{Server invite|Dogelore|text=Dogelore Invite}}. The name or Discord ID used must match the one used in that server's infobox. == TemplateData == <templatedata> { "params": { "1": { "label": "Server", "description": "The name or Discord ID of the server.", "example": "Dogelore", "type": "string", "required": true }, "default": { "description": "What to output if no invite link could be found.", "type": "string", "default": "(no invite found)" }, "text": { "label": "Link text", "description": "The text that will be displayed by the link. If omitted, the full link URL will be displayed.", "type": "string", "default": "(the raw link)", "suggested": true } }, "description": "Outputs the invite link for a Discord server. The link is pulled from that server's infobox.", "paramOrder": [ "1", "text", "default" ] } </templatedata> <includeonly> [[Category:Templates that query Cargo]] </includeonly>
Summary:
Please note that all contributions to Irony Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
Irony Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Is Discord ID
(
edit
)
Template:Query
(
edit
)
Template:Server invite
(
edit
)
Template:Yesno
(
edit
)
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Purge cache
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information
Page values