User:Wauteurz/Userinfobox

From Wikivoyage
Jump to navigation Jump to search
{{{1}}} {{{2}}}
[view] [edit] [history] [purge] Documentation

This template is a generic replacement of userboxes as known from Commons and Wikipedia. Since Wikivoyage does not have these types of decorations for the user page, this template serves as a generic blueprint for any userbox you may desire.

Usage[edit]

A complete use of this template is as follows: {{User:Wauteurz/Userinfobox|1|2|bordercolor|bgtext|bgimg}}

Parameter Nutshell Description Default Example
1 Image A link to the desired image to be displayed on the left hand of the infobox. This may also be text of sorts. No default. [[File:User with camera.svg|35px]]
2 Accompanying text The blurb accompanying whatever is defined in 1 No default. This user has a camera.
bordercolor Colour of the border The colour of the border. Its dimensions may not be altered. Accepts HTML-acceptable colours and RGB hex values, as well as templates that inject HTML or CSS content such as {{linear-gradient}}. Leave blank to get no border. No default pink
#ff00ff
{{linear-gradient|left|#ffffff, #A7A7B0}}
bgimg Background colour image Colour of the background behind 1 white See above.
bgtext Background colour text Colour of the background behind 2 white See above.
font Font Font used in the template Atkinson Hyperlegible sans-serif (Wikimedia default)
times new roman