Template:User page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (?)
(Added Reddit and also modifying Twitter (X), YT, Moddb to use it's own template instead (which shows the icon).)
Line 100: Line 100:
|}}}}
|}}}}
<!-- Links --><!-- Maybe it should be renamed -->
<!-- Links --><!-- Maybe it should be renamed -->
{{#if:{{{website|}}}{{{steam|}}}{{{gamebanana|}}}{{{github|}}}{{{gitlab|}}}{{{youtube|}}}{{{twitter|}}}{{{facebook|}}}{{{discord|}}}{{{links|}}}
{{#if:{{{website|}}}{{{steam|}}}{{{gamebanana|}}}{{{github|}}}{{{gitlab|}}}{{{reddit|}}}{{{youtube|}}}{{{twitter|}}}{{{facebook|}}}{{{discord|}}}{{{links|}}}
| <div style="display:flex; flex-direction:column; box-sizing:border-box; width:100%; {{#switch:{{{theme}}}
| <div style="display:flex; flex-direction:column; box-sizing:border-box; width:100%; {{#switch:{{{theme}}}
           | dark    = background:#212121; box-shadow:rgba(0, 0, 0, .45) 0 0 25px
           | dark    = background:#212121; box-shadow:rgba(0, 0, 0, .45) 0 0 25px
Line 119: Line 119:
-->{{#if:{{{gitlab|}}} | <span>[http://gitlab.com/{{{gitlab}}} GitLab]</span> |}}<!--
-->{{#if:{{{gitlab|}}} | <span>[http://gitlab.com/{{{gitlab}}} GitLab]</span> |}}<!--
-->{{#if:{{{patreon|}}} | <span>[https://patreon.com/{{{patreon}}} Patreon]</span> |}}<!--
-->{{#if:{{{patreon|}}} | <span>[https://patreon.com/{{{patreon}}} Patreon]</span> |}}<!--
-->{{#if:{{{reddit|}}} | <span>[https://new.reddit.com/user/{{{reddit}}} Reddit]</span> |}}<!--
-->{{#if:{{{lambdageneration|}}} | <span>[https://community.lambdageneration.com/user/{{{lambdageneration}}} Lambda Generation]</span> |}}<!--
-->{{#if:{{{lambdageneration|}}} | <span>[https://community.lambdageneration.com/user/{{{lambdageneration}}} Lambda Generation]</span> |}}<!--
-->{{#if:{{{soundcloud|}}} | <span>[https://www.soundcloud.com/{{{soundcloud}}} SoundCloud]</span> |}}<!--
-->{{#if:{{{soundcloud|}}} | <span>[https://www.soundcloud.com/{{{soundcloud}}} SoundCloud]</span> |}}<!--
-->{{#if:{{{gamemaps|}}} | <span>[https://www.gamemaps.com/profile/{{{gamemaps}}} GameMaps]</span> |}}<!--
-->{{#if:{{{gamemaps|}}} | <span>[https://www.gamemaps.com/profile/{{{gamemaps}}} GameMaps]</span> |}}<!--
-->{{#if:{{{moddb|}}} | <span>[https://www.moddb.com/members/{{{moddb}}} ModDB]</span> |}}<!--
-->{{#if:{{{moddb|}}} | <span>{{Moddb|page=other|members/{{{moddb}}}|ModDB}}</span> |}}<!--
-->{{#if:{{{twhl|}}} | <span>[https://twhl.info/index.php/user/view/{{{twhl}}} TWHL]</span> |}}<!--
-->{{#if:{{{twhl|}}} | <span>[https://twhl.info/index.php/user/view/{{{twhl}}} TWHL]</span> |}}<!--
-->{{#if:{{{gamerlab|}}} | <span>[https://gamer-lab.com/eng/user/{{{gamerlab}}} Gamer-Lab]</span> |}}<!--
-->{{#if:{{{gamerlab|}}} | <span>[https://gamer-lab.com/eng/user/{{{gamerlab}}} Gamer-Lab]</span> |}}<!--
-->{{#if:{{{steam|}}}{{{steam id|}}} | <span>[http://steamcommunity.com/{{#if:{{{steam|}}}|id|profiles}}/{{{steam|{{{steam id}}}}}} Steam]</span> |}}<!--
-->{{#if:{{{steam|}}}{{{steam id|}}} | <span>[http://steamcommunity.com/{{#if:{{{steam|}}}|id|profiles}}/{{{steam|{{{steam id}}}}}} Steam]</span> |}}<!--
-->{{#if:{{{twitter|}}} | <span>[http://twitter.com/{{{twitter}}} Twitter]</span> |}}<!--
-->{{#if:{{{twitter|}}} | <span>{{Twitter|{{{twitter}}}|Twitter}}</span> |}}<!--
-->{{#if:{{{youtube|}}} | <span>[http://www.youtube.com/{{{youtube}}} YouTube]</span> |}}<!--
-->{{#if:{{{youtube|}}} | <span>{{Yt|{{{youtube}}}|YouTube}}</span> |}}<!--


-->{{#if:{{{links-after|}}} | <span>{{{links-after}}}</span> |}}<!--
-->{{#if:{{{links-after|}}} | <span>{{{links-after}}}</span> |}}<!--

Revision as of 06:09, 31 March 2024

Todo: 
  • Someday complete work on this template, thereby standardizing non-stylized user pages.
  • This template should become the second {{MultiPage}}, but for user pages. [Clarify]
  • Animated avatar.
Note.pngNote:It's not hard to do.
PlacementTip.pngWorkaround:to make it, you should to upload .gif, like .png/.jpg... But you should to configure them (just renaming format .gif to .png/.jpg not works)
  • The {{{discord}}} parameter should be changed to accept a user link, e.g.: discordapp.com/users/{{{discord}}}
  • Scrolling in {{User page}}
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please 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.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


User SandboxUser Settings
Add a cover (PNG or JPG)



Add an avatar (PNG or JPG)


User page


User SandboxUser Settings

Frames

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

Frame Background colors

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