Template:Home/StaffBox/StaffLink: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{{#if:{{{userId|}}} | https://api.saku.dev/spin-dash/avatar/{{{userId}}}.png}} | -->{{#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}}}]] <!-- | [[{{{username}}}]] <!-- |
Revision as of 10:15, 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 |