Template

DiscordRank

From Dogcraft Wiki

No edit summary
(fix creative team color)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="display: inline-block; background-color: #4f515a; 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; 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
|MC Admins=#511a93, #9784cc
|MC Admins=#6d23c6, #bda5ff
|Hermits=#afc8fd, #fabced, #eeb798
|Hermits=#afc8fd, #fabced, #eeb798
|Discord Head Mod=#5e5ef1, #9abafe, #5e5ef1
|Discord Head Mod=#5e5ef1, #9abafe, #5e5ef1
|Head Mod=#399d78, #6ff99b, #399d78
|Head Mod=#399d78, #6ff99b, #399d78
|Server Head Mod=#399d78, #6ff99b, #399d78
|Server Head Mod=#399d78, #6ff99b, #399d78
|Patreon Head Mod=#4fc49f, #9fc1ff, #4fc49f
|Discord Moderator=#fe5705, #efb060, #fe5705
|Discord Moderator=#fe5705, #efb060, #fe5705
|Server Moderator=red, white, red
|Server Moderator=red, white, red
|Server Chat Mod=#fc585a, #9dbcf8, #fc585a
|Server Chat Mod=#fc585a, #9dbcf8, #fc585a
|Wiki Admin=#60fee6, #9dc0fc
|Wiki Admin=#60fee6, #9dc0fc
|Creative Team=#e9079a, #cbc5ce, #e9079a
|Media Team=#bd1985, white
|Media Team=#bd1985, white
|Patreons=#afc8fd, #fdbbec, #ffc2a0
|Patreons=#afc8fd, #fdbbec, #ffc2a0
Line 22: Line 24:
|Retired Staff=#beedbe, #beedbe
|Retired Staff=#beedbe, #beedbe
|Nitro Booster=#ede899, #ede899
|Nitro Booster=#ede899, #ede899
|Patreon Head Mod=#b0b137, #b0b137


|DC Server Rep=#fd2222, #fd2222
|DC Server Rep=#fd2222, #fd2222
Line 40: Line 40:
"type": "string",
"type": "string",
"required": true
"required": true
},
"inline": {
"label": "Inline",
"description": "Toggle for background color",
"type": "boolean",
"required": false
}
}
},
},

Latest revision as of 20:48, 8 September 2025

Example:

{{DiscordRank|Head Mod}}

generates

 Head Mod 

Generates a preview of the discord rank.

Template parameters

ParameterDescriptionTypeStatus
Rank name1

Name of the discord rank. Case sensitive.

Stringrequired