Template:User page/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 39: Line 39:
! Example
! Example
|-
|-
| align="center" | {{Param|doc}}
| align="center" | {{Code|style=2|{{Param|doc}}}}
| 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" | {{Param|noach}}
| align="center" | {{Code|style=2|{{Param|noach}}}}
| Prevents the achievements box from being loaded. Useful for if you have an achievements subpage but no achievements.
| Prevents the achievements box from being loaded. Useful for if you have an achievements subpage but no achievements.
| {{CodeBlock|margin=5px|<nowiki>| noach = true</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| noach = true</nowiki>}}
|-
| align="center" | {{Code|style=2|{{Param|nocat}}}}
| Prevents category inclusion
| {{CodeBlock|margin=5px|<nowiki>| nocat = 1</nowiki>}}
| N/A
|-
|-
! colspan="3" | Links
! colspan="3" | Links
|-
|-
| align="center" | {{Param|links-before}}
| align="center" | {{Code|style=2|{{Param|links-before}}}}
| Your own content, included before the below parameters.
| Your own content, included before the below parameters.
| {{CodeBlock|margin=5px|<nowiki>| links-before = [www.half-life.com Half-Life]</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| links-before = [www.half-life.com Half-Life]</nowiki>}}
|-
|-
| align="center" | {{Param|website}}
| align="center" | {{Code|style=2|{{Param|website}}}}
| Link to your website.
| Link to your website.
| {{CodeBlock|margin=5px|<nowiki>| website = valvesoftware.com</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| website = valvesoftware.com</nowiki>}}
|-
|-
| align="center" | {{Param|steam}}
| align="center" | {{Code|style=2|{{Param|steam}}}}
| Your [[Steam]] ID (for example, {{Code|steamcommunity.com/id/gabelogannewell}}).
| Your [[Steam]] ID (for example, {{Code|steamcommunity.com/id/gabelogannewell}}).
| {{CodeBlock|margin=5px|<nowiki>| steam = gabelogannewell</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| steam = gabelogannewell</nowiki>}}
|-
|-
| align="center" | {{Param|github}}
| align="center" | {{Code|style=2|{{Param|github}}}}
| Your [http://github.com GitHub] ID (for example, {{Code|github.com/Misha}}).
| Your [http://github.com GitHub] ID (for example, {{Code|github.com/Misha}}).
| {{CodeBlock|margin=5px|<nowiki>| github = Misha</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| github = Misha</nowiki>}}
|-
|-
| align="center" | {{Param|gitlab}}
| align="center" | {{Code|style=2|{{Param|gitlab}}}}
| Your [http://gitlab.com GitLab]  ID (for example, {{Code|gitlab.com/EliVance}}).
| Your [http://gitlab.com GitLab]  ID (for example, {{Code|gitlab.com/EliVance}}).
| {{CodeBlock|margin=5px|<nowiki>| gitlab = EliVance</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| gitlab = EliVance</nowiki>}}
|-
|-
| align="center" | {{Param|youtube}}
| align="center" | {{Code|style=2|{{Param|youtube}}}}
| Your [http://youtube.com YouTube]  ID (for example, {{Code|youtube.com/@alyxvance}}).
| Your [http://youtube.com YouTube]  ID (for example, {{Code|youtube.com/@alyxvance}}).
| {{CodeBlock|margin=5px|<nowiki>| youtube = @alyxvance</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| youtube = @alyxvance</nowiki>}}
|-
|-
| align="center" | {{Param|twitter}}
| align="center" | {{Code|style=2|{{Param|twitter}}}}
| Your [http://twitter.com Twitter] ID (for example, {{Code|twitter.com/TeamFortress}}).
| Your [http://twitter.com Twitter] ID (for example, {{Code|twitter.com/TeamFortress}}).
| {{CodeBlock|margin=5px|<nowiki>| twitter = TeamFortress</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| twitter = TeamFortress</nowiki>}}
|-
|-
| align="center" | {{Param|facebook}}
| align="center" | {{Code|style=2|{{Param|facebook}}}}
| Your [http://www.facebook.com Facebook] ID (for example, {{Code|www.facebook.com/Steam}}).
| Your [http://www.facebook.com Facebook] ID (for example, {{Code|www.facebook.com/Steam}}).
| {{CodeBlock|margin=5px|<nowiki>| facebook = Steam</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| facebook = Steam</nowiki>}}
|-
|-
| align="center" | {{Param|gamebanana}}
| align="center" | {{Code|style=2|{{Param|gamebanana}}}}
| Your [http://gamebanana.com GameBanana] ID (for example, {{Code|gamebanana.com/2325315}}).
| Your [http://gamebanana.com GameBanana] ID (for example, {{Code|gamebanana.com/2325315}}).
| {{CodeBlock|margin=5px|<nowiki>| gamebanana = 2325315</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| gamebanana = 2325315</nowiki>}}
|-
|-
| align="center" | {{Param|links-after}}
| align="center" | {{Code|style=2|{{Param|links-after}}}}
| Your own content, included after the above parameters.
| Your own content, included after the above parameters.
| {{CodeBlock|margin=5px|<nowiki>| links-after = [wiki.teamfortress.com Team Fortress Wiki]</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| links-after = [wiki.teamfortress.com Team Fortress Wiki]</nowiki>}}
|-
|-
| align="center" | {{Param|discord}}
| align="center" | {{Code|style=2|{{Param|discord}}}}
| Your [http://discord.com Discord] User ID
| Your [http://discord.com Discord] User ID
| {{CodeBlock|margin=5px|<nowiki>| discord = THE OWL#5320</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| discord = THE OWL#5320</nowiki>}}
Line 95: Line 100:
! colspan="3" | Other
! colspan="3" | Other
|-
|-
| align="center" | {{Param|userboxes}}
| align="center" | {{Code|style=2|{{Param|userboxes}}}}
| A box designed for containing userboxes added via use of the {{tl|Userbox}} template.
| A box designed for containing userboxes added via use of the {{tl|Userbox}} template.
| {{CodeBlock|margin=5px|<nowiki>| userboxes = {{Userbox}}</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| userboxes = {{Userbox}}</nowiki>}}

Revision as of 15:53, 25 April 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 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

Preview

Add a cover (PNG or JPG)


Add an avatar (PNG or JPG)


User page/doc


User SandboxUser Settings