Template:Home/StaffBox/StaffLink: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
-->{{#if:{{{userId|}}} | {{#tag:html | <img src="https://api.saku.dev/spin-dash/avatar/{{{userId}}}.png" style="width:100%; aspect-ratio:1/1;">}} }} | -->{{#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]]}} | {{#if:{{{userImage|}}} | [[File:{{{userImage}}}|256px]]}} | ||
[[{{{username}}}]] <!-- | <center>[[{{{username}}}]]</center> <!-- | ||
--></includeonly><!-- | --></includeonly><!-- | ||
Revision as of 10:16, 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 |