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
No edit summary
Infobox for members can now have optional data
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|}}}
! colspan="2" style="padding:0px;" | https://api.saku.dev/spin-dash/avatar/{{{userId}}}.png
        | <tr><th colspan="2" style="padding:0px;">[[File:{{{imageFile}}}|256px]]</th></tr> |
    }}


|-
    {{#if:{{{joinyear|}}}{{{role|}}}
! colspan="2" style="text-align: center; background-color:#95cafe;" | Server information
        | <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> |
| {{{joinyear}}}
    }}


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


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


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


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


|-
    {{#if:{{{pronouns|}}}
| Pronouns
        | <tr><td><b>Pronouns</b></td><td>{{{pronouns}}}</td></tr> |
| {{{pronouns}}}
    }}
|}</includeonly><noinclude>
</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
255673616342056961.png
Server information
Joined2020
RoleBarista
Personal information
LocationLondon, GB
Date of Birth24/05/2001
GenderMale
Pronounshe/him

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
Stringrequired
Join Yearjoinyear Join Year

The year this member joined the server

Example
2016
Stringrequired
Rolerole Role

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

Example
Member
Stringrequired
Locationlocation Location

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

Example
London, GB
Stringrequired
Date of Birthdob Date of Birth

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

Example
01/01/2000
Stringrequired
Gendergender Gender

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

Example
Male
Stringrequired
Pronounspronouns Pronouns

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

Example
he/him
Stringrequired