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>{{SITERANKtoRank|<rank>}}</nowiki> is an internal template that converts output from the <nowiki>{{SITERANK}}</nowiki> template into the format recognised by the <nowiki>{{Rank}}</nowiki> template.  
<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>{{SITERANKtoRank|cyberdog}}</nowiki> → {{SITERANKtoRank|cyberdog}}
<nowiki>{{SERVERRANKtoRank|cyberdog}}</nowiki> → {{SERVERRANKtoRank|cyberdog}}




Line 18: Line 18:
}
}
},
},
"description": "An internal template to convert between the output of {{SITERANK}} and the accepted input format of {{Rank}}.",
"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}}.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
SITERANK output1

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
Stringrequired
This page was last modified on 6 December 2020, at 03:55. (11 months ago)