Template
Rank
From Dogcraft Wiki
imported>William No edit summary |
No edit summary |
||
(52 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>[[Category:Annotation templates]] | ||
<nowiki>{{Rank|<rank>|<custom text (optional, uses <rank> if empty)>}}</nowiki> appends <nowiki>[]'s</nowiki> to text and colors it based on rank color in-game. | |||
</noinclude> | |||
<includeonly>{{#switch: {{{1}}} | ==Example== | ||
|EnderGod=<span style="color: | {{Rank|Mod|}} | ||
|HeadMod=<span style="color: | |||
|Admin=<span style="color: | ==Usage== | ||
|Mod=<span style="color: | <nowiki>{{Rank|Mod}}</nowiki> → {{Rank|Mod}} <br> | ||
|ChatMod=<span style="color: | <nowiki>{{Rank|Mod|Staff Liaison}}</nowiki> → {{Rank|Mod|Staff Liaison}} | ||
|Events=<span style="color: | |||
==Template Data== | |||
<templatedata>{ | |||
"description": "Appends []'s to text and colors it based on rank color in-game.", | |||
"params": { | |||
"1": { | |||
"label": "Rank", | |||
"description": "Rank name, such as: EnderGod, HeadMod, Admin, Mod, ChatMod, Events, Staff, Helper, VIP, Pioneer, Patreon, ect.", | |||
"type": "string", | |||
"default": "CyberDog", | |||
"required": true | |||
} | |||
} | |||
}</templatedata> | |||
</noinclude><includeonly>{{#switch:{{SERVERRANKtoRank|{{{1}}}}} | |||
|EnderGod=<span style="color:#5555FF"> | |||
|HeadMod=<span style="color:#55FF55> | |||
|Admin=<span style="color:#AA00AA> | |||
|Mod=<span style="color:#AA0000> | |||
|ChatMod=<span style="color:#FF5555> | |||
|Events=<span style="color:#FFAA00> | |||
|Staff=<span style="color:Cyan"> | |Staff=<span style="color:Cyan"> | ||
|DisHeadMod=<span style="color:#55FF55"> | |||
|DisMod=<span style="color:Gold"> | |||
|Helper=<span style="color:Cyan"> | |Helper=<span style="color:Cyan"> | ||
|VIP=<span style="color: | |VIP=<span style="color:#FFAA00> | ||
|Pioneer=<span style="color:Cyan"> | |Pioneer=<span style="color:Cyan"> | ||
|Patreon=<span style="color: | |Patreon=<span style="color:#FF55FF> | ||
|<span style="color:Black">}} | |IronPatreon=<span style="color:Black"> | ||
<nowiki>[<nowiki>{{{1}}}< | |GoldPatreon=<span style="color:Gold"> | ||
</span> | |EmeraldPatreon=<span style="color:#00AA00"> | ||
</includeonly> | |DiamondPatreon=<span style="color:#00AAAA"> | ||
|PatreonMod=<span style="color:olive"> | |||
|Website Headmod=<span style="color:#006633> | |||
|VIP Moderator=<span style="color:#CC3300> | |||
|Global Moderator=<span style="color:#CC0033> | |||
|Trial Moderator=<span style="color:#fd6301"> | |||
|Administrator (Forum)=<span style="color:#663399"> | |||
|CyberDog=<span style="color:black"> | |||
|WebAdmin=<span style="color:#fc54fc"> | |||
|<span style="color:Black">}}{{#if:{{{2|}}}|<nowiki>[</nowiki>{{{2|}}}<nowiki>]</nowiki>|<nowiki>[</nowiki>{{SERVERRANKtoRank|{{{1}}}}}<nowiki>]</nowiki>}}</span></includeonly><noinclude> |
Latest revision as of 13:05, 29 December 2023
{{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 Liaison}} → [Staff Liaison]
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 |