Template
SERVERRANKtoRank
From Dogcraft Wiki
(Created page with "<noinclude> <nowiki>{{Siterank|<rank>}}</nowiki> is an internal template that converts output from the <nowiki>{{SITERANK}}</nowiki> template into the format recognised by the...") |
mNo edit summary |
||
Line 5: | Line 5: | ||
<nowiki>{{Siteank|cyberdog}}</nowiki> → {{Siterank|cyberdog}} | <nowiki>{{Siteank|cyberdog}}</nowiki> → {{Siterank|cyberdog}} | ||
==Template data== | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "SITERANK output", | |||
"description": "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", | |||
"example": "chatmod", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"description": "An internal template to convert between the output of {{SITERANK}} and the accepted input format of {{Rank}}.", | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
</noinclude><includeonly>{{#switch:{{{1}}} | </noinclude><includeonly>{{#switch:{{{1}}} | ||
|endergod=EnderGod | |endergod=EnderGod |
Revision as of 03:09, 6 December 2020
{{Siterank|<rank>}} is an internal template that converts output from the {{SITERANK}} template into the format recognised by the {{Rank}} template.
Example
{{Siteank|cyberdog}} → {{SERVERRANKtoRank|Template:SITERANK
Template data
An internal template to convert between the output of {{SITERANK}} 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 |