Template:User page/doc: Difference between revisions
Mailmanmicky (talk | contribs) m (PNG works for avatar too (check my profile). Not sure about the banner though) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{ | {{Doc/subpage}} | ||
<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|The template is being worked on from time to time. The template author doesn't have any good ideas yet 🙁}} | {{ModernNote|The template is being worked on from time to time. The template author doesn't have any good ideas yet 🙁}} | ||
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. | |||
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. | |||
== Translations == | == Translations == | ||
Line 23: | Line 27: | ||
|- | |- | ||
| align="center" | No Parameters | | align="center" | No Parameters | ||
| | | Places a template. | ||
| {{CodeBlock|{{((}}{{ROOTPAGENAME}}{{))}}}} | | {{CodeBlock|{{((}}{{ROOTPAGENAME}}{{))}}}} | ||
|- | |- | ||
Line 44: | Line 47: | ||
== Preview == | == Preview == | ||
{{Capsule|style=2|{{User page|doc=1}}}} | {{Capsule|style=2|{{User page|doc=1}}}} | ||
{{Doc/Sandbox other|[[Category:Templates]]}} |
Revision as of 21:40, 6 April 2023

Don't forget to purge the contents of the base page upon creating or editing this subpage.
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.
Translations
The used strings are on strings subpage. Please follow the format to add translations for them.
Images
Supported formats: JPG, PNG (PNG only for avatar and avatar frame).
Recommended avatar resolution: 128x128 pixels.
Recommended cover resolution: 2560x256 pixels.
Recommended avatar frame resolution: 224x224 pixels.
Parameters and Examples
Parameter | Description | Example |
---|---|---|
No Parameters | Places a template. | |
{{{doc}}} | Optional: Prevents the {{DISPLAYTITLE}} from being removed; ergo forcing it to be shown instead. | |
{{{noach}}} | Optional: Prevents the achievements box from being loaded. Useful for if you have an achievements subpage but no achievements. | |
{{{links}}} | Optional: For specifying links that will appear in a box to the right titled "Links". |
Preview