Template:Regbox/doc

P R O T O T Y P E T E M P L A T E

This regional userbox template creates a customizable userbox on your user page. This template is normally invoked by other templates as a metatemplate, but it may also be used as a stand-alone template. The template syntax is:

 

where:
 * the option number (default= )
 * the required region name as listed in Wikipedia
 * the text "the" if the word "the" normally precedes the region name (default= )
 * the adjective form of the region name (default= – required for options 41-43, optional for options 34-35, see below)
 * the fully formatted region title to be used in the userbox (default= )
 * an optional regional demonym (only if preferred to the adjective for options 34-35, e.g., "This user is a Welshman" versus "This user is Welsh")
 * the text "an" if the optional regional demonym begins with a vowel sound (default=a)
 * the nation name as listed in Wikipedia only if the region is a subdivision of a sovereign state (default= )
 * the national adjective only if the region is a subdivision of a sovereign state (default= )
 * the type of regional WikiProject (required for option 61):
 * – a devoted regional WikiProject (default)
 * – a WikiProject regional task force
 * – a WikiProject regional work group
 * the type of regional project membership (required for option 61):
 * (default)
 * the responsible regional WikiProject root name (default=  – required for option 61)
 * the WikiProject regional task force or work group root name (default= – required for option 61 if   or  )
 * an optional horizontal alignment of the userbox text:
 * (default)
 * an optional userbox background color (default= )
 * an optional userbox image (default= )
 * an optional maximum width of the userbox image in pixels (default= , i.e., limited only by image height of 45 pixels)
 * an optional userbox text. The default userbox text is shown in the table below for each option number:
 * an optional userbox background color (default= )
 * an optional userbox image (default= )
 * an optional maximum width of the userbox image in pixels (default= , i.e., limited only by image height of 45 pixels)
 * an optional userbox text. The default userbox text is shown in the table below for each option number:

Override parameters
The following additional parameters may be used to override the normal userbox settings: See Template:Userbox for other default userbox settings.
 * an optional userbox border color (default= )
 * an alternate text or image to the default flag image
 * an optional horizontal alignment of the  (dafault= )
 * an optional  background color (default=  if   is specified, otherwise  )
 * an optional width of the  in pixels (default= )
 * an optional  background color (default= )
 * an optional  font color (default= )
 * an optional  line height (default=  for option 61, otherwise  )
 * an optional  font size in pixels (default= )
 * an optional  emphasis font size in pixels (default=, used for option 61 only)

Examples
Placing the following Wikitext on your user page:

produces the following userbox:

The following userboxes demonstrate each of this template's options: