More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><!-- | ||
<div class="floatright"> | --><div class="floatright"><!-- | ||
<h3 style="text-align:center; margin-bottom:5px;">{{{username}}}</h3> | --><h3 style="text-align:center; margin-bottom:5px;">{{{username}}}</h3><!-- | ||
<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|}}}| <h4>Server Information</h4> }} | -->{{#if:{{{joinyear|}}}{{{role|}}}| <h4>Server Information</h4> }}<!-- | ||
Join Year | |||
{{#if:{{{joinyear|}}}| | -->{{#if:{{{joinyear|}}}| | ||
<div class="infobox-info"> | <div class="infobox-info"> | ||
<h5>Joined</h5> | <h5>Joined</h5> | ||
<p>{{{joinyear}}}</p> | <p>{{{joinyear}}}</p> | ||
</div> | </div> | ||
}} | }}<!-- | ||
role | |||
{{#if:{{{role|}}}| | -->{{#if:{{{role|}}}| | ||
<div class="infobox-info"> | <div class="infobox-info"> | ||
<h5>Role</h5> | <h5>Role</h5> | ||
<p>{{{role}}}</p> | <p>{{{role}}}</p> | ||
</div> | </div> | ||
}} | }}<!-- | ||
Personal info | |||
{{#if:{{{location|}}}{{{dob|}}}{{{gender|}}}{{{pronouns|}}}| <h4>Personal Information</h4> }} | -->{{#if:{{{location|}}}{{{dob|}}}{{{gender|}}}{{{pronouns|}}}| <h4>Personal Information</h4> }}<!-- | ||
Location | |||
{{#if:{{{location|}}}| | -->{{#if:{{{location|}}}| | ||
<div class="infobox-info"> | <div class="infobox-info"> | ||
<h5>Location</h5> | <h5>Location</h5> | ||
<p>{{{location}}}</p> | <p>{{{location}}}</p> | ||
</div> | </div> | ||
}} | }}<!-- | ||
Date of birth | |||
{{#if:{{{dob|}}}| | -->{{#if:{{{dob|}}}| | ||
<div class="infobox-info"> | <div class="infobox-info"> | ||
<h5>Date of Birth</h5> | <h5>Date of Birth</h5> | ||
<p>{{{dob}}}</p> | <p>{{{dob}}}</p> | ||
</div> | </div> | ||
}} | }}<!-- | ||
Gender | |||
{{#if:{{{gender|}}}| | -->{{#if:{{{gender|}}}| | ||
<div class="infobox-info"> | <div class="infobox-info"> | ||
<h5>Gender</h5> | <h5>Gender</h5> | ||
<p>{{{gender}}}</p> | <p>{{{gender}}}</p> | ||
</div> | </div> | ||
}} | }}<!-- | ||
Pronouns | |||
{{#if:{{{pronouns|}}}| | -->{{#if:{{{pronouns|}}}| | ||
<div class="infobox-info"> | <div class="infobox-info"> | ||
<h5>Pronouns</h5> | <h5>Pronouns</h5> | ||
<p>{{{pronouns}}}</p> | <p>{{{pronouns}}}</p> | ||
</div> | </div> | ||
}} | }}<!-- | ||
Socials | |||
{{#if:{{{twitter|}}}{{{website|}}}| | -->{{#if:{{{twitter|}}}{{{website|}}}| | ||
<h4>Links</h4> | <h4>Links</h4> | ||
<div style="display:flex; gap:5px; justify-content:space-around;"> | <div style="display:flex; gap:5px; justify-content:space-around;"> | ||
| Line 72: | Line 72: | ||
{{#if:{{{website|}}}| <div>[{{{website}}} Website]</div> }} | {{#if:{{{website|}}}| <div>[{{{website}}} Website]</div> }} | ||
</div> | </div> | ||
}} | }}<!-- | ||
</div> | --></div><!-- | ||
</div> | --></div> | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Revision as of 10:42, 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 |