From Valve Developer Community
Jump to navigation
Jump to search

Available doc translations
…
English
Link to
Discord server invite, user, or its official website.
Parameters and Examples
Parameter
|
Description
|
Example
|
Preview
|
No Parameters
|
Creates invite link to a Discord server. Without the parameters below will instead leads to Discord official website.
|
|
|
{{{1}}}
|
Set the server link. Functions as alt text if {{{user}}} is specified.
|
|
|
{{{2}}}
|
Alternative name of the link. Use {{{1}}} instead if {{{user}}} is specified.
|
{{discord|halflife|Discord server for Half-Life}}
|
|
{{{user}}}
|
Link to a Discord user by ID. Uses {{{1}}} as alt text.
|
{{discord|user=728082336536854559|@KiwifruitDev}}
|
|
{{{icon}}}
|
Hide/shows the icon. Values: show (default), hide
|
|
|
See also