සැකිල්ල:Related portals/doc
This is a documentation subpage for සැකිල්ල:Related portals. It may contain usage information, categories and other content that is not part of the original සැකිල්ල page. |
මෙම සැකිල්ල ලුවා භාවිතා කරයි: |
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 does not require hardcoding icons, etc.
Usage
[සංස්කරණය]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}}
Wide and narrow screens
[සංස්කරණය]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
[සංස්කරණය]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
[සංස්කරණය]- {{Portal}}
- {{Portal bar}}
Main portal creation templates
- {{Basic portal start page}}—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 portal component with nominate}}—Used on the portal main page to randomly display articles from the portal sub-pages, adding the option to nominate other Featured foo articles.
- {{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.
- {{Subpage}}—Used to output a box containing a link to subpage.
- {{Numbered subpages}}—Used to create article links on portal sub-pages with 50 links.
- {{Numbered subpages|max=25}}—As hereinbefore, but with 25 links.
- {{Numbered subpages|max=75}}—As hereinbefore, but with 75 links.
- {{Numbered subpages|max=100}}—As hereinbefore, but with 100 links.
- {{Random box-header subpage}}—Used to transclude a numbered subpage.
Main portal page formatting templates
- {{Box-header}}
- {{Box-header-blank}}
- {{Box-header-plain}}
- {{Box-header-round}}
- {{Box-header-square}}
- {{Box-header-watch}}
- {{Box-footer}}
Templates that configure links
- {{Portal}}
- {{Portal bar}}
- {{Portal-inline}}
- {{Portals}}
- {{Portal-image}}
- {{Portals browsebar}}
- {{Related portals}}
- {{Related portals2}}
- {{Wikimedia for portals}}
These templates are used to format the articles on the sub-pages
{{Selected X}}—Generic template for situations not listed hereafter.
- {{Selected article}}
- {{Selected biography}}
- {{Selected business}}
- {{Selected DYK}}
- {{Selected ingredient}}
- {{Selected location}}
- {{Selected picture}}
- {{Selected product}}
- {{Selected publication}}
- {{Selected quote}}
- {{Selected recipe}}
Related templates