Template:User page/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 19: Line 19:
|align="center"|{{param|doc}}
|align="center"|{{param|doc}}
|''Optional:'' Prevents the username defined in {{code|/settings}} from being loaded; ergo forcing {{code|<nowiki>{{PAGETITLE}}</nowiki>}} to be used instead.  
|''Optional:'' Prevents the username defined in {{code|/settings}} from being loaded; ergo forcing {{code|<nowiki>{{PAGETITLE}}</nowiki>}} to be used instead.  
Designed especially for use within this documentation.
|{{CodeBlock|<nowiki>{{Userpage|doc=1}}</nowiki>}}
|{{CodeBlock|<nowiki>{{Userpage|doc=1}}</nowiki>}}
|-
|-

Revision as of 10:03, 30 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; ergo forcing {{PAGETITLE}} to be used instead.
{{Userpage|doc=1}}
{{{links}}} Optional: For specifying links that will appear in a box to the right titled "Links".

Template:ModernNote

{{Userpage|links=[[Category:Templates]]}}