Template:User page/doc: Difference between revisions
m (Updated "links") |
(Also added copy and paste for frame parameters.) |
||
Line 31: | Line 31: | ||
| patreon = | | patreon = | ||
| steam = | | steam = | ||
| twitter = | | twitter = | ||
| reddit = | |||
| youtube = | | youtube = | ||
| discord = | | discord = | ||
}}</nowiki>}} | }}</nowiki>}} | ||
=== Frame style === | |||
{{CodeBlock|margin=5px|<nowiki>| frame bg = | |||
| frame = | |||
| radius frame cover = | |||
| radius frame username = | |||
| radius frame buttons = | |||
| padding frame cover = | |||
| padding frame username = | |||
| padding frame avatar = | |||
| padding frame buttons = | |||
</nowiki>}} | |||
== Parameters and Examples == | == Parameters and Examples == | ||
{{note|All these parameters are optional. For the template to work properly, it is enough to use it without any parameters.}} | {{note|All these parameters are optional. For the template to work properly, it is enough to use it without any parameters.}} |
Revision as of 08:50, 31 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
Frame style
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. | |
{{{reddit}}} | Your Reddit 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. If the theme is set to dark, this parameter will overwrite the frame color (Does not overwrite userboxes theme).
|
|
{{{radius frame *}}} | Radius value. replace the * with username, cover, buttons. Avatar frame is controlled by user settings page. | |
{{{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