Template
Siterank
From Dogcraft Wiki
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>[[Category:User data templates]] | ||
<nowiki>{{Sitreank|<username>}}</nowiki> is a template used to get the website rank of a wiki user with proper capitalisation. It formats the output from the [[Template:SERVERRANK|<nowiki>{{SERVERRANK}}</nowiki>]] template using the [[Template:SERVERRANKtoRank|<nowiki>{{SERVERRANKtoRank}}</nowiki>]] | <nowiki>{{Sitreank|<username>}}</nowiki> is a template used to get the website rank of a wiki user with proper capitalisation. It formats the output from the [[Template:SERVERRANK|<nowiki>{{SERVERRANK}}</nowiki>]] template using the [[Template:SERVERRANKtoRank|<nowiki>{{SERVERRANKtoRank}}</nowiki>]] technical template. This is the template that should be used for displaying someone's website rank inside text. The template [[Template:Rank|<nowiki>{{Rank}}</nowiki>]] may be used as an alternative to this template with slightly different results. | ||
This template does not need to be used when calling <nowiki>{{Rank}}</nowiki> template with output from the <nowiki>{{SERVERRANK}}</nowiki> template, because <nowiki>{{Rank}}</nowiki> | This template does not need to be used when calling <nowiki>{{Rank}}</nowiki> template with output from the <nowiki>{{SERVERRANK}}</nowiki> template, because <nowiki>{{Rank}}</nowiki> accepts SITERANK output. | ||
Latest revision as of 13:18, 4 December 2023
{{Sitreank|<username>}} is a template used to get the website rank of a wiki user with proper capitalisation. It formats the output from the {{SERVERRANK}} template using the {{SERVERRANKtoRank}} technical template. This is the template that should be used for displaying someone's website rank inside text. The template {{Rank}} may be used as an alternative to this template with slightly different results.
This template does not need to be used when calling {{Rank}} template with output from the {{SERVERRANK}} template, because {{Rank}} accepts SITERANK output.
This template accepts a wiki username as an input. (Wiki usernames for accounts created after 2020/Dec/05 will in many cases by identical to minecraft playernames, altough not for everyone. For accounts created prior to 2020/Dec/05 even greater variation is possible. You can check your account name by hovering the icon in the top right corner. Your account name is on the first line above " Preferences" if you are logged in.)
Usage
{{Siterank|William}} → {{SERVERRANKtoRank|Template:SITERANK
Technical
This template uses {{SERVERRANKtoRank}} to format output from {{SITERANK}}.
Template Data
Displays a user's website rank with proper capitalisation.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Wiki username | 1 | The wiki username of the user who's website rank is being requested.
| String | required |