Template:UserInfo: Difference between revisions

From Drgnz Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Members]]
[[Category:Members]]


<div style="float:right; clear:right; margin:0 0 1em 1em; width:250px;">
<div style="float:right; clear:right; margin:0 0 1em 1em; width:250px;">
Line 12: Line 11:
! Nicknames
! Nicknames
{{!}} {{{altnicknames}}}
{{!}} {{{altnicknames}}}
}}<!--
-->{{#if:{{{mcnickname|}}}|<nowiki/>
{{!}}-
! Minecraft
{{!}} {{{mcnickname}}}
}}<!--
}}<!--
-->{{#if:{{{role|}}}|<nowiki/>
-->{{#if:{{{role|}}}|<nowiki/>
Line 37: Line 31:
! Matrix
! Matrix
{{!}} {{{matrix}}}
{{!}} {{{matrix}}}
}}
}}<!--
-->{{#if:{{{status|}}}|<nowiki/>
-->{{#if:{{{mcnickname|}}}|<nowiki/>
{{!}}-
! Minecraft
{{!}} {{{mcnickname}}}
}}<!--
-->{{#if:{{{activity|}}}|<nowiki/>
{{!}}-
{{!}}-
! Status
! Activity
{{!}} {{{status}}}
{{!}} {{{activity}}}
}}
}}
|}
|}
Line 48: Line 47:
<templatedata>
<templatedata>
{
{
  "description": "Infobox for a user profile.",
"description": "Infobox for a user profile.",
  "params": {
"params": {
    "picture": {
"picture": {
      "label": "Picture",
"label": "Picture",
      "type": "wiki-file-name"
"type": "wiki-file-name"
    },
},
    "name": {
"name": {
      "label": "Name",
"label": "Name",
      "type": "string",
"type": "string",
      "required": true
"required": true
    },
},
    "altnicknames": {
"altnicknames": {
      "label": "Nicknames",
"label": "Nicknames",
      "type": "string"
"type": "string",
    },
"description": "Alternative names the user goes by"
    "mcnickname": {
},
      "label": "Minecraft",
"role": {
      "type": "string"
"label": "Role",
    },
"type": "string",
    "role": {
"description": "User's role in the community",
      "label": "Role",
"suggestedvalues": [
      "type": "string"
"Admin",
    },
"Moderator",
    "datejoined": {
"Member"
      "label": "Date joined",
]
      "type": "date"
},
    },
"datejoined": {
    "website": {
"label": "Date joined",
      "label": "Website",
"type": "date",
      "type": "url"
"description": "When did the User join. Or aprox date",
    },
"example": "22 April 2023"
    "matrix": {
},
      "label": "Matrix",
"website": {
      "type": "string"
"label": "Website",
    },
"type": "url",
    "status": {
"description": "User's personal website"
      "label": "Status",
},
      "type": "string"
"matrix": {
    }
"label": "Matrix",
  }
"type": "string",
"description": "User's Matrix handle",
"example": "@user:drgnz.club"
},
"mcnickname": {
"label": "Minecraft",
"type": "string",
"description": "User's Minecraft nickname"
},
"activity": {
"label": "Activity",
"type": "string",
"suggestedvalues": [
"Very Active",
"Active",
"Somewhat Active",
"Inactive",
"Banned",
"Left Drgnz Club"
],
"description": "How active is this user?"
}
},
"paramOrder": [
"picture",
"name",
"altnicknames",
"role",
"datejoined",
"website",
"matrix",
"mcnickname",
"activity"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 19:09, 25 July 2026


Infobox for a user profile.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Picturepicture

no description

Fileoptional
Namename

no description

Stringrequired
Nicknamesaltnicknames

Alternative names the user goes by

Stringoptional
Rolerole

User's role in the community

Suggested values
Admin Moderator Member
Stringoptional
Date joineddatejoined

When did the User join. Or aprox date

Example
22 April 2023
Dateoptional
Websitewebsite

User's personal website

URLoptional
Matrixmatrix

User's Matrix handle

Example
@user:drgnz.club
Stringoptional
Minecraftmcnickname

User's Minecraft nickname

Stringoptional
Activityactivity

How active is this user?

Suggested values
Very Active Active Somewhat Active Inactive Banned Left Drgnz Club
Stringoptional