Template

Rank

From Dogcraft Wiki

mNo edit summary
mNo edit summary
Line 22: Line 22:
}
}
}</templatedata>
}</templatedata>
</noinclude><includeonly>{{#switch:{{Siterank|{{{1}}}}}
</noinclude><includeonly>{{#switch:{{SITERANKtoRank|{{{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>{{Siterank|{{{1}}}}}<nowiki>]</nowiki>}}</span></includeonly><noinclude>
|<span style="color:Black">}}{{#if:{{{2|}}}|<nowiki>[</nowiki>{{{2|}}}<nowiki>]</nowiki>|<nowiki>[</nowiki>{{SITERANKtoRank|{{{1}}}}}<nowiki>]</nowiki>}}</span></includeonly><noinclude>

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

[Template:SITERANKtoRank]

Usage

{{Rank|Mod}} → [Template:SITERANKtoRank]
{{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:27. (10 months ago)