Template:User settings page/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(save progress)
No edit summary
Line 7: Line 7:
==Template Translation==
==Template Translation==
Go to the [[Template:User settings page/strings|strings]] subpage and translate the string into the desired language inside the Autoland template.
Go to the [[Template:User settings page/strings|strings]] subpage and translate the string into the desired language inside the Autoland template.
<!--
 
== User Parameters ==
== User Parameters ==
These are parameters that used by various templates such as {{tl|Message}}.
These are parameters that used by various templates such as {{tl|Message}}.
Line 23: Line 23:
|-
|-
|align="center"|{{Code|style=1|{{Param|timeoffsetdir}}}}
|align="center"|{{Code|style=1|{{Param|timeoffsetdir}}}}
|colspan=2|{{ModernTodo|Document it.}}
|-
|-
|align="center"|{{Code|style=1|{{Param|timeoffseth}}}}
|align="center"|{{Code|style=1|{{Param|timeoffseth}}}}
|Time difference from UTC (hours)
|{{CodeBlock|<nowiki>| timeoffseth = 8</nowiki>}}
{{CodeBlock|<nowiki>| timeoffseth = -8</nowiki>}}
|-
|-
|align="center"|{{Code|style=1|{{Param|timeoffsetm}}}}
|align="center"|{{Code|style=1|{{Param|timeoffsetm}}}}
|Time difference from UTC (minutes)
|{{CodeBlock|<nowiki>| timeoffseth = 30</nowiki>}}
{{CodeBlock|<nowiki>| timeoffseth = -30</nowiki>}}
|-
|-
|align="center"|{{Code|style=1|{{Param|squareavatar}}}}
|align="center"|{{Code|style=1|{{Param|squareavatar}}}}
|When specified as true, the avatar is square instead of round.
|{{CodeBlock|<nowiki>|</nowiki> squareavatar {{=}} true}}
|-
|-
|align="center"|{{Code|style=1|{{Param|staticframe}}}}
|align="center"|{{Code|style=1|{{Param|staticframe}}}}
|colspan=2|{{ModernTodo|Document it.}}
|-
|-
|align="center"|{{Code|style=1|{{Param|avatarformat}}}}
|align="center"|{{Code|style=1|{{Param|avatarformat}}}}
|The file format of your avatar.
|{{CodeBlock|<nowiki>| avatarformat = png</nowiki>}}
|-
|-
|align="center"|{{Code|style=1|{{Param|avatarframeformat}}}}
|align="center"|{{Code|style=1|{{Param|avatarframeformat}}}}
|The file format of the frame of your avatar.
|{{CodeBlock|<nowiki>| avatarformat = gif</nowiki>}}
|-
|-
|}
|}
-->

Revision as of 23:28, 11 March 2023

Edit-copy.png
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.

This template is used for checking the functionality of a user settings subpage Special:MyPage/Settings.

Usage

{{User settings page}}

Template Translation

Go to the strings subpage and translate the string into the desired language inside the Autoland template.

User Parameters

These are parameters that used by various templates such as {{Message}}.

Parameter Description Example
User Parameters
{{{username}}} Your nickname that the template should show instead of your username.

Template:ModernTip

|username = Gabe Newell
|username = {{Autolang|Gabe Newell|zh=加布·纽维尔}}
{{{timeoffsetdir}}} Template:ModernTodo
{{{timeoffseth}}} Time difference from UTC (hours)
| timeoffseth = 8
| timeoffseth = -8
{{{timeoffsetm}}} Time difference from UTC (minutes)
| timeoffseth = 30
| timeoffseth = -30
{{{squareavatar}}} When specified as true, the avatar is square instead of round.
| squareavatar = true
{{{staticframe}}} Template:ModernTodo
{{{avatarformat}}} The file format of your avatar.
| avatarformat = png
{{{avatarframeformat}}} The file format of the frame of your avatar.
| avatarformat = gif