Template:Infobox/Member: Difference between revisions
No edit summary |
(Infobox for members can now have optional data) |
||
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|}}} | ||
| Joined | | <tr><td><b>Joined</b></td><td>{{{joinyear}}}</td></tr> | | ||
}} | |||
| | {{#if:{{{role|}}} | ||
| Role | | <tr><td><b>Role</b></td><td>{{{role}}}</td></tr> | | ||
}} | |||
| | {{#if:{{{location|}}}{{{dob|}}}{{{gender|}}}{{{pronouns|}}} | ||
| <tr><th colspan="2" style="text-align: center; background-color:#95cafe;">Personal information</th></tr> | | |||
}} | |||
| | {{#if:{{{location|}}} | ||
| Location | | <tr><td><b>Location</b></td><td>{{{location}}}</td></tr> | | ||
}} | |||
| | {{#if:{{{dob|}}} | ||
| Date of Birth | | <tr><td><b>Date of Birth</b></td><td>{{{dob}}}</td></tr> | | ||
}} | |||
| | {{#if:{{{gender|}}} | ||
| Gender | | <tr><td><b>Gender</b></td><td>{{{gender}}}</td></tr> | | ||
}} | |||
| | {{#if:{{{pronouns|}}} | ||
| Pronouns | | <tr><td><b>Pronouns</b></td><td>{{{pronouns}}}</td></tr> | | ||
}} | |||
</table></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 |
Revision as of 20:44, 15 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 |
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 | required |
Join Year | joinyear Join Year | The year this member joined the server
| String | required |
Role | role Role | The member's main role in the server (eg. staff / member)
| String | required |
Location | location Location | Member's rough location (don't dox!!)
| String | required |
Date of Birth | dob Date of Birth | The member's date of birth (can also be N/A)
| String | required |
Gender | gender Gender | The member's gender (can also be N/A)
| String | required |
Pronouns | pronouns Pronouns | The member's main pronouns (can also be N/A)
| String | required |