Template:Userbox table userbox/doc

The following ten userbox table templates can be used to create a userbox table that displays a list of userboxes along with their invoking Wikitext and a link to a list of the pages that invoke each userbox template. Templates can also display text and boxes that link to pages, sections, categories, projects, portals, and noticeboards. See the userbox table example below to see how these templates work together.
 * 1) Userbox table top
 * 2) Userbox table userbox
 * 3) Userbox table category
 * 4) Userbox table text
 * 5) Userbox table link
 * 6) Userbox table regional link
 * 7) Userbox table project link
 * 8) Userbox table portal link
 * 9) Userbox table noticeboard link
 * 10) Userbox table bottom

Userbox table top
Template:Userbox table top (formerly Template:yytop) always comes first in a userbox table to create the three column headings and to size the columns. It may also be used to create a centered table title.   where:
 *   is the optional table title.
 *   is the optional column headings switch.
 *   creates three column headings (default)
 *   creates no column headings.

Example:   creates:

Userbox table userbox
Template:Userbox table userbox (formerly Template:yy) creates a single row in the userbox table with the userbox Wikitext, the userbox, and a link to the list of pages that link to the userbox template.   where: A zero-width space may be used to represent a missing parameter.
 *   is the required template name.
 *   are up to 12 optional template parameters.
 *   is an optional comment.

Examples:   creates:

  creates:

Userbox table category
Template:Userbox table category (formerly Template:yycat) creates a link to a category. This may be used to show how to link to a category without using a userbox.   where:
 *   is the required category name.
 *   is the optional link to the category. (default=no)

Example:   creates:

Userbox table text
Template:Userbox table text (formerly Template:yytxt) creates a row of text in the userbox table.   where: If all three optional text parameters are blank or missing, a blank row will be inserted.
 *   is the optional text for the table or first column.
 *   is the optional text for the second column
 *   is the optional text for the third column
 *   is the optional format parameter:
 *   creates a line of left-justified text (default)
 *   creates a line of table-centered text
 *   creates a line of right-justified text
 *   creates a line of left-justified text for each column
 *   creates a line of column-centered text for each column
 *   creates a line of right-justified text for each column
 *   recreates the column headings of Template:Yytop

Example:   creates:

Userbox table link
Template:Userbox table link (formerly Template:yytab) creates a link to another table. It may be used to break an overly large table into subtables.   where:
 *   is the required name of a country, region, WikiProject, portal, or noticeboard. (See Module:Portal/images)
 *   is the optional page name of the subtable. (default=Wikipedia:Userboxes/Location/ )
 *   is the optional description of the subtable. (default=  userbox templates)
 *   is the optional image file. (default image file from Module:Portal/images)
 *   is the optional image size. (default= )
 *   is the optional image space width. (default= )
 *   is the optional font size. (default= )
 *   is the optional stand alone switch.
 *   pointer is part of a table. (default)
 *   pointer in its own table.

Examples:   creates:

  creates:

Userbox table regional link
Template:Userbox table regional link (formerly Template:yyreg) creates a link to a city or regional table.   where:
 *   is the required name of a nation or region. (See Module:Portal/images)
 *   is the optional separator.
 *   for a section. (default)
 *   for a subpage.
 *   is the optional section or subpage. (default= )
 *   is the optional text. (default= of .)
 *   is the optional image file. (default image file from Module:Portal/images)
 *   is the optional font size. (default= )
 *   is an optional switch
 *   use separator and subsection. (default)
 *   ignore separator and subsection.
 *   is the optional stand alone switch.
 *   pointer is part of a table. (default)
 *   pointer in its own table.

Example:   creates:

Note: See Template:Userbox table regional link for additional information.

Userbox table project link
Template:Userbox table project link (formerly Template:yywp) creates a link to a WikiProject, Work Group, or Task Force.   where:
 *   is the required WikiProject base name.
 *   an optional project group base name if any.
 *   an optional project group type if any.
 *   an optional WikiProject box label. (default=WikiProject   or    )
 *   is an optional WikiProject folder name.
 *   is the optional image size. (default= )

Examples:   creates:

and   creates:

Userbox table portal link
Template:Userbox table portal link (formerly Template:yyp) creates a link to a portal.   where:
 *   is the required portal name.
 *   is the optional image size. (default= )

Example:   creates:

Userbox table noticeboard link
Template:Userbox table noticeboard link (formerly Template:yynb) creates a link to a noticeboard.   where:
 *   is the required noticeboard base name.
 *   is the optional image size. (default= )

Example:   creates:

Userbox table bottom
Template:Userbox table bottom (formerly Template:yyend) always comes last and completes the userbox table.   where:
 *   is an optional comment to appear at the bottom right of the table.

Example
The following Wikitext:

creates the following table: