Template

Rank

From Dogcraft Wiki

imported>William
No edit summary
imported>William
No edit summary
Line 6: Line 6:


==Usage==
==Usage==
<nowiki>{{Rank|Mod|}}</nowiki> → {{Rank|Mod|}} <br>
<nowiki>{{Rank|Mod}}</nowiki> → {{Rank|Mod|}} <br>
<nowiki>{{Rank|Mod|Staff Rep}}</nowiki> → {{Rank|Mod|Staff Rep}}
<nowiki>{{Rank|Mod|Staff Rep}}</nowiki> → {{Rank|Mod|Staff Rep}}


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">}}{{#if: {{{2}}} | <nowiki>[</nowiki>{{{2}}}<nowiki>]</nowiki> |{{{1}}} }}</span></includeonly>
</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> |[{{{1}}}]}}</span></includeonly>

Revision as of 23:51, 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.

Template parameters

ParameterDescriptionTypeStatus
Rank1

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

Default
CyberDog
Stringrequired
This page was last modified on 19 January 2020, at 23:51. (10 months ago)