Template

DiscordRank

From Dogcraft Wiki

No edit summary
m (Added category: Annotation templates)
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><div style="display: inline-block; background-color: #18191C; border-radius: 3px; padding:4px 4px 4px 4px"><font style="color:{{#switch: {{{1}}}|Head Mod=#11806a|Server Moderator=#fd0505|Patreons=#f1c40f|DC Server Rep=#fd2222|Content=white|Admin=#71368a|Discord Moderator=#df5d20|MC Admins=#71368a|Wiki Admin=#5bf3dc|Server Chat Mod=#e74c3c|Retired Staff=#11e5ff|Iron Patreon=#a3a2a2|Gold Patreon=#c27c0e|Emerald Patreon=#2ecc71|Diamond Patreon=#3498db|Endergod=#ad1457|Nitro Booster=#397b8d|Discord Head Mod=#5c5bf1|K9=#eb03ff|Hermits=#6ce926|Events Team=#e91e63|Patreon Head Mod=#b0b137|Helper=#e486ca|Build Team Director =#17ac86}}">&nbsp;⬤</font>&nbsp;&nbsp;<font style="color:white">{{{1}}}&nbsp;</font></div></includeonly><noinclude>
<includeonly><div style="display: inline-block; {{#if: {{{inline|}}}||background-color: #18191C;}} border-radius: 3px; padding:4px 4px 4px 4px"><font style="color:{{#switch: {{{1}}}
|Head Mod=#11806a
|Server Moderator=#fd0505
|Patreons=#f1c40f
|DC Server Rep=#fd2222
|Content=white
|Dogcraft=white
|Admin=#71368a
|Discord Moderator=#ff5200
|MC Admins=#71368a
|Wiki Admin=#5bf3dc
|Server Chat Mod=#ff7f7f
|Retired Staff=#beedbe
|Iron Patreon=#a3a2a2
|Gold Patreon=#c27c0e
|Emerald Patreon=#2ecc71
|Diamond Patreon=#3498db
|Endergod=#ad1457
|Nitro Booster=#ebe58f
|Discord Head Mod=#5c5bf1
|K9=#eb03ff
|Hermits=#6ce926
|Events Team=#e91e63
|Patreon Head Mod=#b0b137
|Helper=#e486ca
|Build Team Director=#7cd200
}}">&nbsp;⬤{{#if: {{{inline|}}}||</font>}}&nbsp;&nbsp;{{#if: {{{inline|}}}|<font style="text-decoration:underline dotted;">|<font style="color:white">}}{{{1}}}&nbsp;{{#if: {{{inline|}}}|</font>|}}</font></div></includeonly><noinclude>[[Category:Annotation templates]]
Example: <pre>{{DiscordRank|Head Mod}}</pre> generates {{DiscordRank|Head Mod}}
Example: <pre>{{DiscordRank|Head Mod}}</pre> generates {{DiscordRank|Head Mod}}
<templatedata>
<templatedata>
Line 9: Line 35:
"type": "string",
"type": "string",
"required": true
"required": true
},
"inline": {
"label": "Inline",
"description": "Toggle for background color",
"type": "boolean",
"required": false
}
}
},
},

Latest revision as of 12:03, 4 December 2023

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
Inlineinline

Toggle for background color

Booleanoptional
Background Valentine's Day Event 2024 by TheWhiteTigerNL