Template:User settings page/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→Parameters and Examples: {{{staticavatar}}} replaced with {{{avatarradius}}}) |
||
Line 35: | Line 35: | ||
| Time difference from UTC (minutes) | | Time difference from UTC (minutes) | ||
| {{CodeBlock|<nowiki>| timeoffsetm = 30</nowiki>}} | | {{CodeBlock|<nowiki>| timeoffsetm = 30</nowiki>}} | ||
|- | |- | ||
| align="center" | {{Code|style=1|{{Param|staticframe}}}} | | align="center" | {{Code|style=1|{{Param|staticframe}}}} | ||
Line 57: | Line 53: | ||
| Specifies the value for {{Code|select=1|image-rendering}} (CSS property) in the avatar. The default value is {{Code|select=1|auto}}. | | Specifies the value for {{Code|select=1|image-rendering}} (CSS property) in the avatar. The default value is {{Code|select=1|auto}}. | ||
| {{CodeBlock|<nowiki>| avatarrendering = pixelated</nowiki>}} | | {{CodeBlock|<nowiki>| avatarrendering = pixelated</nowiki>}} | ||
|- | |||
| align="center" | {{Code|style=1|{{Param|avatarradius}}}} | |||
| Avatar Radius. | |||
| {{CodeBlock|<nowiki>| avatarradius = 6px</nowiki>}} | |||
|} | |} |
Revision as of 01:40, 29 April 2023

This is a documentation subpage for Template:User settings page.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
This template is used for checking the functionality of a user settings subpage Special:MyPage/Settings.
Usage
{{User settings page}}
Create your settings page
To create your settings page, click here.
Translations
The used strings are on strings subpage. Please follow the format to add translations for them.
Parameters and Examples
These are parameters that used by various templates such as {{Message}}
.
Parameter | Description | Example |
---|---|---|
{{{username}}} | Your nickname that the template should show instead of your username. | |
{{{timeoffsetdir}}} | Time direction (plus or minus) relative to UTC. The default value is +, so this parameter should only be used if you want to specify a minus | |
{{{timeoffseth}}} | Time difference from UTC (hours) | |
{{{timeoffsetm}}} | Time difference from UTC (minutes) | |
{{{staticframe}}} | It is necessary to specify the recommended resolution of the avatar frame instead of the native one. The parameter was added due to differences between static and animated avatar frames on Steam. Static avatar frames have a resolution of 244 x 244 pixels, while animated frames use the recommended 224 x 224 pixels.
Due to the way MediaWiki works, we cannot specify a fixed size for all avatar frames, because after that animated frames simply won't work. |
|
{{{avatarformat}}} | The file format of your avatar. Without this parameter, the image for avatar will not be used. | |
{{{avatarframeformat}}} | The file format of the frame of your avatar. Without this parameter, the frame image for avatar will not be used. | |
{{{avatarrendering}}} | Specifies the value for image-rendering (CSS property) in the avatar. The default value is auto. | |
{{{avatarradius}}} | Avatar Radius. |