Template

Rank

From Dogcraft Wiki

imported>William
No edit summary
imported>William
No edit summary
Line 7: Line 7:
==Usage==
==Usage==
<nowiki>{{Rank|Mod}}</nowiki> → {{Rank|Mod}}
<nowiki>{{Rank|Mod}}</nowiki> → {{Rank|Mod}}
==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",
      "type": "string",
      "default": "CyberDog",
      "required": false
    }
  }
}</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></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">}}<nowiki>[</nowiki>{{{1}}}<nowiki>]</nowiki></span></includeonly>

Revision as of 08:23, 5 December 2019

{{Rank|<rank>}} appends []'s to text and colors it based on rank color in-game.

Example

[Mod]

Usage

{{Rank|Mod}} → [Mod]

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
Stringoptional
This page was last modified on 5 December 2019, at 08:23. (10 months ago)