Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Home/StaffBox/StaffLink: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
--><p>{{#if:{{{userId|}}} | {{#tag:html | <img src="https://api.saku.dev/spin-dash/avatar/{{{userId}}}.png" style="width:100%; aspect-ratio:1/1;">}} }}
--><p>{{#if:{{{userId|}}} | {{#tag:html | <img src="https://api.saku.dev/spin-dash/avatar/{{{userId}}}.png" style="width:100%; aspect-ratio:1/1;">}} }}
{{#if:{{{userImage|}}} | [[File:{{{userImage}}}|256px]]}}</p>
{{#if:{{{userImage|}}} | [[File:{{{userImage}}}]]}}</p>
<center>[[{{{username}}}]]</center> <!--
<center>[[{{{username}}}]]</center> <!--
--></includeonly><!--
--></includeonly><!--

Revision as of 10:24, 16 February 2023

Saku

Staff link for staff box

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Usernameusername Username

The username of the staff member

Example
Saku
Stringrequired
User IDuserId User ID

The user ID of the staff member to fetch their avatar

Example
255673616342056961
Unknownoptional
User ImageuserImage User Image

The uploaded image of the staff member's profile picture (alternative to User ID, don't use both)

Example
Guardian-logo.png
Stringoptional