| This template uses Lua: |
This template creates a floating box with links to Wikipedia portals.
This template is compact version of Template:Portal. This template uses a 48 by 24 pixel frame for all portal images and an 8-point bold nonserif font for all portal links. If the designated portal does not exist, this template will redirect to the Portal Directory.
When used for more than one portal, this template will:
- Space each portal link equally regardless of image dimensions.
- Center each portal image.
- Center each portal link.
Usage
The complete syntax for this template is:
{{Pbox|portal1|portal2|...|align=}}
where:
portal1|portal2are portal names without a prefix. The box supports an unlimited number of portals.
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 |
|---|---|---|
{{Pbox}} |
linked pages | |
{{Pbox |
linked pages | |
{{Pbox |
linked pages | |
{{Pbox |
linked pages | |
{{Pbox |
linked pages | |
{{Pbox |
linked pages |
See also
- This template is compatible with Template:WPbox, Template:WGbox, Template:TFbox, 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 template, please post a comment on the template talk page with a
{{reply to}}one or more of the previous editors.