(Redirected from Template:WGbox)
This template creates a floating box linked to a designated WikiProject work group.
Use
The complete syntax for this template is:
{{WGbox|wpname|wgname|label=|image=|ilink=|align=|talign=|width=}}
where:
wpname
is the required parent WikiProject base name.wgname
is the required work group base name.label=
an optional formatted label. (defaultlabel={{{wgname|}}}<br/>work group
)image=
an optional file name parameter of the image to display- The default image file names are stored in directory Module:Portal/images.
- Placing the 11 characters
{{!}}border
at the end of the image file name will display a one pixel border around the image.
ilink=
an optional link for the image.- The image link defaults to the image file.
align=
an optional floating box alignment parameter.align=left
align=right
(default)
talign=
an optional text alignment parameter.talign=left
talign=center
(default)talign=right
talign=justify
width=
an optional floating box maximum width parameter in pixels. (defaultwidth=200
)
Examples
Wikitext | userbox | where used |
---|---|---|
{{WGbox
|
linked pages | |
{{WGbox
|
linked pages | |
{{WGbox
|
linked pages | |
{{WGbox
|
linked pages | |
{{WGbox
|
linked pages | |
{{WGbox
|
linked pages | |
{{WGbox}}
|
linked pages |
Restriction
This template should not be placed in the main article namespace {{NS:0}}
.
See also
- This template is compatible with Template:WPbox, Template:TFbox, Template:Pbox, Template:NBbox, and Template:Dbox.
- This template employs image names from directory Module:Portal/images.
- This template is invoked by Template:Plinks.
- For help with this userbox template, please post a comment on the template talk page.