Template:User page/doc: Difference between revisions
Thunder4ik (talk | contribs) m (→Parameters and Examples: clean up, replaced: {{ModernNote| → {{note|) |
No edit summary |
||
Line 109: | Line 109: | ||
| Your [http://discord.com Discord] username | | Your [http://discord.com Discord] username | ||
| {{CodeBlock|margin=5px|<nowiki>| discord = Gabe_Newell</nowiki>}} | | {{CodeBlock|margin=5px|<nowiki>| discord = Gabe_Newell</nowiki>}} | ||
|- | |||
! colspan="3" | Frame Style | |||
|- | |||
| align="center" | {{Code|style=2|{{Param|frame}}}} | |||
| Adds a frame around the Cover, Avatar, Username, and Buttons. (see Preview) | |||
| {{CodeBlock|margin=5px|<nowiki>| frame = true </nowiki>}} | |||
|- | |||
| align="center" | {{Code|style=2|{{Param|frame bg}}}} | |||
| Background value. | |||
| {{CodeBlock|margin=5px|<nowiki>| frame bg = #4A6821 </nowiki>}} | |||
|- | |||
| align="center" | {{Code|style=2|{{Param|radius frame *}}}} | |||
| Radius value. replace the <nowiki>*</nowiki> with avatar , username, cover, buttons. | |||
| {{CodeBlock|margin=5px|<nowiki>| radius frame cover = 10px </nowiki>}} | |||
|- | |||
| align="center" | {{Code|style=2|{{Param|padding frame *}}}} | |||
| Padding value. replace the <nowiki>*</nowiki> with avatar , username, cover, buttons. | |||
| {{CodeBlock|margin=5px|<nowiki>| padding frame cover = 10px </nowiki>}} | |||
|- | |- | ||
! colspan="3" | Other | ! colspan="3" | Other | ||
Line 124: | Line 142: | ||
{{Capsule|style=2|{{User page|theme=dark|doc=1|nocat=1}}}} | {{Capsule|style=2|{{User page|theme=dark|doc=1|nocat=1}}}} | ||
=== Frames === | |||
{{Capsule|style=2|{{User page|frame = true|doc=1|nocat=1}}}} | |||
{{Capsule|style=2|{{User page|frame = true|theme=dark|doc=1|nocat=1}}}} | |||
=== Frame Background colors === | |||
{{Capsule|style=2|{{User page|frame = true|frame bg = #4A6821|doc=1|nocat=1}}}} | |||
{{Capsule|style=2|{{User page|frame = true|frame bg = #214268|theme=dark|doc=1|nocat=1}}}} | |||
{{Doc/Sandbox other|[[Category:Templates]]}} | {{Doc/Sandbox other|[[Category:Templates]]}} |
Revision as of 17:31, 26 March 2024

Don't forget to purge the contents of the base page upon creating or editing this subpage.
This template is intended for use on user pages as a means of standardizing them and making them look better. It 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.
Copy and Paste
Parameters and Examples

Parameter | Description | Example |
---|---|---|
{{{doc}}} | Prevents the {{DISPLAYTITLE}} from being removed; ergo forcing it to be shown instead. | |
{{{noach}}} | Prevents the achievements box from being loaded. Useful for if you have an achievements subpage but no achievements. | |
{{{nocat}}} | Prevents category inclusion | |
{{{theme}}} | Changes the preset styling for various components. | |
Links | ||
{{{links-before}}} | Your own content, included before the below parameters. | |
{{{website}}} | Link to your website. | |
{{{steam}}} | Your Vanity Steam URL. | |
{{{steam id}}} | Your Steam ID. | |
{{{github}}} | Your GitHub ID. | |
{{{gitlab}}} | Your GitLab ID. | |
{{{youtube}}} | Your YouTube ID. | |
{{{twitter}}} | Your Twitter ID. | |
{{{facebook}}} | Your Facebook ID. | |
{{{gamebanana}}} | Your GameBanana ID. | |
{{{links-after}}} | Your own content, included after the above parameters. | |
{{{discord}}} | Your Discord username | |
Frame Style | ||
{{{frame}}} | Adds a frame around the Cover, Avatar, Username, and Buttons. (see Preview) | |
{{{frame bg}}} | Background value. | |
{{{radius frame *}}} | Radius value. replace the * with avatar , username, cover, buttons. | |
{{{padding frame *}}} | Padding value. replace the * with avatar , username, cover, buttons. | |
Other | ||
{{{userboxes}}} | A box designed for containing userboxes added via use of the {{Userbox}} template.
|
Used Categories
Preview
Frames
Frame Background colors