This multiuse regional user master template creates a userbox that identifies the association of a user with a body of water and declares appropriate regional user categories when placed on the user page.
This template is most commonly invoked by one of the User interest Body of Water templates which supply the parameters for this template to function as a metatemplate.
The complete syntax of this template is:
{{user in body of water|option=|water=|simple=|inflect=|the=|title=|adj=|main=|member=|nocat=|ci=|cp=|cion=|cpon=|align=|color=|image=|width=|border-c=|id=|id-a=|id-c=|id-w=|info=|info-c=|info-fc=|info-lh=|info-s=|wp-s=}}
where:
option=
the option number (default=1
, see the Options table below)
water=
the required body of water name as listed in Wikipedia
simple=
the simplified form of the body of water name if different (default={{{water|}}}
)
inflect=
the inflected form of the body of water name if different (default={{{water|}}}
)
the=the
places a "the " before the body of water name (default=null
)
wrap=wrap
allows a multi-word water name to break between lines (default=null
)
title=
the fully formatted water title to be used in the userbox (default={{#if:{{{the|}}}|the }}[[{{{water|}}}|'''{{#if:{{{wrap|}}}||<span style="white-space:nowrap">}}{{{inflect|{{{simple|{{{water|}}}}}}}}}{{#if:{{{wrap|}}}||</span>}}''']]
)
activity=
is an optional verb phrase for option 1 (default=is interested in
)
project=
the root name of the responsible regional WikiProject (default={{{simple|{{{water|}}}}}}
)
member=
the type of regional WikiProject membership:
member=member
(default)
member=participant
member=volunteer
member=
other
ci=
the root name of the interest in body of water user category
cp=
the root name of the body of water WikiProject membership category
cion=yes
declares the user page a member of the interest in body of water user category
cpon=yes
declares the user page a member of the body of water WikiProject membership category
nocat=true
disables the declaration of any user categories
option
|
userbox example
|
default user categories
|
0
|
none
|
Option 0 allows user categories to be declared without displaying a userbox
|
1
|
|
ci
|
2
|
|
ci
|
3
|
|
ci
|
4
|
|
ci
|
5
|
|
ci
|
6
|
|
none
|
7
|
|
8
|
|
9
|
|
10
|
|
11
|
|
12
|
|
13
|
|
14
|
|
15
|
|
16
|
|
17
|
|
18
|
|
19
|
|
98
|
|
cp & ci
|
99
|
|
none
|
Userbox override parameters
edit
The following additional parameters may be used to override this template's default userbox settings:
float=
an optional horizontal float of the userbox:
float=left
(default)
float=right
float=none
bodyclass=
an optional bodyclass
info-class=
an optional info-class
align=
an optional horizontal alignment of the userbox text:
align=left
align=center
(default)
align=right
align=justify
color=
an optional userbox background color (default= #3377BB
, see web colors)
image=
an optional userbox image (default=Flag of {{#if:{{{the|}}}|the }}{{{water|}}}.svg
)
width=
an optional maximum width of the userbox image in pixels (default=null, i.e., limited only by image height of 45 pixels)
border-c=
an alternate userbox border color (default=#3377BB
)
d-s=
an alternate demonym
emphasis font size in pixels (default=11
, used for options 55 and 56 only)
id=
an alternate text or image to the default flag image
id-a=
an alternate horizontal alignment of the id
(default=left
)
id-a=left
(default)
id-a=center
id-a=right
id-c=
an alternate id
background color (default=#3377BB
)
id-w=
an alternate width of the id
in pixels (default=45
)
info=
an alternate userbox text (see the Options table above for the defaults)
info-c=
an alternate info
background color (default=#3377BB
)
info-class=
an optional info-class
info-fc=
an alternate info
font color (default=white
)
info-lh=
an alternate info
line height (default=125%)
info-s=
an alternate info
font size in pixels (default=10
)
See Template:Userbox for other default userbox settings.
- This template should be invoked from the user page. This template will only declare user categories from the user namespace.