Template:User page/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 24: Line 24:
| align="center" | {{Param|noach}}
| align="center" | {{Param|noach}}
| ''Optional:'' Prevents the achievements box from being loaded. Useful for if you have an achievements subpage but no achievements.
| ''Optional:'' Prevents the achievements box from being loaded. Useful for if you have an achievements subpage but no achievements.
| {{CodeBlock|<nowiki>{{User page|links=[[Category:Templates]]}}</nowiki>}}
| {{CodeBlock|<nowiki>{{User page|noach=true}}</nowiki>}}
|-
|-
| align="center" | {{Param|links}}
| align="center" | {{Param|links}}

Revision as of 08:24, 1 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

Translations

The used strings are on strings subpage. Please follow the format to add translations for them.

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.

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 {{DISPLAYTITLE}} from being removed; ergo forcing it to be shown instead.
{{User page|doc=1}}
{{{noach}}} Optional: Prevents the achievements box from being loaded. Useful for if you have an achievements subpage but no achievements.
{{User page|noach=true}}
{{{links}}} Optional: For specifying links that will appear in a box to the right titled "Links".

Template:ModernNote

{{User page|links=[[Category:Templates]]}}

Preview

Add a cover (PNG or JPG)


Add an avatar (PNG or JPG)


User page/doc


User SandboxUser Settings