m sex|gender |
fixes |
||
Line 5: | Line 5: | ||
}} | }} | ||
|- | |- | ||
| colspan=2 style="text-align:center;color:{{{ribbon-fc|#000}}};background:{{#if:{{{ribbon-c|}}}|<nowiki/>{{{ribbon-c}}}|<nowiki/>#66CCFF}}" |'''{{{ | | colspan=2 style="text-align:center;color:{{{ribbon-fc|#000}}};background:{{#if:{{{ribbon-c|}}}|<nowiki/>{{{ribbon-c}}}|<nowiki/>#66CCFF}}" |'''{{{title|About me}}}''' | ||
|- | |- | ||
! width={{{lwidth|80px}}} | Name | ! width={{{lwidth|80px}}} | Name | ||
Line 63: | Line 63: | ||
}} | }} | ||
[[zh:Template:User_Infobox]] | [[zh:Template:User_Infobox]] | ||
<templatedata> | |||
{ | |||
"params": { | |||
"image": { | |||
"description": "URL of image. Has higher priority than \"img\".", | |||
"type": "url" | |||
}, | |||
"img": { | |||
"description": "Filename of image (without the \"Image:\" prefix). User avatar will be shown if both \"image\" and this are unspecified.", | |||
"type": "string" | |||
}, | |||
"width": { | |||
"description": "CSS width of info box.", | |||
"type": "string", | |||
"autovalue": "250px" | |||
}, | |||
"user": { | |||
"description": "User name. Defaults to {{BASEPAGENAME}}.", | |||
"type": "string" | |||
}, | |||
"ribbon-fc": { | |||
"description": "Title color.", | |||
"type": "string", | |||
"autovalue": "#000" | |||
}, | |||
"ribbon-c": { | |||
"example": "Title bar fill color.", | |||
"autovalue": "#66CCFF" | |||
}, | |||
"lwidth": { | |||
"description": "CSS width of left column.", | |||
"type": "string", | |||
"autovalue": "80px" | |||
}, | |||
"Name": { | |||
"description": "Defaults to the value of \"user\".", | |||
"type": "content" | |||
}, | |||
"Aliases": { | |||
"type": "content" | |||
}, | |||
"Sex": { | |||
"type": "content" | |||
}, | |||
"Gender": { | |||
"type": "content" | |||
}, | |||
"hide": { | |||
"description": "If not empty, statistics will be hidden.", | |||
"type": "boolean" | |||
}, | |||
"Bio": { | |||
"type": "content" | |||
}, | |||
"Status": { | |||
"type": "content" | |||
}, | |||
"title": { | |||
"description": "Infobox title.", | |||
"autovalue": "About Me" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"image", | |||
"img", | |||
"width", | |||
"user", | |||
"ribbon-fc", | |||
"ribbon-c", | |||
"title", | |||
"lwidth", | |||
"Name", | |||
"Aliases", | |||
"Sex", | |||
"Gender", | |||
"hide", | |||
"Bio", | |||
"Status" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
image | image | URL of image. Has higher priority than "img". | URL | optional |
img | img | Filename of image (without the "Image:" prefix). User avatar will be shown if both "image" and this are unspecified. | String | optional |
width | width | CSS width of info box.
| String | optional |
user | user | User name. Defaults to {{BASEPAGENAME}}. | String | optional |
ribbon-fc | ribbon-fc | Title color.
| String | optional |
ribbon-c | ribbon-c | no description
| Unknown | optional |
title | title | Infobox title.
| Unknown | optional |
lwidth | lwidth | CSS width of left column.
| String | optional |
Name | Name | Defaults to the value of "user". | Content | optional |
Aliases | Aliases | no description | Content | optional |
Sex | Sex | no description | Content | optional |
Gender | Gender | no description | Content | optional |
hide | hide | If not empty, statistics will be hidden. | Boolean | optional |
Bio | Bio | no description | Content | optional |
Status | Status | no description | Content | optional |