Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:LinkIcon

Template page
Revision as of 02:59, 30 April 2023 by BakiDance (talk | contribs) (BakiDance moved page Template:LinkIcon to Template:LinkIcon)
User profile

LinkIcon

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. To display the icon of a user, only the Name parameter is required. You may optionally include Size, Label, and Header for additional customization. Other parameters can be ignored for this use case.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Linklink

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.

Default
User:{{PAGENAME}}
Example
Home
Page nameoptional
Namename

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. When displaying the icon of a user, this is the only field that is truly required.

Default
{{PAGENAME}}
Example
BakiDance
Userrequired
Sizesize

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

Default
l
Example
l, ml, m, s
Stringsuggested
Labellabel

The small gray text to display in the lower left of the template.

Default
User profile
Stringoptional
Headerheader

The main header text to display in the lower left corner of the template. Defaults to the value set for the Name parameter.

Stringoptional
Imageimage

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.)

Example
[[File:CubeyBanner.png|link=Home]]
Fileoptional