Template:Infobox/Member: Difference between revisions
No edit summary |
m (Protected "Template:Infobox/Member" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <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><!-- | ||
-->{{#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>}}<!-- | ||
| | -->{{#if:{{{joinyear|}}}{{{role|}}}| <tr><th colspan="2" style="text-align: center; background-color:#95cafe;">Server information</th></tr>}}<!-- | ||
| | -->{{#if:{{{joinyear|}}}| <tr><td><b>Joined</b></td><td>{{{joinyear}}}</td></tr>}}<!-- | ||
| Joined | |||
| | -->{{#if:{{{role|}}}| <tr><td><b>Role</b></td><td>{{{role}}}</td></tr>}}<!-- | ||
| Role | |||
| | -->{{#if:{{{location|}}}{{{dob|}}}{{{gender|}}}{{{pronouns|}}}| <tr><th colspan="2" style="text-align: center; background-color:#95cafe;">Personal information</th></tr>}}<!-- | ||
| | -->{{#if:{{{location|}}}| <tr><td><b>Location</b></td><td>{{{location}}}</td></tr>}}<!-- | ||
| Location | |||
| | -->{{#if:{{{dob|}}}| <tr><td><b>Date of Birth</b></td><td>{{{dob}}}</td></tr>}}<!-- | ||
| Date of Birth | |||
| | -->{{#if:{{{gender|}}}| <tr><td><b>Gender</b></td><td>{{{gender}}}</td></tr>}}<!-- | ||
| Gender | |||
|- | -->{{#if:{{{pronouns|}}}| <tr><td><b>Pronouns</b></td><td>{{{pronouns}}}</td></tr>}}<!-- | ||
| | |||
| {{{ | -->{{#if:{{{twitter|}}}{{{website|}}}| <tr><th colspan="2" style="text-align: center; background-color:#95cafe;">Links</th></tr>}}<!-- | ||
|}</includeonly><noinclude> | |||
-->{{#if:{{{twitter|}}}| <tr><td colspan="2" style="text-align:center">[{{{twitter}}} Twitter]</td></tr>}}<!-- | |||
-->{{#if:{{{website|}}}| <tr><td colspan="2" style="text-align:center">[{{{website}}} Website]</td></tr>}}</table><nowiki/></includeonly><noinclude> | |||
{{Infobox/Member | {{Infobox/Member | ||
|username = Example: Saku | |username = Example: Saku | ||
|userId = 255673616342056961 | |userId = 255673616342056961 | ||
|imageFile = Guardian-logo.png | |||
|joinyear = 2020 | |joinyear = 2020 | ||
|role = Barista | |role = Barista | ||
Line 45: | Line 36: | ||
|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 21:04, 16 February 2023
Example: Saku | |
---|---|
Server information | |
Joined | 2020 |
Role | Barista |
Personal information | |
Location | London, GB |
Date of Birth | 24/05/2001 |
Gender | Male |
Pronouns | he/him |
Links | |
Website |
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 |