Template:User page/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Fix order of links, add missing links and nolinks parameter.)
m (→‎Frame Background colors: I could've went on the page to edit...)
 
(4 intermediate revisions by the same user not shown)
Line 40: Line 40:


=== Frame style ===
=== Frame style ===
{{CodeBlock|margin=5px|<nowiki>| frame bg =
{{CodeBlock|margin=5px|<nowiki>| align =
| frame bg =
| frame =
| frame =
| radius frame cover =  
| radius frame cover =  
Line 50: Line 51:
| padding frame buttons =
| padding frame buttons =
</nowiki>}}
</nowiki>}}
== Parameters and Examples ==
== Parameters and Examples ==
{{note|All these parameters are optional. For the template to work properly, it is enough to use it without any parameters.}}
{{note|All these parameters are optional. For the template to work properly, it is enough to use it without any parameters.}}
Line 189: Line 191:
| Padding value. replace the <nowiki>*</nowiki> with avatar , username, cover, buttons.
| Padding value. replace the <nowiki>*</nowiki> with avatar , username, cover, buttons.
| {{CodeBlock|margin=5px|<nowiki>| padding frame cover = 10px </nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| padding frame cover = 10px </nowiki>}}
|-
| align="center" | {{Code|style=2|{{Param|align}}}}
| Aligns the Avatar and the Username if there is a frame
| {{CodeBlock|margin=5px|<nowiki>| align = -65px</nowiki>}}
|-
|-
! colspan="3" | Other
! colspan="3" | Other
Line 195: Line 201:
| A box designed for containing userboxes added via use of the {{tl|link=Userbox}} template.
| A box designed for containing userboxes added via use of the {{tl|link=Userbox}} template.
| {{CodeBlock|margin=5px|<nowiki>| userboxes = {{Userbox}}</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| userboxes = {{Userbox}}</nowiki>}}
|-
| align="center" | {{Code|style=2|{{Param|infobox}}}}
| A box designed for containing info stuff or other.
| {{CodeBlock|margin=5px|<nowiki>| infobox = Hello World!</nowiki>}}
|-
| align="center" | {{Code|style=2|{{Param|infoboxtitle}}}}
| Changes the title.
| {{CodeBlock|margin=5px|<nowiki>| infoboxtitle = informational </nowiki>}}
|}
|}


Line 206: Line 220:


=== Frames ===
=== Frames ===
{{Capsule|style=2|{{User page|frame = true|doc=1|nocat=1|nolinks=1}}}}
{{Capsule|style=2|{{User page|frame=true|align=-85px|doc=1|nocat=1|nolinks=1}}}}


{{Capsule|style=2|{{User page|frame = true|theme=dark|doc=1|nocat=1|nolinks=1}}}}
{{Capsule|style=2|{{User page|frame=true|align=-85px|theme=dark|doc=1|nocat=1|nolinks=1}}}}


=== Frame Background colors ===
=== Frame Background colors ===
{{Capsule|style=2|{{User page|frame = true|frame bg = #4A6821|doc=1|nocat=1|nolinks=1}}}}
{{Capsule|style=2|{{User page|frame = true|align = -85px|frame bg = #4A6821|doc=1|nocat=1|nolinks=1}}}}


{{Capsule|style=2|{{User page|frame = true|frame bg = #214268|theme=dark|doc=1|nocat=1|nolinks=1}}}}
{{Capsule|style=2|{{User page|frame = true|align = -85px|frame bg = #214268|theme=dark|doc=1|nocat=1|nolinks=1}}}}


{{Doc/Sandbox other|[[Category:Templates]]}}
{{Doc/Sandbox other|[[Category:Templates]]}}

Latest revision as of 06:16, 28 January 2025

Edit-copy.png
This is a documentation subpage for Template:User page.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

This template is intended for use on user pages as a means of standardizing them and making them look better. It will automatically search and attempt to load these images UserAvatar-YOURNAME UserAvatarFrame-YOURNAME or UserCover-YOURNAME. If any of the applicable images are available, then they will replace their correspondent placeholder counterparts.

Another thing to note. If your user page has a subpage called "Achievements", and it has the {{Wikichievements}} template transcluded into it, then this template will detect that and load a box to the right of your userpage titled "Achievements". If you have any achievements defined in {{Wikichievements/Data}} then they will load in the aforementioned box.

Translations

The used strings are on strings subpage. Please follow the format to add translations for them.

Images

Supported formats: JPG, PNG (PNG only for avatar and avatar frame).

Recommended avatar resolution: 128x128 pixels.

Recommended cover resolution: 2560x256 pixels.

Recommended avatar frame resolution: 224x224 pixels.

Copy and Paste

{{User page | website = | facebook = | gamebanana = | github = | gitlab = | patreon = | reddit = | lambdageneration = | soundcloud = | gamemaps = | moddb = | twhl = | gamerlab = | steam = | twitter = | bluesky = | youtube = | twitch = | discord id = }}

Frame style

| align = | frame bg = | frame = | radius frame cover = | radius frame username = | radius frame buttons = | padding frame cover = | padding frame username = | padding frame avatar = | padding frame buttons =

Parameters and Examples

Note.pngNote:All these parameters are optional. For the template to work properly, it is enough to use it without any parameters.

Used Categories

Users

Preview

Add a cover (PNG or JPG)


Add an avatar (PNG or JPG)


User page/doc


User SandboxUser Settings
Add a cover (PNG or JPG)


Add an avatar (PNG or JPG)


User page/doc


User SandboxUser Settings

Frames

Add a cover (PNG or JPG)
Add an avatar (PNG or JPG)
User page/doc
User SandboxUser Settings
Add a cover (PNG or JPG)
Add an avatar (PNG or JPG)
User page/doc
User SandboxUser Settings

Frame Background colors

Add a cover (PNG or JPG)
Add an avatar (PNG or JPG)
User page/doc
User SandboxUser Settings
Add a cover (PNG or JPG)
Add an avatar (PNG or JPG)
User page/doc
User SandboxUser Settings