Template:Portal

Summary

Other mobile-friendly versions

For versions that are visible in print and mobile versions of Wikipedia pages see:

  • {{Portal-inline}}
  • {{Portal bar}}
  • Mobile version of Template:Portal
  • Desktop version of Template:Portal

See also

  • {{Subject bar}}

Portal content templates

  • To display "selected content" on the portal main page
    • {{Transclude list item excerpts as random slideshow}}—transcludes excerpts from recognized content lists, which are populated by a bot.
    • {{Transclude random subpage}}—transcludes random portal subpage.
    • {{Random portal component}}—transcludes random portal subpage.
    • {{Random subpage}}—transcludes random portal subpages.
    • {{Portal pictures}}—transcludes a slideshow of pictures, utilizing a single-page gallery.
  • To organize "selected content" on subpages
    • {{Numbered subpages}}—outputs an automatic index, transcluding numbered subpages.
    • {{Portal subpage}}—outputs a box linking to and transcluding a single subpage.
    • {{Portal subpage inline}}—outputs an unordered list item linking to and transcluding a single subpage.

Main portal page formatting templates

  • {{Box-header}}
  • {{Box-header-plain}}
  • {{Box-header-round}}
  • {{Box-header-square}}
  • {{Box-header-watch}}
  • {{Box-footer}}

Templates that configure links

  • {{Portal}}
  • {{Portal bar}}
  • {{Portal-inline}}
  • {{Pbox}}
  • {{Portals}}
  • {{Portals browsebar}}
  • {{Related portals}}
  • {{Wikimedia for portals}}

Selected page templates, used on subpages of older portals

  • {{Selected article}}
  • {{Selected biography}}
  • {{Selected business}}
  • {{Selected DYK}}
  • {{Selected ingredient}}
  • {{Selected location}}
  • {{Selected picture}}
  • {{Selected product}}
  • {{Selected publication}}
  • {{Selected quote}}
  • {{Selected recipe}}
  • {{Selected X}}

Related templates

  • {{Project template list}}

TemplateData

TemplateData documentation used by VisualEditor and other tools
See a monthly parameter usage report for Template:Portal in articles based on its TemplateData. TemplateData for Portal A template to create a list of portalsTemplate parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Portal (1)1

Inserts the portal image and text. Further portals can be added to the template by increasing the number

Stringrequired
Portal (2)2

Inserts the portal image and text

Stringoptional
Portal (3)3

Inserts the portal image and text

Stringoptional
Portal (4)4

Inserts the portal image and text

Stringoptional
Portal (5)5

Inserts the portal image and text

Stringoptional
Portal (6)6

Inserts the portal image and text

Stringoptional
Sideleft

If set to yes, the portal appears on the left side of the page instead of the right.

Default
no
Stringoptional
Margin sizemargin

Alters the margin size. Any valid CSS margin is accepted

Numberoptional
Line breakbreak

If set to yes, a line break is inserted after the portal name and before the word portal

Stringoptional
redlinkredlink

Allow links to non-existent portals

Default
false
Stringoptional
nominimumnominimum

Do not check for at least one portal

Default
false
Stringoptional
borderborder

Put border around portal links

Default
true
Stringoptional
trackingtracking

In case of warning, add to tracking category

Default
true
Stringoptional
typetype

no description

Unknownoptional