Difference between revisions of "Template:Userbox"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m (categorizing templates to template category)
Line 11: Line 11:
 
  |template = {{#if:{{{usercategory|}}}|[[Category:{{{usercategory}}}| {{BASEPAGENAME}}]]}}{{#if:{{{usercategory2|}}}|[[Category:{{{usercategory2}}}| {{BASEPAGENAME}}]]}}{{#if:{{{usercategory3|}}}|[[Category:{{{usercategory3}}}| {{BASEPAGENAME}}]]}}
 
  |template = {{#if:{{{usercategory|}}}|[[Category:{{{usercategory}}}| {{BASEPAGENAME}}]]}}{{#if:{{{usercategory2|}}}|[[Category:{{{usercategory2}}}| {{BASEPAGENAME}}]]}}{{#if:{{{usercategory3|}}}|[[Category:{{{usercategory3}}}| {{BASEPAGENAME}}]]}}
 
}}}}<noinclude>[[Category:Templates]]
 
}}}}<noinclude>[[Category:Templates]]
 +
</noinclude>
 +
 +
<noinclude>Here is a list of some commonly used parameters:
 +
*border-c - Determines the color of the userbox's border. Put a hex color value here to change the color of the border.
 +
*border-s - Determines the width of the border in pixels. A higher value means a thicker border, while a lower value means a thinner one.
 +
*info-s - Determines the size of the info text in points. Increase this value for a bigger font size, and decrease it for a smaller font size.
 +
*info-c - The background color for the 'info' section of the user box. Change this value for a different background text color
 +
*Align - Where the userbox goes. Can be left, center, or right.
 
</noinclude>
 
</noinclude>

Revision as of 15:42, 18 February 2026

id info


Here is a list of some commonly used parameters:

  • border-c - Determines the color of the userbox's border. Put a hex color value here to change the color of the border.
  • border-s - Determines the width of the border in pixels. A higher value means a thicker border, while a lower value means a thinner one.
  • info-s - Determines the size of the info text in points. Increase this value for a bigger font size, and decrease it for a smaller font size.
  • info-c - The background color for the 'info' section of the user box. Change this value for a different background text color
  • Align - Where the userbox goes. Can be left, center, or right.