Template:User in body of water/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:User in body of water. It contains usage information, categories and other content that is not part of the original template page. |
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.
Use
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 requiwed body of water name as listed in Wikipediasimple=
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 categorycp=
the root name of the body of water WikiProject membership categorycion=yes
declares the user page a member of the interest in body of water user categorycpon=yes
declares the user page a member of the body of water WikiProject membership categorynocat=true
disables the declaration of any user categories
Options table
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 |
| |||
98 |
|
cp & ci | ||
99 |
|
none |
Userbox override parameters
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 optionalbodyclass
info-class=
an optionalinfo-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
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 alternatedemonym
emphasis font size in pixels (default=11
, used for options 55 and 56 only)id=
an alternate text or image to the default flag imageid-a=
an alternate horizontal alignment of theid
(default=left
)id-a=left
(default)id-a=center
id-a=right
id-c=
an alternateid
background color (default=#3377BB
)id-w=
an alternate width of theid
in pixels (default=45
)info=
an alternate userbox text (see the Options table above for the defaults)info-c=
an alternateinfo
background color (default=#3377BB
)info-class=
an optionalinfo-class
info-fc=
an alternateinfo
font color (default=white
)info-lh=
an alternateinfo
line height (default=125%)info-s=
an alternateinfo
font size in pixels (default=10
)
See Template:Userbox for other default userbox settings.
Restriction
- This template should be invoked from the user page. This template will only declare user categories from the user namespace.
See also
- This template invokes Template:Userbox.
- This template is invoked by multiuse regional user templates.
- This template is similar to Template:User in region.