Template
SERVERRANKtoRank
From Dogcraft Wiki
mNo edit summary |
mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>[[Category:User data templates]] | ||
<nowiki>{{ | <nowiki>{{SERVERRANKtoRank|<rank>}}</nowiki> is a technical 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": " | "description": "A technical template to convert between the output of {{SERVERRANK}} and the accepted input format of {{Rank}}.", | ||
"format": "inline" | "format": "inline" | ||
} | } |
Latest revision as of 13:17, 4 December 2023
{{SERVERRANKtoRank|<rank>}} is a technical template that converts output from the {{SERVERRANK}} template into the format recognised by the {{Rank}} template.
Example
{{SERVERRANKtoRank|cyberdog}} → CyberDog
Template data
A technical 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 |