Template
SERVERRANKtoRank
From Dogcraft Wiki
m (Domino moved page Template:SITERANKtoRank to Template:SERVERRANKtoRank without leaving a redirect) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<nowiki>{{ | <nowiki>{{SERVERRANKtoRank|<rank>}}</nowiki> is an internal template that converts output from the <nowiki>{{SERVERRANK}}</nowiki> template into the format recognised by the <nowiki>{{Rank}}</nowiki> template. | ||
==Example== | ==Example== | ||
<nowiki>{{ | <nowiki>{{SERVERRANKtoRank|cyberdog}}</nowiki> → {{SERVERRANKtoRank|cyberdog}} | ||
Line 18: | Line 18: | ||
} | } | ||
}, | }, | ||
"description": "An internal template to convert between the output of {{ | "description": "An internal template to convert between the output of {{SERVERRANK}} and the accepted input format of {{Rank}}.", | ||
"format": "inline" | "format": "inline" | ||
} | } |
Revision as of 03:55, 6 December 2020
{{SERVERRANKtoRank|<rank>}} is an internal template that converts output from the {{SERVERRANK}} template into the format recognised by the {{Rank}} template.
Example
{{SERVERRANKtoRank|cyberdog}} → CyberDog
Template data
An internal template to convert between the output of {{SERVERRANK}} and the accepted input format of {{Rank}}.
Parameter | Description | Type | Status | |
---|---|---|---|---|
SITERANK output | 1 | An all lowercase rank name outputted by the SITERANK template. Can be: endergod, headmod, admin, webadmin, mod, chatmod, events, staff, helper, vip, pioneer, patreon, ironpatreon, goldpatreon, emeraldpatreon, diamondpatreon and cyberdog
| String | required |