Template:User page/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 13: Line 13:
|-
|-
|align="center"|No Parameters
|align="center"|No Parameters
|This template will automatically search and attempt to load images with the prefix {{code|UserAvatar-}} {{code|UserAvatarFrame-}} or {{code|UserCover-}}. If any of the applicable images are available, then they will replace their correspondent placeholder counterparts seen above.<br>
|This template will automatically search and attempt to load these images {{code|UserAvatar-YOURNAME}} {{code|UserAvatarFrame-YOURNAME}} or {{code|UserCover-YOURNAME}}. If any of the applicable images are available, then they will replace their correspondent placeholder counterparts seen above.<br>
Another thing to note. If your user page has a subpage called "Achievements", and it has the {{code|<nowiki>{{Wikichievements}}</nowiki>}} 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 {{code|<nowiki>{{Wikichievements/Data}}</nowiki>}} then they will load in the aforementioned box.
Another thing to note. If your user page has a subpage called "Achievements", and it has the {{code|<nowiki>{{Wikichievements}}</nowiki>}} 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 {{code|<nowiki>{{Wikichievements/Data}}</nowiki>}} then they will load in the aforementioned box.
|{{CodeBlock|{{((}}{{ROOTPAGENAME}}{{))}}}}
|{{CodeBlock|{{((}}{{ROOTPAGENAME}}{{))}}}}

Revision as of 09:38, 28 March 2023


Template:ModernNote

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 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 seen above.

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.

{{User page}}
{{{doc}}} Optional: Prevents the username defined in /settings from being loaded. Designed especially for use within this documentation.
{{Userpage|doc=1}}
{{{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]]}}