Template

Rank

From Dogcraft Wiki

m (Adding {{SITERANK}} compatibility using {{Siterank}})
mNo edit summary
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>{{{1}}}<nowiki>]</nowiki>}}</span></includeonly><noinclude>
|<span style="color:Black">}}{{#if:{{{2|}}}|<nowiki>[</nowiki>{{{2|}}}<nowiki>]</nowiki>|<nowiki>[</nowiki>{{Siterank|{{{1}}}}}<nowiki>]</nowiki>}}</span></includeonly><noinclude>

Revision as of 03:25, 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

[{{SERVERRANKtoRank|Template:SITERANK]

Usage

{{Rank|Mod}} → [{{SERVERRANKtoRank|Template:SITERANK]
{{Rank|Mod|Staff Rep}} → [Staff Rep]

Template Data

Appends []'s to text and colors it based on rank color in-game.

Template parameters

ParameterDescriptionTypeStatus
Rank1

Rank name, such as: EnderGod, HeadMod, Admin, Mod, ChatMod, Events, Staff, Helper, VIP, Pioneer, Patreon, ect.

Default
CyberDog
Stringrequired
This page was last modified on 6 December 2020, at 03:25. (10 months ago)
Background Valentine's Day Event 2024 by TheWhiteTigerNL