More templateinfo |
mNo edit summary |
||
| Line 51: | Line 51: | ||
|<!-- 新项目无内容,不显示 -->}} | |<!-- 新项目无内容,不显示 -->}} | ||
}}<!-- end switch --> | }}<!-- end switch --> | ||
}}<!-- end forargs --> | }}<!-- end forargs --> | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
{{Documentation|content= | {{Documentation|content= | ||
| Line 131: | Line 125: | ||
"example": "yes", | "example": "yes", | ||
"label": "Hide statistics?" | "label": "Hide statistics?" | ||
}, | }, | ||
"title": { | "title": { | ||
| Line 160: | Line 146: | ||
"Sex", | "Sex", | ||
"Gender", | "Gender", | ||
"hide | "hide" | ||
], | ], | ||
"description": "Displays info box for user page.\nCapitalized parameters are displayed directly as info rows, and optional rows will not appear when omitted; you can also add more rows by providing unspecified named parameters.", | "description": "Displays info box for user page.\nCapitalized parameters are displayed directly as info rows, and optional rows will not appear when omitted; you can also add more rows by providing unspecified named parameters.", | ||
See also: Template:User Info
Displays info box for user page. Capitalized parameters are displayed directly as info rows, and optional rows will not appear when omitted; you can also add more rows by providing unspecified named parameters.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| External image | image | URL of image. Has higher priority than "img".
| URL | optional |
| Internal image | img | Filename of image (without the "File:" prefix). User avatar will be shown if both "image" and this are unspecified.
| String | optional |
| Box width | width | CSS width of info box.
| String | optional |
| User | user | User name. Used fow showing avatar and statistics. Defaults to {{BASEPAGENAME}}.
| String | optional |
| Title color | ribbon-fc | no description
| String | optional |
| Title bar fill color | ribbon-c | no description
| Unknown | optional |
| Title | title | Infobox title.
| Unknown | optional |
| Left column width | 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 statistics? | hide | Set to anything to hide statistics.
| Boolean | optional |