Template:Home/StaffBox/StaffLink: Difference between revisions
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
Staff link for staff box
Parameter | Description | Type | Status | |
---|---|---|---|---|
Username | username Username | The username of the staff member
| String | required |
User ID | userId User ID | The user ID of the staff member to fetch their avatar
| Unknown | optional |
User Image | userImage User Image | The uploaded image of the staff member's profile picture (alternative to User ID, don't use both)
| String | optional |
Role | role role | The role of this user within the staff team
| Unknown | optional |