Template:Pbox
Appearance
This template is used on approximately 3,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template creates a floating box with links to as many as 20 Wikipedia portals.
This template is a simplified and 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.
Use
The complete syntax for this template is:
{{Pbox|portal01|...|portal20|align=|image=}}
where:
portal01|...|portal20
are up to 20 portal names without a prefix.align=
an optional floating box alignment parameter.align=left
align=right
(default)
image=
an alternative image without a prefix.
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 invokes Template:Pbox/1.
- 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.