Template:Pbox/doc
This is a documentation subpage for Template:Pbox. It may contain usage information, categories and other content that is not part of the original template page. |
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
lembaThe 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
lembaWikitext | userbox | where used |
---|---|---|
{{Pbox}}
|
linked pages | |
{{Pbox
|
linked pages | |
{{Pbox
|
linked pages | |
{{Pbox
|
linked pages | |
{{Pbox
|
linked pages | |
{{Pbox
|
linked pages |
See also
lemba- 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 userbox template, please post a comment on the template talk page.