Template:Home/StaffBox/StaffLink: Difference between revisions
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|}}} | | {{#if:{{{userImage|}}} | {{#tag:html | <img src="{{{userImage}}}" style="width:100%; aspect-ratio:1/1;">}}}}</p> | ||
<center>[[{{{username}}}]]</center> <!-- | <center>[[{{{username}}}]]</center> <!-- | ||
--></includeonly><!-- | --></includeonly><!-- |
Revision as of 10:25, 16 February 2023
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 |