More actions
No edit summary |
No edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><!-- | ||
<div class="floatright"> | --><div class="floatright"><!-- | ||
< | --><div style="display:flex; justify-content:center;"><span class="infobox-header" style="text-align:center; margin-bottom:5px;">{{{username}}}</span></div><!-- | ||
<div class="infobox-main"> | --><div class="infobox-main"><!-- | ||
<!-- Discord avatar --> | Discord avatar | ||
{{#if:{{{userId|}}}| https://api.saku.dev/spin-dash/avatar/{{{userId}}}.png}} | -->{{#if:{{{userId|}}}| https://api.saku.dev/spin-dash/avatar/{{{userId}}}.png}}<!-- | ||
Uploaded image | |||
{{#if:{{{imageFile|}}}| [[File:{{{imageFile}}}|300px]]}} | -->{{#if:{{{imageFile|}}}| [[File:{{{imageFile}}}|300px]]}}<!-- | ||
Server Information | |||
{{#if:{{{joinyear|}}}{{{role|}}}| < | -->{{#if:{{{joinyear|}}}{{{role|}}}| <span class="infobox-header">Server Information</span> }}<!-- | ||
Join Year | |||
{{#if:{{{joinyear|}}}| | -->{{#if:{{{joinyear|}}}| | ||
<div class="infobox-info"> | <div class="infobox-info"> | ||
< | <span>Joined</span> | ||
<p>{{{joinyear}}}</p> | <p>{{{joinyear}}}</p> | ||
</div> | </div> | ||
}} | }}<!-- | ||
role | |||
{{#if:{{{role|}}}| | -->{{#if:{{{role|}}}| | ||
<div class="infobox-info"> | <div class="infobox-info"> | ||
< | <span>Role</span> | ||
<p>{{{role}}}</p> | <p>{{{role}}}</p> | ||
</div> | </div> | ||
}}<!-- | |||
Personal info | |||
-->{{#if:{{{location|}}}{{{dob|}}}{{{gender|}}}{{{pronouns|}}}| <span class="infobox-header">Personal Information</span> }}<!-- | |||
Location | |||
-->{{#if:{{{location|}}}| | |||
<div class="infobox-info"> | |||
<span>Location</span> | |||
<p>{{{location}}}</p> | |||
</div> | |||
}}<!-- | |||
Date of birth | |||
-->{{#if:{{{dob|}}}| | |||
<div class="infobox-info"> | |||
<span>Date of Birth</span> | |||
<p>{{{dob}}}</p> | |||
</div> | </div> | ||
}}<!-- | |||
Gender | |||
-->{{#if:{{{gender|}}}| | |||
<div class="infobox-info"> | |||
<span>Gender</span> | |||
<p>{{{gender}}}</p> | |||
</div> | </div> | ||
}}<!-- | |||
Pronouns | |||
-->{{#if:{{{pronouns|}}}| | |||
<div class="infobox-info"> | |||
<span>Pronouns</span> | |||
<p>{{{pronouns}}}</p> | |||
</div> | |||
}}<!-- | |||
Socials | |||
-->{{#if:{{{twitter|}}}{{{website|}}}| | |||
<span class="infobox-header">Links</span> | |||
<div style="display:flex; gap:5px; justify-content:space-around;"> | |||
{{#if:{{{twitter|}}}| <div>[{{{twitter}}} Twitter]</div> }} | |||
{{#if:{{{website|}}}| <div>[{{{website}}} Website]</div> }} | |||
</div> | |||
}}<!-- | |||
--></div><!-- | |||
--></div> | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
| Line 167: | Line 212: | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 10:58, 4 April 2025
Saku
Infobox for a server member
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Username | username Username | Server username (don't include the tag)
| String | required |
| User ID | userId User ID | Discord user ID, used to fetch avatar (if this doesn't work, @Saku)
| String | optional |
| Profile Image | imageFile Profile Image | File name of an image uploaded to wiki to be used as profile picture
| File | optional |
| Join Year | joinyear Join Year | The year this member joined the server
| String | optional |
| Role | role Role | The member's main role in the server (eg. staff / member)
| String | optional |
| Location | location Location | Member's rough location (don't dox!!)
| String | optional |
| Date of Birth | dob Date of Birth | The member's date of birth (can also be N/A)
| String | optional |
| Gender | gender Gender | The member's gender (can also be N/A)
| String | optional |
| Pronouns | pronouns Pronouns | The member's main pronouns (can also be N/A)
| String | optional |
| Twitter URL | twitter Twitter URL | Link to Twitter profile
| URL | optional |
| Website URL | website Website URL | Link to a website
| URL | optional |