Template

DiscordRank

From Dogcraft Wiki

No edit summary
m (Added category: Annotation templates)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="display: inline-block; {{#if: {{{inline|}}}|text-decoration:underline dotted|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 25: Line 25:
|Helper=#e486ca
|Helper=#e486ca
|Build Team Director=#7cd200
|Build Team Director=#7cd200
}}">&nbsp;⬤{{#if: {{{inline|}}}||</font>}}&nbsp;&nbsp;{{#if: {{{inline|}}}||<font style="color:white">}}{{{1}}}&nbsp;</font></div></includeonly><noinclude>
}}">&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>

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