More actions
No edit summary |
No edit summary |
||
| (41 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> | <templatedata> | ||
{ | { | ||
| Line 85: | Line 112: | ||
"description": "Discord user ID, used to fetch avatar (if this doesn't work, @Saku)", | "description": "Discord user ID, used to fetch avatar (if this doesn't work, @Saku)", | ||
"example": "255673616342056961", | "example": "255673616342056961", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"joinyear": { | "joinyear": { | ||
| Line 95: | Line 121: | ||
"description": "The year this member joined the server", | "description": "The year this member joined the server", | ||
"example": "2016", | "example": "2016", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"role": { | "role": { | ||
| Line 105: | Line 130: | ||
"description": "The member's main role in the server (eg. staff / member)", | "description": "The member's main role in the server (eg. staff / member)", | ||
"example": "Member", | "example": "Member", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"location": { | "location": { | ||
| Line 115: | Line 139: | ||
"description": "Member's rough location (don't dox!!)", | "description": "Member's rough location (don't dox!!)", | ||
"example": "London, GB", | "example": "London, GB", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"dob": { | "dob": { | ||
| Line 125: | Line 148: | ||
"description": "The member's date of birth (can also be N/A)", | "description": "The member's date of birth (can also be N/A)", | ||
"example": "01/01/2000", | "example": "01/01/2000", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"gender": { | "gender": { | ||
| Line 135: | Line 157: | ||
"description": "The member's gender (can also be N/A)", | "description": "The member's gender (can also be N/A)", | ||
"example": "Male", | "example": "Male", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"pronouns": { | "pronouns": { | ||
| Line 145: | Line 166: | ||
"description": "The member's main pronouns (can also be N/A)", | "description": "The member's main pronouns (can also be N/A)", | ||
"example": "he/him", | "example": "he/him", | ||
"type": "string", | "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" | "description": "Infobox for a server member", | ||
"paramOrder": [ | |||
"username", | |||
"userId", | |||
"imageFile", | |||
"joinyear", | |||
"role", | |||
"location", | |||
"dob", | |||
"gender", | |||
"pronouns", | |||
"twitter", | |||
"website" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</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 |