Template:User page/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{Doc/subpage}}
{{Doc/subpage}}
{{ModernNote|The template is being worked on from time to time. The template author doesn't have any good ideas yet 🙁}}
{{ModernNote|The template is being worked on from time to time. The template author doesn't have any good ideas yet 🙁}}
 
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 {{Code|UserAvatar-YOURNAME}} {{Code|UserAvatarFrame-YOURNAME}} or {{Code|UserCover-YOURNAME}}. If any of the applicable images are available, then they will replace their correspondent placeholder counterparts.
This template will automatically search and attempt to load these images {{Code|UserAvatar-YOURNAME}} {{Code|UserAvatarFrame-YOURNAME}} or {{Code|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 {{tl|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 {{tl|Wikichievements/Data}} then they will load in the aforementioned box.
Another thing to note. If your user page has a subpage called "Achievements", and it has the {{tl|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 {{tl|Wikichievements/Data}} then they will load in the aforementioned box.

Revision as of 12:17, 15 June 2023

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.

Template:ModernNote 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 = | steam = | github = | gitlab = | youtube = | twitter = | facebook = | gamebanana = | discord = }}

Parameters and Examples

Template:ModernNote

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