Template:Related portals
(Redirected from Template:Related portals2)
| This template, module and/or subpages are based on or ported over completely to BattleTechWiki, using the Creative Commons Licensed content from this page on Wikipedia (The original authors of this page are shown on here). |
| This template uses Lua: |
Purpose[edit]
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]
Similar to the Template:Portal inline box; simply provide a list of related portals to show, such as:
{{Related portals|BattleMechs|Combat vehicles}}
Wide and narrow screens[edit]
This system uses CSS flexbox to fit within the browser's window, which allows it to scale to wide screens and narrow ones, like on mobile:
Image[edit]
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]
- {{Portal}}
- {{Portal bar}}
Portal content templates
- To display "selected content" on the portal main page
- {{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}}
Related templates

