More actions
No edit summary |
No edit summary |
||
| (43 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><!-- | ||
--><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"><!-- | |||
Discord avatar | |||
-->{{#if:{{{userId|}}}| https://api.saku.dev/spin-dash/avatar/{{{userId}}}.png}}<!-- | |||
Uploaded image | |||
-->{{#if:{{{imageFile|}}}| [[File:{{{imageFile}}}|300px]]}}<!-- | |||
Server Information | |||
-->{{#if:{{{joinyear|}}}{{{role|}}}| <span class="infobox-header">Server Information</span> }}<!-- | |||
| {{{ | |||
|- | Join Year | ||
-->{{#if:{{{joinyear|}}}| | |||
<div class="infobox-info"> | |||
<span>Joined</span> | |||
<p>{{{joinyear}}}</p> | |||
</div> | |||
}}<!-- | |||
| | role | ||
-->{{#if:{{{role|}}}| | |||
<div class="infobox-info"> | |||
<span>Role</span> | |||
<p>{{{role}}}</p> | |||
</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> | |||
}}<!-- | |||
|- | Gender | ||
-->{{#if:{{{gender|}}}| | |||
<div class="infobox-info"> | |||
<span>Gender</span> | |||
{{ | <p>{{{gender}}}</p> | ||
| | </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> | ||
<noinclude> | |||
{{Infobox/Member | {{Infobox/Member | ||
|username = Saku | |username = Saku | ||
|userId = 255673616342056961 | |userId = 255673616342056961 | ||
|imageFile = Guardian-logo.png | |||
|joinyear = 2020 | |joinyear = 2020 | ||
|role = Barista | |role = Barista | ||
| Line 61: | Line 89: | ||
|gender = Male | |gender = Male | ||
|pronouns = he/him | |pronouns = he/him | ||
|website = https://saku.zone | |||
|twitter = https://twitter.com/SakuKawaa | |||
}} | }} | ||
</ | <templatedata> | ||
</ | { | ||
"params": { | |||
"username": { | |||
"aliases": [ | |||
"Username" | |||
], | |||
"label": "Username", | |||
"description": "Server username (don't include the tag)", | |||
"example": "Saku", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"userId": { | |||
"aliases": [ | |||
"User ID" | |||
], | |||
"label": "User ID", | |||
"description": "Discord user ID, used to fetch avatar (if this doesn't work, @Saku)", | |||
"example": "255673616342056961", | |||
"type": "string" | |||
}, | |||
"joinyear": { | |||
"aliases": [ | |||
"Join Year" | |||
], | |||
"label": "Join Year", | |||
"description": "The year this member joined the server", | |||
"example": "2016", | |||
"type": "string" | |||
}, | |||
"role": { | |||
"aliases": [ | |||
"Role" | |||
], | |||
"label": "Role", | |||
"description": "The member's main role in the server (eg. staff / member)", | |||
"example": "Member", | |||
"type": "string" | |||
}, | |||
"location": { | |||
"aliases": [ | |||
"Location" | |||
], | |||
"label": "Location", | |||
"description": "Member's rough location (don't dox!!)", | |||
"example": "London, GB", | |||
"type": "string" | |||
}, | |||
"dob": { | |||
"aliases": [ | |||
"Date of Birth" | |||
], | |||
"label": "Date of Birth", | |||
"description": "The member's date of birth (can also be N/A)", | |||
"example": "01/01/2000", | |||
"type": "string" | |||
}, | |||
"gender": { | |||
"aliases": [ | |||
"Gender" | |||
], | |||
"label": "Gender", | |||
"description": "The member's gender (can also be N/A)", | |||
"example": "Male", | |||
"type": "string" | |||
}, | |||
"pronouns": { | |||
"aliases": [ | |||
"Pronouns" | |||
], | |||
"label": "Pronouns", | |||
"description": "The member's main pronouns (can also be N/A)", | |||
"example": "he/him", | |||
"type": "string" | |||
}, | |||
"imageFile": { | |||
"aliases": [ | |||
"Profile Image" | |||
], | |||
"label": "Profile Image", | |||
"description": "File name of an image uploaded to wiki to be used as profile picture", | |||
"example": "Guardian-logo.png", | |||
"type": "wiki-file-name" | |||
}, | |||
"twitter": { | |||
"aliases": [ | |||
"Twitter URL" | |||
], | |||
"label": "Twitter URL", | |||
"description": "Link to Twitter profile", | |||
"example": "https://twitter.com/SakuKawaa", | |||
"type": "url" | |||
}, | |||
"website": { | |||
"aliases": [ | |||
"Website URL" | |||
], | |||
"label": "Website URL", | |||
"description": "Link to a website", | |||
"example": "https://saku.zone/", | |||
"type": "url" | |||
} | |||
}, | |||
"description": "Infobox for a server member", | |||
"paramOrder": [ | |||
"username", | |||
"userId", | |||
"imageFile", | |||
"joinyear", | |||
"role", | |||
"location", | |||
"dob", | |||
"gender", | |||
"pronouns", | |||
"twitter", | |||
"website" | |||
] | |||
} | |||
</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 |