Template:Discord: Difference between revisions
Jump to navigation
Jump to search
Chipsnapper2 (talk | contribs) (Created page with "16px|alt=<Discord>") |
KiwifruitDev (talk | contribs) (Add support for new link parameter) |
||
| (8 intermediate revisions by 7 users not shown) | |||
| Line 1: | Line 1: | ||
[[File: | {{Doc}} | ||
<includeonly> | |||
<onlyinclude><span style="user-select:none">{{#switch:{{{icon}}}|#default|show=[[File:Icon-Discord.png|16px|link={{#switch:{{{uselink}}}|#default|show|true={{#if:{{{user|}}}|https://discord.com/users/{{{user|}}}|{{#if:{{{1|}}}|https://discord.gg/{{{1|}}}|https://discord.com/}}}}|no|hide|false=}}|alt=Discord logo]] |no|hide=}}</span>{{#switch:{{{uselink}}}|#default|show|true={{#if:{{{user|}}} | |||
|{{#if:{{{1|}}} | |||
|<span class="plainlinks">[https://discord.com/users/{{{user|}}} {{{1}}}]</span> | |||
|<span class="plainlinks">[https://discord.com/users/{{{user|}}} Discord]</span> | |||
}}|{{#if:{{{1|}}} | |||
|<span class="plainlinks">[https://discord.gg/{{{1}}} {{{2|{{{1}}}}}}]</span> | |||
|<span class="plainlinks">[https://discord.com/ Discord]</span> | |||
}}}}|no|hide|false={{#if:{{{1|}}} | |||
|<span>{{{1}}}</span> | |||
|<span>Discord</span> | |||
}}}}</onlyinclude> | |||
<!-- Add categories to the /doc subpage, not here --> | |||
</includeonly> | |||
Latest revision as of 01:07, 4 December 2025
The above documentation is transcluded from Template:Discord/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.