Template:Home/StaffBox/StaffLink: Difference between revisions

From 95 Degrees Wiki
No edit summary
No edit summary
 
Line 2: Line 2:
--><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|}}} | {{#tag:html | <img src="{{{userImage}}}" style="width:100%; aspect-ratio:1/1;">}}}}</p>
{{#if:{{{userImage|}}} | {{#tag:html | <img src="{{{userImage}}}" style="width:100%; aspect-ratio:1/1;">}}}}</p>
<h3><center>[[{{{username}}}]]</center></h3>
<h3 style="margin-top:-10px"><center>[[{{{username}}}]]</center></h3>
<center>{{{role}}}</center><!--
<center>{{{role}}}</center><!--
--></includeonly><!--
--></includeonly><!--

Latest revision as of 17:44, 6 July 2023

Saku

Barista

Staff link for staff box

Template parameters

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
Rolerole role

The role of this user within the staff team

Default
Barista
Example
Barista, developer etc
Unknownoptional