Template
Rank
From Dogcraft Wiki
mNo edit summary |
mNo edit summary |
||
Line 22: | Line 22: | ||
} | } | ||
}</templatedata> | }</templatedata> | ||
</noinclude><includeonly>{{#switch:{{ | </noinclude><includeonly>{{#switch:{{SERVERRANKtoRank|{{{1}}}}} | ||
|EnderGod=<span style="color:#5555FF"> | |EnderGod=<span style="color:#5555FF"> | ||
|HeadMod=<span style="color:#55FF55> | |HeadMod=<span style="color:#55FF55> | ||
Line 45: | Line 45: | ||
|CyberDog=<span style="color:black"> | |CyberDog=<span style="color:black"> | ||
|WebAdmin=<span style="color:#fc54fc"> | |WebAdmin=<span style="color:#fc54fc"> | ||
|<span style="color:Black">}}{{#if:{{{2|}}}|<nowiki>[</nowiki>{{{2|}}}<nowiki>]</nowiki>|<nowiki>[</nowiki>{{ | |<span style="color:Black">}}{{#if:{{{2|}}}|<nowiki>[</nowiki>{{{2|}}}<nowiki>]</nowiki>|<nowiki>[</nowiki>{{SERVERRANKtoRank|{{{1}}}}}<nowiki>]</nowiki>}}</span></includeonly><noinclude> |
Revision as of 03:56, 6 December 2020
{{Rank|<rank>|<custom text (optional, uses <rank> if empty)>}} appends []'s to text and colors it based on rank color in-game.
Example
[Mod]
Usage
{{Rank|Mod}} → [Mod]
{{Rank|Mod|Staff Rep}} → [Staff Rep]
Template Data
Appends []'s to text and colors it based on rank color in-game.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Rank | 1 | Rank name, such as: EnderGod, HeadMod, Admin, Mod, ChatMod, Events, Staff, Helper, VIP, Pioneer, Patreon, ect.
| String | required |
This page was last modified on 6 December 2020, at 03:56. (10 months ago)