Template:Discord

From Cosmoteer Wiki
Jump to navigation Jump to search

DiscordIcon.png Discord

Template documentation
View or edit this documentation. (About template documentation)
CalloutIconNote.pngNote
Portions of the template sample may not be visible without values provided.
CalloutIconNote.png
Defines all its styles as template styles
All styles for this template are defined as template styles in Template:Discord/styles.css.

A simple template used to insert links to the official Cosmoteer Discord server and its various channels. Includes an icon and text label, both of which are linked to the relevant location.

Usage

Link To Server

A link to the overall server is the default case. It is created using either of the following syntax options:

{{Discord}}
{{Discord|Server}}

DiscordIcon.png Discord

Link To Channel

Links to specific channels can also be created. To do so, simply pass the exact name of the channel as a parameter. For example, a link to the ideas-and-feedback channel would be created as follows:

{{Discord|ideas-and-feedback}}

DiscordIcon.png ideas-and-feedback

In-line Usage

This template works automatically in-line within sentences. This allows for creating links to channels — like DiscordIcon.png Modding — without line breaks.

Test DiscordIcon.png Discord

And

DiscordIcon.png #modding DiscordIcon.png 🔊General-1