Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox/Member: Difference between revisions

Template page
Removed padding around profile picture
No edit summary
 
(45 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable"
<includeonly><!--
--><div class="floatright"><!--


! colspan="2" style="text-align: center; background-color:#95cafe; padding-top:10px; padding-bottom:10px;" | {{{username}}}
--><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"><!--
! colspan="2" style="padding:0px;" | {{#tag:html| <img src="https://api.saku.dev/spin-dash/avatar/{{{userId}}}.png" width="250">}}
Discord avatar
-->{{#if:{{{userId|}}}| https://api.saku.dev/spin-dash/avatar/{{{userId}}}.png}}<!--


|-
Uploaded image
! colspan="2" style="text-align: center; background-color:#95cafe;" | Server information
-->{{#if:{{{imageFile|}}}| [[File:{{{imageFile}}}|300px]]}}<!--


|-
Server Information
| Joined
-->{{#if:{{{joinyear|}}}{{{role|}}}| <span class="infobox-header">Server Information</span> }}<!--
| {{{joinyear}}}


|-
Join Year
| Role
-->{{#if:{{{joinyear|}}}|
| {{{role}}}
<div class="infobox-info">
<span>Joined</span>
<p>{{{joinyear}}}</p>
</div>
}}<!--


|-
role
! colspan="2" style="text-align: center; background-color:#95cafe;" | Personal information
-->{{#if:{{{role|}}}|  
<div class="infobox-info">
<span>Role</span>
<p>{{{role}}}</p>
</div>
}}<!--


|-
Personal info
| Location
-->{{#if:{{{location|}}}{{{dob|}}}{{{gender|}}}{{{pronouns|}}}| <span class="infobox-header">Personal Information</span> }}<!--
| {{{location}}}


|-
Location
| Date of Birth
-->{{#if:{{{location|}}}|
| {{{dob}}}
<div class="infobox-info">
<span>Location</span>
<p>{{{location}}}</p>
</div>
}}<!--


|-
Date of birth
| Gender
-->{{#if:{{{dob|}}}|
| {{{gender}}}
<div class="infobox-info">
<span>Date of Birth</span>
<p>{{{dob}}}</p>
</div>
}}<!--


|-
Gender
| Pronouns
-->{{#if:{{{gender|}}}|  
| {{{pronouns}}}
<div class="infobox-info">
|}</includeonly><noinclude>
<span>Gender</span>
{{Infobox/Member
<p>{{{gender}}}</p>
|username = Example: Saku
</div>
|userId = 255673616342056961
}}<!--
|joinyear = 2020
 
|role = Barista
Pronouns
|location = London, GB
-->{{#if:{{{pronouns|}}}|
|dob = 24/05/2001
<div class="infobox-info">
|gender = Male
<span>Pronouns</span>
|pronouns = he/him
<p>{{{pronouns}}}</p>
}}
</div>
This is the infobox for a member of the server, use it as shown below:
}}<!--
 
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><!--


<html>
--></div>
<pre>
</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 59: Line 89:
|gender = Male
|gender = Male
|pronouns = he/him
|pronouns = he/him
|website = https://saku.zone
|twitter = https://twitter.com/SakuKawaa
}}
}}
</pre>
<templatedata>
</html>
{
"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
255673616342056961.pngServer Information

Joined

2020

Role

Barista

Personal Information

Location

London, GB

Date of Birth

24/05/2001

Gender

Male

Pronouns

he/him

Links


Infobox for a server member

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Usernameusername Username

Server username (don't include the tag)

Example
Saku
Stringrequired
User IDuserId User ID

Discord user ID, used to fetch avatar (if this doesn't work, @Saku)

Example
255673616342056961
Stringoptional
Profile ImageimageFile Profile Image

File name of an image uploaded to wiki to be used as profile picture

Example
Guardian-logo.png
Fileoptional
Join Yearjoinyear Join Year

The year this member joined the server

Example
2016
Stringoptional
Rolerole Role

The member's main role in the server (eg. staff / member)

Example
Member
Stringoptional
Locationlocation Location

Member's rough location (don't dox!!)

Example
London, GB
Stringoptional
Date of Birthdob Date of Birth

The member's date of birth (can also be N/A)

Example
01/01/2000
Stringoptional
Gendergender Gender

The member's gender (can also be N/A)

Example
Male
Stringoptional
Pronounspronouns Pronouns

The member's main pronouns (can also be N/A)

Example
he/him
Stringoptional
Twitter URLtwitter Twitter URL

Link to Twitter profile

Example
https://twitter.com/SakuKawaa
URLoptional
Website URLwebsite Website URL

Link to a website

Example
https://saku.zone/
URLoptional