Template:WPbox
Appearance
This template creates a floating box with links to WikiProjects.
This template uses a 48 by 24 pixel frame for all WikiProject images and an 8-point bold nonserif font for all WikiProject links. If the designated WikiProject does not exist, this template will redirect to the WikiProject Directory.
When used for more than one WikiProject, this template will:
- Space each WikiProject link equally regardless of image dimensions.
- Center each WikiProject image.
- Center each WikiProject link.
Usage
The syntax for this template is:
{{WPbox|wp1|wp2|...}}
where:
wp1|wp2|...are WikiProject names. The number of projects is unlimited
Named arguments
- align
- how to place box on page, default "right"
- color
- background color for box
- size
- font size. If bare number, interpreted as pt
- lh
- line height
- width
- width of box. If bare number, interpreted as px
- talign
- alignment of link text, defaults to "center"
Examples
| Wikitext | userbox | where used |
|---|---|---|
{{WPbox}}
|
linked pages | |
{{WPbox
|
linked pages | |
{{WPbox
|
linked pages | |
{{WPbox
|
linked pages | |
{{WPbox
|
linked pages | |
{{WPbox
|
linked pages |
See also
- This template is compatible with Template:WGbox, Template:TFbox, Template:Pbox, Template:NBbox, and Template:Dbox.
- This template employs WikiProject images from directory Module:Portal/images.
- For help with this userbox template, please post a comment on the template talk page.
- {{portal}}
- {{Portal and project}}
- {{NBbox}}