Template:UserInfo: Difference between revisions

From Drgnz Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[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;">
{| class="wikitable"
{| class="wikitable"
Line 9: Line 11:
! Nicknames
! Nicknames
{{!}} {{{altnicknames}}}
{{!}} {{{altnicknames}}}
}}<!--
-->{{#if:{{{mcnickname|}}}|<nowiki/>
{{!}}-
! Minecraft
{{!}} {{{mcnickname}}}
}}<!--
}}<!--
-->{{#if:{{{role|}}}|<nowiki/>
-->{{#if:{{{role|}}}|<nowiki/>
Line 19: Line 16:
! Role
! Role
{{!}} {{{role}}}
{{!}} {{{role}}}
}}<!--
}}<!--
-->{{#if:{{{datejoined|}}}|<nowiki/>
-->{{#if:{{{datejoined|}}}|<nowiki/>
Line 25: Line 21:
! Date joined
! Date joined
{{!}} {{{datejoined}}}
{{!}} {{{datejoined}}}
}}<!--
-->{{#if:{{{dateleft|}}}|<nowiki/>
{{!}}-
! Date left
{{!}} {{{dateleft}}}
}}<!--
}}<!--
-->{{#if:{{{website|}}}|<nowiki/>
-->{{#if:{{{website|}}}|<nowiki/>
Line 35: Line 36:
! Matrix
! Matrix
{{!}} {{{matrix}}}
{{!}} {{{matrix}}}
}}<!--
-->{{#if:{{{mcnickname|}}}|<nowiki/>
{{!}}-
! Minecraft
{{!}} {{{mcnickname}}}
}}<!--
}}<!--
-->{{#if:{{{activity|}}}|<nowiki/>
-->{{#if:{{{activity|}}}|<nowiki/>
Line 46: Line 52:
<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",
    "activity": {
"Member"
      "label": "Activity",
]
      "type": "string",
},
      "suggestedvalues": ["Active", "Inactive", "On break"]
"datejoined": {
    },
"label": "Date joined",
    "datejoined": {
"type": "date",
      "label": "Date joined",
"description": "When did the User join. Or aprox date",
      "type": "date"
"example": "22 April 2023"
    },
},
    "website": {
"dateleft": {
      "label": "Website",
"label": "Date left",
      "type": "url"
"type": "date",
    },
"description": "When did the User leave the community. Or aprox date",
    "matrix": {
"example": "23 October 2023"
      "label": "Matrix",
},
      "type": "string"
"website": {
    }
"label": "Website",
  }
"type": "url",
"description": "User's personal website"
},
"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",
        "dateleft",
"website",
"matrix",
"mcnickname",
"activity"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 07:19, 17 August 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
Date leftdateleft

When did the User leave the community. Or aprox date

Example
23 October 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