Template

Siterank

From Dogcraft Wiki

Revision as of 13:18, 4 December 2023 by Domino (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{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