From Valve Developer Community
		
		
		
		
		Jump to navigation
		Jump to search
		
				
				
				
				
				
				 | 
				 | 
				
| Line 24: | 
Line 24: | 
 | 		|{{#if:{{{cover gradient|}}}||<span style="opacity:.6">[[File:Icon-panorama-filled.png|80px|{{User page/strings|AddCover}}|link=File:UserCover-{{ROOTPAGENAME}}.png]]</span>}}}}}}  |  | 		|{{#if:{{{cover gradient|}}}||<span style="opacity:.6">[[File:Icon-panorama-filled.png|80px|{{User page/strings|AddCover}}|link=File:UserCover-{{ROOTPAGENAME}}.png]]</span>}}}}}}  | 
 | </div>  |  | </div>  | 
 | {{#if:{{{frame|}}}|</div>|}}<!-- INFO: the first line centers the frame with the background, the second once centers it without the frame -->  |  | {{#if:{{{frame|}}}|</div>|}}  | 
 | {{#if:{{{frame|}}}|<div style="display:flex; align-items:center; position:relative; z-index:3; padding: 0 clamp(8px, 2vw, 30px); margin-top:-85px; margin-bottom:20px">|<div style="display:flex; align-items:center; position:relative; z-index:3; padding: 0 clamp(8px, 2vw, 30px); margin-top:-65px; margin-bottom:20px">}}  |  | {{#if:{{{frame|}}}|<div style="display:flex; align-items:center; position:relative; z-index:3; padding: 0 clamp(8px, 2vw, 30px); margin-top:{{{align|-65px}}}; margin-bottom:20px">|<div style="display:flex; align-items:center; position:relative; z-index:3; padding: 0 clamp(8px, 2vw, 30px); margin-top:-65px; margin-bottom:20px">}}  | 
 | <!-- End of INFO -->
  |  | 
 | <!--  |  | <!--  | 
 | 
  |  | 
  | 
		Revision as of 05:12, 28 January 2025
Todo: 
- Someday complete work on this template, thereby standardizing non-stylized user pages.
 
- Scrolling in {{User page}} .
 
- Probably wouldn't hurt to have a testcases page.
 
 

 Available doc translations 
…
 EnglishThis template uses a strings subpagePlease follow the format on this subpage(s) to add translations.
 
 
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:All these parameters are optional. For the template to work properly, it is enough to use it without any parameters. 
| Parameter
 | 
Description
 | 
Example
 | 
{{{doc}}}
 | 
Prevents the {{DISPLAYTITLE}} from being removed; ergo forcing it to be shown instead.
 | 
 | 
{{{nolinks}}}
 | 
Prevents all of the link column from being loaded. Useful for removing empty space if you have no links. This also removes the achievement box.
 | 
 | 
{{{noach}}}
 | 
Prevents the achievements box from being loaded. Useful for if you have an achievements subpage but no achievements.
 | 
 | 
{{{nocat}}}
 | 
Prevents category inclusion
 | 
 | 
{{{theme}}}
 | 
Changes the preset styling for various components.
 | 
 | 
| Links
 | 
{{{links-before}}}
 | 
Your own content, included before the below parameters.
 | 
| links-before = [www.half-life.com Half-Life]  
 | 
{{{website}}}
 | 
Link to your website.
 | 
| website = valvesoftware.com  
 | 
{{{facebook}}}
 | 
Your Facebook username.
 | 
 | 
{{{gamebanana}}}
 | 
Your GameBanana user ID.
 | 
 | 
{{{github}}}
 | 
Your GitHub username.
 | 
 | 
{{{gitlab}}}
 | 
Your GitLab username.
 | 
 | 
{{{patreon}}}
 | 
Your Patreon username.
 | 
 | 
{{{lambdageneration}}}
 | 
Your LambdaGeneration username.
 | 
| lambdageneration = lambdageneration  
 | 
{{{soundcloud}}}
 | 
Your SoundCloud username.
 | 
| soundcloud = valvestudioorchestra  
 | 
{{{gamemaps}}}
 | 
Your GameMaps user ID.
 | 
 | 
{{{moddb}}}
 | 
Your ModDB username.
 | 
 | 
{{{twhl}}}
 | 
Your TWHL user ID.
 | 
 | 
{{{gamerlab}}}
 | 
Your Gamer-Lab username.
 | 
 | 
{{{reddit}}}
 | 
Your Reddit username.
 | 
 | 
{{{steam}}}
 | 
Your Vanity Steam URL. Choose between this or {{{steam id}}}.
 | 
| steam = gabelogannewell  
 | 
{{{steam id}}}
 | 
Your Steam ID. Choose between this or {{{steam}}}.
 | 
| steam id = 76561197960287330  
 | 
{{{twitter}}}
 | 
Your X (Twitter) username.
 | 
 | 
{{{bluesky}}}
 | 
Your Bluesky username.
 | 
| bluesky = directorscut.bsky.social  
 | 
{{{youtube}}}
 | 
Your YouTube handle.
 | 
 | 
{{{youtube}}}
 | 
Your Twitch username.
 | 
 | 
{{{discord id}}}
 | 
Your Discord user ID.
 | 
| discord id = 728082336536854559  
 | 
{{{links-after}}}
 | 
Your own content, included after the above parameters.
 | 
| links-after = [wiki.teamfortress.com Team Fortress Wiki]  
 | 
{{{discord}}}
 | 
Your Discord username.  Deprecated:This parameter should be avoided in favor of {{{discord id}}}. 
 | 
 | 
| Frame Style
 | 
{{{frame}}}
 | 
Adds a frame around the Cover, Avatar, Username, and Buttons. (see Preview)
 | 
 | 
{{{frame bg}}}
 | 
Background value. If the theme is set to dark, this parameter will overwrite the frame color (Does not overwrite userboxes theme).
 | 
 | 
{{{radius frame *}}}
 | 
Radius value. replace the * with username, cover, buttons. Avatar frame is controlled by user settings page.
 | 
| radius frame cover = 10px   
 | 
{{{padding frame *}}}
 | 
Padding value. replace the * with avatar , username, cover, buttons.
 | 
| padding frame cover = 10px   
 | 
{{{align}}}
 | 
Aligns the Avatar and the Username if there is a frame
 | 
 | 
| Other
 | 
{{{userboxes}}}
 | 
A box designed for containing userboxes added via use of the {{Userbox}} template.
 | 
| userboxes = {{Userbox}}  
 | 
{{{infobox}}}
 | 
A box designed for containing info stuff or other.
 | 
 | 
{{{infoboxtitle}}}
 | 
Changes the title.
 | 
| infoboxtitle = informational   
 | 
Used Categories
Users
Preview
Frames
Frame Background colors