قالب:Related portals2/doc
![]() | هذه صفحة توثيق فرعية لـ قالب:Related portals2. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
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|الأدب|الصين|جيمس بوند|قلب الأرض|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
- Template:Portal
- Template:Related portals
- Template:Related portal item (subitem of this template)
- Main portal creation templates
- {{Box portal skeleton}} - 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.
- {{25 numbered subpages}} - As hereinbefore, but with 25 links.
- {{75 numbered subpages}} - As hereinbefore, but with 75 links.
- {{100 numbered subpages}} - As hereinbefore, but with 100 links.
- {{Random box-header subpage}} - Used to transclude a numbered subpage.
- Main portal page formatting templates
3
- Templates that configure links
3
- These templates are used to format the articles on the sub-pages
{{Selected X}} - Generic template for situations not listed hereafter.
3
- القوالب المتعلقة