Template
DiscordRank
From Dogcraft Wiki
No edit summary |
m (Added "inline" parameter) |
||
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}}} | <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 | ||
Line 35: | Line 35: | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | |||
"inline": { | |||
"label": "Inline", | |||
"description": "Toggle for background color", | |||
"type": "boolean", | |||
"required": false | |||
} | } | ||
}, | }, |
Revision as of 18:20, 27 March 2021
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 27 March 2021, at 18:20. (11 months ago)