Template
Rank
From Dogcraft Wiki
imported>William No edit summary |
imported>William No edit summary |
||
Line 22: | Line 22: | ||
} | } | ||
}</templatedata> | }</templatedata> | ||
</noinclude><includeonly>{{#switch: {{{1}}}|EnderGod=<span style="color:Blue">|HeadMod=<span style="color:Green">|Admin=<span style="color:Purple">|Mod=<span style="color:Red">|ChatMod=<span style="color:FireBrick">|Events=<span style="color:Orange">|Staff=<span style="color:Cyan">|Helper=<span style="color:Cyan">|VIP=<span style="color:Orange">|Pioneer=<span style="color:Cyan">|Patreon=<span style="color:Pink">|<span style="color:Black">}}<nowiki>[</nowiki>{{{1}}}<nowiki>]</nowiki> | </noinclude><includeonly>{{#switch: {{{1}}}|EnderGod=<span style="color:Blue">|HeadMod=<span style="color:Green">|Admin=<span style="color:Purple">|Mod=<span style="color:Red">|ChatMod=<span style="color:FireBrick">|Events=<span style="color:Orange">|Staff=<span style="color:Cyan">|Helper=<span style="color:Cyan">|VIP=<span style="color:Orange">|Pioneer=<span style="color:Cyan">|Patreon=<span style="color:Pink">|<span style="color:Black">}}{{#if: {{{2|}}}|<nowiki>[</nowiki>{{{2|}}}<nowiki>]</nowiki> | <nowiki>[</nowiki>{{{1}}}<nowiki>]</nowiki>}}</includeonly> |
Revision as of 23:57, 19 January 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
| String | required |
This page was last modified on 19 January 2020, at 23:57. (10 months ago)