Template:Discord: Difference between revisions
(Created page with "https://discord.gg/eqDMnkD<noinclude> This template provides a central location for an invite to Discord that won't expire. By transcluding it inside of external link syntax...") |
(added default label and custom label) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
https://discord. | <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. | 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: | ||
<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 21:30, 12 November 2025
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