Template

SERVERRANKtoRank

From Dogcraft Wiki

m (Domino moved page Template:SITERANKtoRank to Template:SERVERRANKtoRank without leaving a redirect)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>[[Category:User data templates]]
<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 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>{{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": "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}}.

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
Background SRN Opening by Montenator