Template:Related portals2

Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Purpose[edit source]

Easy-to-use template for creating icon tables of related portals for portal pages. Friendly to wide and narrow screens alike, including mobile, and does not require hardcoding icons etc.

Usage[edit source]

Similar to the Template:Portal inline box; simply provide a list of related categories to show, such as:

{{Related portals2|Medicine|Agriculture and Agronomy|Spain|Pharmacy and Pharmacology|Schools}}

Wide and narrow screens[edit source]

This system uses floats to fit within the browser's window, which allows it to scale to wide screens and narrow ones like on mobile:

Image[edit source]

The portal image name is found using Module:Portal. Please see Module:Portal#Image for instructions on how to add, update, or remove an image.

See also[edit source]

Main portal creation templates

  • {{Basic portal start page}} (deleted)—Used to create portal main pages.
  • {{Random portal component}}—Used on the portal main page to randomly display articles from the portal sub-pages.
  • {{Random subpage}}—Used on the portal main page to randomly display articles from the portal sub-pages. This template is best used for creating randomly populated Did you know... sections on the portal main page that are intended to include multiple Did you know... facts.
  • {{Portal subpage}}—Used to output a box containing a link to subpage.
  • {{Numbered subpages}}—Used to create article links on portal sub-pages.
  • {{Random box-header subpage}}—Used to transclude a numbered subpage.

Main portal page formatting templates

Templates that configure links

These templates are used to format the articles on the sub-pages

{{Selected X}}—Generic template for situations not listed hereafter.

Related templates

 

External links[edit source]