Open main menu

OrthodoxWiki β

Help:Userbox

UBX A userbox is a small box that looks like this.


A userbox (commonly abbreviated as UBX) is a small colored box designed to appear on a Wikipedian's user page as a notice about the user. Userboxes generally include one or two small graphics and a few short lines of text. Sometimes they also include wiki markup that places the user in a category. Userboxes are generally created as templates and transcluded onto userpages, although their markup may be substituted directly onto userpages instead. Userboxes should not be used in articles.


Using existing userboxes

Userboxes are for the use of users on their own user pages. It may be considered bad Wikiquette to place any userboxes on any other user's page(s) without their permission.

Syntax

The standard syntax for including a userbox to your user page is: {{user name_of_box}}.

Optional substitution

You may decide to substitute (also known as transclusion) the template code onto your user page using the syntax {{subst:user name_of_box}}. The use of "subst:" will ensure that the template is always displayed in its form when you add it to your user page, i.e. it will not reflect subsequent edits to the template. This method will lead to large amounts of code on your user page.

Examples

  • {{user it}}, will give:
it Questo utente è di madrelingua italiana.


  • {{user OCA}}{{user clergy}}, will give:
  This user belongs to the Orthodox Church in America
  This user is a member of the clergy



  • {{user antiochian}}<br clear="all">{{user laity}}, will give:

LTY This user is a member of the laity



Creating new userboxes

The template:userbox can be used to create a custom userbox or a new userbox template.

Syntax

See the template's page for complete syntax, a simple form is:

{{Userbox |border color|info color|ID text or image link|Information text }}

Example

  • {{subst:userbox|red|yellow|?|User needs help}}, will give:
? User needs help


Boxes in tables tables

You can table your userboxes. For example:

Example

{| align=right border=1 | {{user OCA}} {{user laity}}| -| {{user it}} {{userbox|red|yellow|?|User needs help}}|}

would produce the following:

  This user belongs to the Orthodox Church in America
LTY This user is a member of the laity


it Questo utente è di madrelingua italiana.
? User needs help


Easy one column table of boxes

You can use the templates Template:Userboxtop, Template:Userboxbreak, and Template:Userboxbottom, to easily create a nice list of boxes. See the template's page for complete syntax, a simple form is:

{{Userboxtop|toptext = Help Page Example }}{{user OCA}} {{user laity}}{{Userboxbreak| toptext = More }}{{user it}} {{userbox|red|yellow|?|User needs help}}{{Userboxbottom}} will give:

Help Page Example
  This user belongs to the Orthodox Church in America
LTY This user is a member of the laity


More
it Questo utente è di madrelingua italiana.
? User needs help



External link