Template:User page/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Overhauled page)
Line 6: Line 6:
== Preview ==
== Preview ==
<br>
<br>
{{User page|doc=1}}
{{User page|doc=1}}


== Parameters and Examples ==
== Parameters and Examples ==

Revision as of 08:49, 28 March 2023


Template:ModernNote

Template created with the intention of modernizing and standardizing user pages.

Preview


Add a cover (PNG or JPG)


Add an avatar (PNG or JPG)


User page/doc


User SandboxUser Settings

Parameters and Examples

Parameter Description Example
No Parameters This template will automatically search and attempt to load images with the prefix UserAvatar and UserCover. If either of the applicable images are available, then they will replace their correspondent placeholder counterparts seen above.

Another thing to note. If your user page has a subpage called "Achievements", and it has the {{Wikichievements}} template transcluded, 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.

{{User page}}
{{{doc}}} Optional: Prevents the username defined in /settings from being executed. Designed especially for use within this documentation.
{{Userpage|links=[[Category:Templates]]}}
{{{links}}} Optional: For specifying links that will appear in a box to the right titled "Links".
{{Userpage|links=[[Category:Templates]]}}
{{{contribs}}} Optional: Exceedingly similar to {{{links}}} except for the fact that you specifically specify a list of contributions that will appear in a box titled "Contributions".

Template:ModernNote

{{Userpage|contributions=[[Template:User Page]]}}