Difference between revisions of "Template:Userbox"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m (categorizing templates to template category)
 
(3 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
}}}}<noinclude>[[Category:Templates]]
 
}}}}<noinclude>[[Category:Templates]]
 
</noinclude>
 
</noinclude>
 +
<noinclude><br><br><br><br><br> To implement this template, use this format:
 +
 +
<nowiki>{{Userbox | id = id text| info = info text }}</nowiki>
 +
 +
<br>Here is a list of some commonly used parameters for this template and their functions:
 +
*border-c - Determines the color of the userbox's border. Put a hex color value here to change the color of the border. If this isn't included, it defaults to grey.
 +
*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. If this isn't included, it defaults to 1.
 +
*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. If this isn't included, it defaults to your system's default font size.
 +
*id-s - Determines the size of the id text in points. Increase this value or a bigger font size, decrease it for a smaller one. If this isn't
 +
*id-c - The background color for the 'id' section of the userbox. Change this value for a different background color. If this isn't included, it defaults to a darker grey.
 +
*info-c - The background color for the 'info' section of the user box. Change this value for a different background color. If this isn't included, it defaults to an even darker grey.
 +
*Float - Where the userbox will go in relation to the page. Can be left, center, or right. If this isn't included, it defaults to left.
 +
*Align - Determines how the info text is aligned. Can be left, center, or right. If this isn't included, it defaults to left.</noinclude>

Latest revision as of 20:39, 18 February 2026

id info






To implement this template, use this format:

{{Userbox | id = id text| info = info text }}


Here is a list of some commonly used parameters for this template and their functions:

  • border-c - Determines the color of the userbox's border. Put a hex color value here to change the color of the border. If this isn't included, it defaults to grey.
  • 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. If this isn't included, it defaults to 1.
  • 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. If this isn't included, it defaults to your system's default font size.
  • id-s - Determines the size of the id text in points. Increase this value or a bigger font size, decrease it for a smaller one. If this isn't
  • id-c - The background color for the 'id' section of the userbox. Change this value for a different background color. If this isn't included, it defaults to a darker grey.
  • info-c - The background color for the 'info' section of the user box. Change this value for a different background color. If this isn't included, it defaults to an even darker grey.
  • Float - Where the userbox will go in relation to the page. Can be left, center, or right. If this isn't included, it defaults to left.
  • Align - Determines how the info text is aligned. Can be left, center, or right. If this isn't included, it defaults to left.