Template:Discord: Difference between revisions

From OniGalore
(Discord is now redirecting the .gg link to this URL)
m (removed newline in docs)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
https://discord.com/invite/eqDMnkD<noinclude>
<includeonly>{{#ifeq:{{{nice|no}}}|yes|[https://discord.com/invite/eqDMnkD our Discord server]|{{#if:{{{label|}}}|[https://discord.com/invite/eqDMnkD {{{label}}}]|https://discord.com/invite/eqDMnkD}}}}</includeonly><noinclude>
This template provides a central location for an invite to Discord that won't expire. You can invoke the template in one of three ways:


This template provides a central location for an invite to Discord that won't expire. By transcluding it inside of external link syntax like <code><nowiki>[{{Discord}} our Discord server]</nowiki></code>, you have control over how to label the link.
<nowiki>{{Discord}}</nowiki><br>
=<br>
{{Discord}}
 
 
<nowiki>{{Discord|nice=yes}}</nowiki><br>
=<br>
{{Discord|nice=yes}}
 
 
<nowiki>{{Discord|label=custom text here}}</nowiki><br>
=<br>
{{Discord|label=custom text here}}


[[Category:Macro templates]]</noinclude>
[[Category:Macro templates]]</noinclude>

Latest revision as of 04:11, 21 March 2026

This template provides a central location for an invite to Discord that won't expire. You can invoke the template in one of three ways:

{{Discord}}
=
https://discord.com/invite/eqDMnkD


{{Discord|nice=yes}}
=
our Discord server


{{Discord|label=custom text here}}
=
custom text here