Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Pbox/doc

From Wikipedia, the free encyclopedia

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:

  1. Space each portal link equally regardless of image dimensions.
  2. Center each portal image.
  3. Center each portal link.

Usage

[edit]

The complete syntax for this template is:

{{Pbox|portal1|portal2|...|align=}}

where:

  • portal1|portal2 are portal names without a prefix. The box supports an unlimited number of portals.

Named arguments

[edit]
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

[edit]
Wikitext userbox where used
{{Pbox}} linked pages
{{Pbox|Haiti}} linked pages
{{Pbox|Republic of the Congo}} linked pages
{{Pbox|Australia|New Zealand}} linked pages
{{Pbox|Africa|Asia|Europe}} linked pages
{{Pbox|?dFb6%}} linked pages

See also

[edit]