Template

Siterank

From Dogcraft Wiki

m (typo)
mNo edit summary
 
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>]] 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.  
<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.  



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.

Template parameters

ParameterDescriptionTypeStatus
Wiki username1

The wiki username of the user who's website rank is being requested.

Example
William
Stringrequired
Background Valentine's Day Event 2024 by TheWhiteTigerNL