• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.213
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Pbox

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Globo terraqueo 3.gifPortal
Directory
Template documentation[view] [edit] [history] [purge]

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:

  1. Space each portal link equally regardless of image dimensions.
  2. Center each portal image.
  3. 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}}
Globo terraqueo 3.gifPortal
Directory
linked pages
{{Pbox|Haiti}}
Flag of Haiti.svgPortal
Directory
linked pages
{{Pbox|Republic of the Congo}}
Flag of the Republic of the Congo.svgPortal
Directory
linked pages
{{Pbox|Australia|New Zealand}}
Flag of Australia.svgPortal
Directory
Flag of New Zealand.svgPortal
Directory
linked pages
{{Pbox|Africa|Asia|Europe}}
Africa (orthographic projection).svgPortal
Directory
Asia (orthographic projection).svgPortal
Directory
Europe (orthographic projection).svgPortal
Directory
linked pages
{{Pbox|?dFb6%}}
Portal-puzzle.svgPortal
Directory
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 userbox template, please post a comment on the template talk page.
The above documentation is transcluded from Template:Pbox/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Pbox&oldid=26721"
Categories:
  • Internal link templates
  • Wikipedia Portal navflags
  • Exclude in print
Last edited on 21 October 2021, at 20:55

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 21 October 2021, at 20:55.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop