Template

Siterank

From Dogcraft Wiki

(Created page with "<noinclude> <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 Tem...")
 
mNo edit summary
Line 17: Line 17:
==Template Data==
==Template Data==
<templatedata>{
<templatedata>{
"description": "Displays's a user's website rank with proper capitalisation.",
"description": "Displays a user's website rank with proper capitalisation.",
"params": {
"params": {
"1": {
"1": {

Revision as of 03:57, 6 December 2020

{{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}} thechnical 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}} does accept 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
This page was last modified on 6 December 2020, at 03:57. (11 months ago)
Background SRN Opening by Montenator