Template:UserInfo: Difference between revisions

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

Revision as of 18:03, 25 July 2026




Infobox for a user profile.

Template parameters[Edit template data]

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