Template:Related portals
This template uses Lua: |
Purpose
[kulemba 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
[kulemba source]Similar to the Template:Portal inline box; simply provide a list of related portals to show, such as:
{{Related portals|Agriculture and Agronomy|Medicine|Schools|Spain}}
Lua error: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').
Wide and narrow screens
[kulemba source]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:
Lua error: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').
Image
[kulemba 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
[kulemba source]- {{Portal}}
- {{Portal 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