Template:User page/doc: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{ModernTodo|Someday complete work on this template, thereby standardizing non-stylized user pages.}}</includeonly> | <includeonly>{{ModernTodo|Someday complete work on this template, thereby standardizing non-stylized user pages.}}</includeonly> | ||
<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| | {{ModernNote|The template is being worked on from time to time. The template author doesn't have any good ideas yet 🙁}} | ||
== | == Translations == | ||
The used strings are on [[/strings|strings subpage]]. Please follow the format to add translations for them. | |||
== Parameters and Examples == | == Parameters and Examples == | ||
{| class="standard-table" style="width:100%" | {| class="standard-table" style="width:100%" | ||
!style="width:10%"|Parameter | ! style="width:10%" | Parameter | ||
!Description | ! Description | ||
!Example | ! Example | ||
|- | |- | ||
|align="center"|No Parameters | | align="center" | No Parameters | ||
|This template will automatically search and attempt to load these images {{ | | 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 {{ | 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}}{{))}}}} | ||
|- | |- | ||
|align="center"|{{ | | align="center" | {{Param|doc}} | ||
|''Optional:'' Prevents the username defined in {{ | | ''Optional:'' Prevents the username defined in {{Code|/settings}} from being loaded; ergo forcing {{Code|<nowiki>{{PAGETITLE}}</nowiki>}} to be used instead. | ||
|{{CodeBlock|<nowiki>{{Userpage|doc=1}}</nowiki>}} | | {{CodeBlock|<nowiki>{{Userpage|doc=1}}</nowiki>}} | ||
|- | |- | ||
|align="center"|{{ | | align="center" | {{Param|links}} | ||
|''Optional:'' For specifying links that will appear in a box to the right titled "Links".<br> | | ''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 {{ | {{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>}} | ||
|- | |- | ||
|} | |} | ||
== Preview == | |||
<br>{{User page}} |
Revision as of 02:16, 1 April 2023
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 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. |
|
{{{doc}}} | Optional: Prevents the username defined in /settings from being loaded; ergo forcing {{PAGETITLE}} to be used instead. | |
{{{links}}} | Optional: For specifying links that will appear in a box to the right titled "Links". |
Preview