Template:User page/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Identical param was used on steam id)
(Fix order of links, add missing links and nolinks parameter.)
Line 23: Line 23:
| github =  
| github =  
| gitlab =  
| gitlab =  
| patreon =
| reddit =
| lambdageneration =
| lambdageneration =
| soundcloud =
| gamemaps =
| moddb =  
| moddb =  
| twhl =
| twhl =  
| gamemaps =
| gamerlab =  
| gamerlab =
| soundcloud =
| patreon =
| steam =  
| steam =  
| twitter =
| twitter =  
| reddit =  
| bluesky =  
| youtube =  
| youtube =  
| discord =  
| twitch =
| discord id =  
}}</nowiki>}}
}}</nowiki>}}


Line 59: Line 61:
| Prevents the {{Code|<nowiki>{{DISPLAYTITLE}}</nowiki>}} from being removed; ergo forcing it to be shown instead.  
| Prevents the {{Code|<nowiki>{{DISPLAYTITLE}}</nowiki>}} from being removed; ergo forcing it to be shown instead.  
| {{CodeBlock|margin=5px|<nowiki>| doc = 1</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| doc = 1</nowiki>}}
|-
| align="center" | {{Code|style=2|{{Param|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.
| {{CodeBlock|margin=5px|<nowiki>| nolinks = true</nowiki>}}
|-
|-
| align="center" | {{Code|style=2|{{Param|noach}}}}
| align="center" | {{Code|style=2|{{Param|noach}}}}
Line 82: Line 88:
| {{CodeBlock|margin=5px|<nowiki>| website = valvesoftware.com</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| website = valvesoftware.com</nowiki>}}
|-
|-
| align="center" | {{Code|style=2|{{Param|steam}}}}
| align="center" | {{Code|style=2|{{Param|facebook}}}}
| Your Vanity [[Steam]] URL.
| Your [http://www.facebook.com Facebook] username.
| {{CodeBlock|margin=5px|<nowiki>| steam = gabelogannewell</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| facebook = Steam</nowiki>}}
|-
|-
| align="center" | {{Code|style=2|{{Param|steam id}}}}
| align="center" | {{Code|style=2|{{Param|gamebanana}}}}
| Your [[Steam]] ID.
| Your [http://gamebanana.com GameBanana] user ID.
| {{CodeBlock|margin=5px|<nowiki>| steam id = 76561197960287330</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| gamebanana = 2385315</nowiki>}}
|-
|-
| align="center" | {{Code|style=2|{{Param|github}}}}
| align="center" | {{Code|style=2|{{Param|github}}}}
| Your [http://github.com GitHub] ID.
| Your [http://github.com GitHub] username.
| {{CodeBlock|margin=5px|<nowiki>| github = Gaben</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| github = Gaben</nowiki>}}
|-
|-
| align="center" | {{Code|style=2|{{Param|gitlab}}}}
| align="center" | {{Code|style=2|{{Param|gitlab}}}}
| Your [http://gitlab.com GitLab] ID.
| Your [http://gitlab.com GitLab] username.
| {{CodeBlock|margin=5px|<nowiki>| gitlab = EliVance</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| gitlab = EliVance</nowiki>}}
|-
| align="center" | {{Code|style=2|{{Param|patreon}}}}
| Your [http://patreon.com Patreon] username.
| {{CodeBlock|margin=5px|<nowiki>| patreon = Patreon</nowiki>}}
|-
| align="center" | {{Code|style=2|{{Param|lambdageneration}}}}
| Your [http://lambdageneration.com LambdaGeneration] username.
| {{CodeBlock|margin=5px|<nowiki>| lambdageneration = lambdageneration</nowiki>}}
|-
| align="center" | {{Code|style=2|{{Param|soundcloud}}}}
| Your [http://soundcloud.com SoundCloud] username.
| {{CodeBlock|margin=5px|<nowiki>| soundcloud = valvestudioorchestra</nowiki>}}
|-
| align="center" | {{Code|style=2|{{Param|gamemaps}}}}
| Your [http://gamemaps.com GameMaps] user ID.
| {{CodeBlock|margin=5px|<nowiki>| gamemaps = 1</nowiki>}}
|-
| align="center" | {{Code|style=2|{{Param|moddb}}}}
| Your [http://moddb.com ModDB] username.
| {{CodeBlock|margin=5px|<nowiki>| moddb = intense</nowiki>}}
|-
| align="center" | {{Code|style=2|{{Param|twhl}}}}
| Your [http://twhl.info TWHL] user ID.
| {{CodeBlock|margin=5px|<nowiki>| twhl = 1983</nowiki>}}
|-
| align="center" | {{Code|style=2|{{Param|gamerlab}}}}
| Your [http://gamer-lab.com Gamer-Lab] username.
| {{CodeBlock|margin=5px|<nowiki>| gamerlab = username</nowiki>}}
|-
|-
| align="center" | {{Code|style=2|{{Param|reddit}}}}
| align="center" | {{Code|style=2|{{Param|reddit}}}}
| Your [http://reddit.com Reddit] ID.
| Your [http://reddit.com Reddit] username.
| {{CodeBlock|margin=5px|<nowiki>| reddit = Left4Dead</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| reddit = Left4Dead</nowiki>}}
|-
|-
| align="center" | {{Code|style=2|{{Param|steam}}}}
| Your Vanity [[Steam]] URL.<br>Choose between this or {{Code|style=2|{{Param|steam id}}}}.
| {{CodeBlock|margin=5px|<nowiki>| steam = gabelogannewell</nowiki>}}
|-
|-
| align="center" | {{Code|style=2|{{Param|youtube}}}}
| align="center" | {{Code|style=2|{{Param|steam id}}}}
| Your [http://youtube.com YouTube] ID.
| Your [[Steam]] ID.<br>Choose between this or {{Code|style=2|{{Param|steam}}}}.
| {{CodeBlock|margin=5px|<nowiki>| youtube = @alyxvance</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| steam id = 76561197960287330</nowiki>}}
|-
|-
| align="center" | {{Code|style=2|{{Param|twitter}}}}
| align="center" | {{Code|style=2|{{Param|twitter}}}}
| Your [http://twitter.com Twitter] ID.
| Your [http://x.com X (Twitter)] username.
| {{CodeBlock|margin=5px|<nowiki>| twitter = TeamFortress</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| twitter = TeamFortress</nowiki>}}
|-
|-
| align="center" | {{Code|style=2|{{Param|facebook}}}}
| align="center" | {{Code|style=2|{{Param|bluesky}}}}
| Your [http://www.facebook.com Facebook] ID.
| Your [http://bsky.app Bluesky] username.
| {{CodeBlock|margin=5px|<nowiki>| facebook = Steam</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| bluesky = directorscut.bsky.social</nowiki>}}
|-
| align="center" | {{Code|style=2|{{Param|youtube}}}}
| Your [http://youtube.com YouTube] handle.
| {{CodeBlock|margin=5px|<nowiki>| youtube = @alyxvance</nowiki>}}
|-
| align="center" | {{Code|style=2|{{Param|youtube}}}}
| Your [http://twitch.tv Twitch] username.
| {{CodeBlock|margin=5px|<nowiki>| twitch = valve</nowiki>}}
|-
|-
| align="center" | {{Code|style=2|{{Param|gamebanana}}}}
| align="center" | {{Code|style=2|{{Param|discord id}}}}
| Your [http://gamebanana.com GameBanana] ID.
| Your [http://discord.com Discord] user ID.
| {{CodeBlock|margin=5px|<nowiki>| gamebanana = 2385315</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| discord id = 728082336536854559</nowiki>}}
|-
|-
| align="center" | {{Code|style=2|{{Param|links-after}}}}
| align="center" | {{Code|style=2|{{Param|links-after}}}}
Line 124: Line 169:
|-
|-
| align="center" | {{Code|style=2|{{Param|discord}}}}
| align="center" | {{Code|style=2|{{Param|discord}}}}
| Your [http://discord.com Discord] username
| Your [http://discord.com Discord] username. {{deprecated|This parameter should be avoided in favor of {{Code|style=2|{{Param|discord id}}}}.}}
| {{CodeBlock|margin=5px|<nowiki>| discord = Gabe_Newell</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| discord = Gabe_Newell</nowiki>}}
|-
|-
Line 156: Line 201:


== Preview ==
== Preview ==
{{Capsule|style=2|{{User page|doc=1|nocat=1}}}}
{{Capsule|style=2|{{User page|doc=1|nocat=1|nolinks=1}}}}


{{Capsule|style=2|{{User page|theme=dark|doc=1|nocat=1}}}}
{{Capsule|style=2|{{User page|theme=dark|doc=1|nocat=1|nolinks=1}}}}


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


{{Capsule|style=2|{{User page|frame = true|theme=dark|doc=1|nocat=1}}}}
{{Capsule|style=2|{{User page|frame = true|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}}}}
{{Capsule|style=2|{{User page|frame = true|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}}}}
{{Capsule|style=2|{{User page|frame = true|frame bg = #214268|theme=dark|doc=1|nocat=1|nolinks=1}}}}


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

Revision as of 18:38, 1 May 2024

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

| 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