More actions
Page Template:UserIcon/styles.css has no content.
UserIcon creates a linkable and dynamically resizable image, similar in style to the Featured Project widget on the main page. The template is intended to be used to display the profile images of other members of the site, and give a clean link back to their userpage. However, the template is flexible enough to work with any link, text, and image.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Link | link | The page name to take users who click the template. If not specified, the template attempt to generate a link to a user page. To make the template NOT link to a page, use {{FULLPAGENAME}} for this value. If you are using this template to display a user icon, this value can be ignored. This value is ignored if the Image parameter is used.
| Page name | optional |
| Name | name | The username of the person to display the profile icon of, link to, and display the username for. If not specified, the template will take the value of the current page. If you are not using this template to display a user icon, this value can be ignored.
| User | suggested |
| Size | size | The size of the profile icon to display. This value is only used when displaying profile images (based on the Name parameter) and will NOT work for ordinary files. Accepted values are: l, ml, m, s
| String | suggested |
| Label | label | The small gray text to display in the lower left of the template.
| String | optional |
| Header | header | The main header text to display in the lower left corner of the template. Defaults to the value set for the Name parameter. | String | optional |
| Image | image | The image to display within the template. This is ONLY used if not displaying a user icon. If you wish to display a user icon, ignore this field. Defaults to the icon of the user specified in the Name parameter. If this parameter is specified, the Link parameter is ignored. Instead, you must place a link within the image itself. (See example.)
| File | optional |