Template:User page/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 22: Line 22:
|-
|-
|align="center"|{{param|links}}
|align="center"|{{param|links}}
|''Optional:'' For specifying links that will appear in a box to the right titled "Links".
|''Optional:'' For specifying links that will appear in a box to the right titled "Links".<br>
{{ModernNote|You can specify whatever content you want to appear in {{param|links}}}}
|{{CodeBlock|<nowiki>{{Userpage|links=[[Category:Templates]]}}</nowiki>}}
|{{CodeBlock|<nowiki>{{Userpage|links=[[Category:Templates]]}}</nowiki>}}
|-
|align="center"|{{param|contribs}}
|''Optional:'' Exceedingly similar to {{param|links}} except for the fact that you specifically specify a list of contributions that will appear in a box titled "Contributions".<br>
{{ModernNote|You can specify whatever content you want to appear in {{param|links}} or {{param|contributions}}.}}
|{{CodeBlock|<nowiki>{{Userpage|contributions=[[Template:User Page]]}}</nowiki>}}
|-
|-
|}
|}

Revision as of 09:26, 29 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".

Template:ModernNote

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