Template
DiscordRank
From Dogcraft Wiki
No edit summary |
m (Adding title for accessibility) |
||
| Line 1: | Line 1: | ||
<includeonly><div style="display: inline-block; background-color: #323339; border-radius: 5px; padding:4px 4px 4px 4px; color: white;"><i class="fa-brands fa-discord" style="color: white; padding-left: 0.25em;"></i><font style="color: transparent; font-weight: bold; background-color: white; background: linear-gradient(to right, {{#switch: {{{1}}} | <includeonly><div title="The {{{1}}} role on Discord" style="display: inline-block; background-color: #323339; border-radius: 5px; padding:4px 4px 4px 4px; color: white;"><i class="fa-brands fa-discord" style="color: white; padding-left: 0.25em;"></i><font style="color: transparent; font-weight: bold; background-color: white; background: linear-gradient(to right, {{#switch: {{{1}}} | ||
|Endergod=#ae3b3b, red, #ae3b3b | |Endergod=#ae3b3b, red, #ae3b3b | ||
|Admin=#afc8fd, #fdbbec, #ffc2a0 | |Admin=#afc8fd, #fdbbec, #ffc2a0 | ||
Revision as of 22:16, 3 September 2025
Example:
{{DiscordRank|Head Mod}}generates
Head Mod
Generates a preview of the discord rank.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Rank name | 1 | Name of the discord rank. Case sensitive. | String | required |
| Inline | inline | Toggle for background color | Boolean | optional |
This page was last modified on 3 September 2025, at 22:16. (2 months ago)