Template:Infobox/Member: Difference between revisions

From 95 Degrees Wiki
No edit summary
m (Protected "Template:Infobox/Member" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable infobox-right"
<includeonly><table class="wikitable infobox-right" style="width:256px;"><tr><th colspan="2" style="text-align:center; background-color:#95cafe; padding-top:10px; padding-bottom:10px;">{{{username}}}</th></tr><!--


! colspan="2" style="text-align: center; background-color:#95cafe; padding-top:10px; padding-bottom:10px;" | {{{username}}}
-->{{#if:{{{userId|}}}| <tr><th colspan="2" style="padding:0px;">https://api.saku.dev/spin-dash/avatar/{{{userId}}}.png</th></tr>}}<!--


|-
-->{{#if:{{{imageFile|}}}| <tr><th colspan="2" style="padding:0px;">[[File:{{{imageFile}}}|256px]]</th></tr>}}<!--
! colspan="2" style="padding:0px;" | https://api.saku.dev/spin-dash/avatar/{{{userId}}}.png


|-
-->{{#if:{{{joinyear|}}}{{{role|}}}| <tr><th colspan="2" style="text-align: center; background-color:#95cafe;">Server information</th></tr>}}<!--
! colspan="2" style="text-align: center; background-color:#95cafe;" | Server information


|-
-->{{#if:{{{joinyear|}}}| <tr><td><b>Joined</b></td><td>{{{joinyear}}}</td></tr>}}<!--
| Joined
| {{{joinyear}}}


|-
-->{{#if:{{{role|}}}| <tr><td><b>Role</b></td><td>{{{role}}}</td></tr>}}<!--
| Role
| {{{role}}}


|-
-->{{#if:{{{location|}}}{{{dob|}}}{{{gender|}}}{{{pronouns|}}}| <tr><th colspan="2" style="text-align: center; background-color:#95cafe;">Personal information</th></tr>}}<!--
! colspan="2" style="text-align: center; background-color:#95cafe;" | Personal information


|-
-->{{#if:{{{location|}}}| <tr><td><b>Location</b></td><td>{{{location}}}</td></tr>}}<!--
| Location
| {{{location}}}


|-
-->{{#if:{{{dob|}}}| <tr><td><b>Date of Birth</b></td><td>{{{dob}}}</td></tr>}}<!--
| Date of Birth
| {{{dob}}}


|-
-->{{#if:{{{gender|}}}| <tr><td><b>Gender</b></td><td>{{{gender}}}</td></tr>}}<!--
| Gender
| {{{gender}}}


|-
-->{{#if:{{{pronouns|}}}| <tr><td><b>Pronouns</b></td><td>{{{pronouns}}}</td></tr>}}<!--
| Pronouns
 
| {{{pronouns}}}
-->{{#if:{{{twitter|}}}{{{website|}}}| <tr><th colspan="2" style="text-align: center; background-color:#95cafe;">Links</th></tr>}}<!--
|}</includeonly><noinclude>
{{Infobox/Member
|username = Example: Saku
|userId = 255673616342056961
|joinyear = 2020
|role = Barista
|location = London, GB
|dob = 24/05/2001
|gender = Male
|pronouns = he/him
}}
This is the infobox for a member of the server, use it as shown below.


If the avatar appears as a default Discord avatar, double check your user id or contact @Saku in the server.
-->{{#if:{{{twitter|}}}| <tr><td colspan="2" style="text-align:center">[{{{twitter}}} Twitter]</td></tr>}}<!--


<html>
-->{{#if:{{{website|}}}| <tr><td colspan="2" style="text-align:center">[{{{website}}} Website]</td></tr>}}</table><nowiki/></includeonly><noinclude>
<pre>
{{Infobox/Member
{{Infobox/Member
|username = Saku
|username = Example: Saku
|userId = 255673616342056961
|userId = 255673616342056961
|imageFile = Guardian-logo.png
|joinyear = 2020
|joinyear = 2020
|role = Barista
|role = Barista
Line 61: Line 36:
|gender = Male
|gender = Male
|pronouns = he/him
|pronouns = he/him
|website = https://saku.zone
|twitter = https://twitter.com/SakuKawaa
}}
}}
</pre>
</html>
<templatedata>
<templatedata>
{
{
Line 84: Line 59:
"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"
"required": true
},
},
"joinyear": {
"joinyear": {
Line 94: Line 68:
"description": "The year this member joined the server",
"description": "The year this member joined the server",
"example": "2016",
"example": "2016",
"type": "string",
"type": "string"
"required": true
},
},
"role": {
"role": {
Line 104: Line 77:
"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"
"required": true
},
},
"location": {
"location": {
Line 114: Line 86:
"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"
"required": true
},
},
"dob": {
"dob": {
Line 124: Line 95:
"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"
"required": true
},
},
"gender": {
"gender": {
Line 134: Line 104:
"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"
"required": true
},
},
"pronouns": {
"pronouns": {
Line 144: Line 113:
"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"
"required": true
},
"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>
</noinclude>

Latest revision as of 21:04, 16 February 2023

Example: Saku
255673616342056961.png
Guardian-logo.png
Server information
Joined2020
RoleBarista
Personal information
LocationLondon, GB
Date of Birth24/05/2001
GenderMale
Pronounshe/him
Links
Twitter
Website

Infobox for a server member

Template parameters

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