Template:UserInfo: Difference between revisions

From Drgnz Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
|-
|-
! colspan="2" | {{{name|}}}
! colspan="2" | {{{name|}}}
{{#if:{{{altnicknames|}}}|
|-
|-
! Alternative nicknames
! Nicknames
| {{{altnicknames|}}}
| {{{altnicknames}}}
}}
{{#if:{{{mcnickname|}}}|
|-
|-
! Minecraft nickname
! Minecraft
| {{{mcnickname|}}}
| {{{mcnickname}}}
}}
{{#if:{{{role|}}}|
|-
|-
! Role
! Role
| {{{role|}}}
| {{{role}}}
}}
{{#if:{{{datejoined|}}}|
|-
|-
! Date joined
! Date joined
| {{{datejoined|}}}
| {{{datejoined}}}
}}
{{#if:{{{website|}}}|
|-
|-
! Website
! Website
| {{{website|}}}
| {{{website}}}
}}
{{#if:{{{matrix|}}}|
|-
|-
! Matrix handle
! Matrix
| {{{matrix|}}}
| {{{matrix}}}
}}
|}
|}
</div>
</div>
Line 28: Line 40:
<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": "Alternative nicknames",
"label": "Nicknames",
      "type": "string"
"type": "string"
    },
},
    "mcnickname": {
"mcnickname": {
      "label": "Minecraft nickname",
"label": "Minecraft",
      "type": "string"
"type": "string"
    },
},
    "role": {
"role": {
      "label": "Role",
"label": "Role",
      "type": "string"
"type": "string"
    },
},
    "datejoined": {
"datejoined": {
      "label": "Date joined",
"label": "Date joined",
      "type": "date"
"type": "date"
    },
},
    "website": {
"website": {
      "label": "Website",
"label": "Website",
      "type": "url"
"type": "url"
    },
},
    "matrix": {
"matrix": {
      "label": "Matrix handle",
"label": "Matrix",
      "type": "string"
"type": "string"
    }
}
  }
},
"format": "block"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 18:02, 25 July 2026

-

Nicknames

-

Minecraft

-

Role

-

Date joined

-

Website

-

Matrix

Infobox for a user profile.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Picturepicture

no description

Fileoptional
Namename

no description

Stringrequired
Nicknamesaltnicknames

no description

Stringoptional
Minecraftmcnickname

no description

Stringoptional
Rolerole

no description

Stringoptional
Date joineddatejoined

no description

Dateoptional
Websitewebsite

no description

URLoptional
Matrixmatrix

no description

Stringoptional