Template:User page/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Mailmanmicky (talk | contribs) (Overhauled page) |
||
Line 2: | Line 2: | ||
<includeonly>{{ModernTodo|This template should become the second {{tl|MultiPage}}, but for user pages.}}</includeonly> | <includeonly>{{ModernTodo|This template should become the second {{tl|MultiPage}}, but for user pages.}}</includeonly> | ||
{{ModernNote|Work on the template is temporarily suspended. The template author doesn't have any good ideas yet 🙁}} | {{ModernNote|Work on the template is temporarily suspended. The template author doesn't have any good ideas yet 🙁}} | ||
Template created with the intention of modernizing and standardizing user pages. | |||
== Preview == | |||
<br> | |||
{{User page|doc=1}} | {{User page|doc=1}} | ||
== Parameters and Examples == | |||
{| class="standard-table" style="width:100%" | |||
!style="width:10%"|Parameter | |||
!Description | |||
!Example | |||
|- | |||
|align="center"|No Parameters | |||
|This template will automatically search and attempt to load images with the prefix {{code|UserAvatar}} and {{code|UserCover}}. If either 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, 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}}{{))}}}} | |||
|- | |||
|align="center"|{{param|doc}} | |||
|Optional: Prevents the username defined in {{code|/settings}} from being executed. Designed especially for use within this documentation. | |||
|{{CodeBlock|<nowiki>{{Userpage|links=[[Category:Templates]]}}</nowiki>}} | |||
|- | |||
|align="center"|{{param|links}} | |||
|Optional: For specifying links that will appear in a box to the right titled "Links". | |||
|{{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 08:49, 28 March 2023
Template created with the intention of modernizing and standardizing user pages.
Preview
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. |
|
{{{doc}}} | Optional: Prevents the username defined in /settings from being executed. Designed especially for use within this documentation. | |
{{{links}}} | Optional: For specifying links that will appear in a box to the right titled "Links". | |
{{{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". |