Template
DiscordRank
From Dogcraft Wiki
imported>William No edit summary |
m (Added category: Annotation templates) |
||
(24 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<div style="display: inline-block; background-color: #18191C; padding: | <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 | |Head Mod=#11806a | ||
| Server Moderator=#fd0505 | |Server Moderator=#fd0505 | ||
| Patreons=#f1c40f | |Patreons=#f1c40f | ||
| DC Server Rep=#fd2222 | |DC Server Rep=#fd2222 | ||
| Content=white | |Content=white | ||
| Admin=#71368a | |Dogcraft=white | ||
| Discord Moderator=# | |Admin=#71368a | ||
| MC Admins=#71368a | |Discord Moderator=#ff5200 | ||
| Wiki Admin=#5bf3dc | |MC Admins=#71368a | ||
| Server Chat Mod=# | |Wiki Admin=#5bf3dc | ||
| Retired Staff=# | |Server Chat Mod=#ff7f7f | ||
| Iron Patreon=#a3a2a2 | |Retired Staff=#beedbe | ||
| Gold Patreon=#c27c0e | |Iron Patreon=#a3a2a2 | ||
| Emerald Patreon=#2ecc71 | |Gold Patreon=#c27c0e | ||
| Diamond Patreon=#3498db | |Emerald Patreon=#2ecc71 | ||
| Endergod=#ad1457 | |Diamond Patreon=#3498db | ||
| Nitro Booster=# | |Endergod=#ad1457 | ||
| Discord Head Mod=#5c5bf1 | |Nitro Booster=#ebe58f | ||
">⬤ <font style="color:white">{{{1}}}</font></div> | |Discord Head Mod=#5c5bf1 | ||
|K9=#eb03ff | |||
|Hermits=#6ce926 | |||
|Events Team=#e91e63 | |||
|Patreon Head Mod=#b0b137 | |||
|Helper=#e486ca | |||
|Build Team Director=#7cd200 | |||
}}"> ⬤{{#if: {{{inline|}}}||</font>}} {{#if: {{{inline|}}}|<font style="text-decoration:underline dotted;">|<font style="color:white">}}{{{1}}} {{#if: {{{inline|}}}|</font>|}}</font></div></includeonly><noinclude>[[Category:Annotation templates]] | |||
Example: <pre>{{DiscordRank|Head Mod}}</pre> generates {{DiscordRank|Head Mod}} | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Rank name", | |||
"description": "Name of the discord rank. Case sensitive.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"inline": { | |||
"label": "Inline", | |||
"description": "Toggle for background color", | |||
"type": "boolean", | |||
"required": false | |||
} | |||
}, | |||
"description": "Generates a preview of the discord rank." | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 12:03, 4 December 2023
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 |