Template:Related portals2/doc

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search

{{#invoke:Message box|mbox}}

Purpose

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

Usage

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


{{Related portals2|Literature|China|James Bond|Middle-earth|24}}


Wide and narrow screens

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

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