সাঁচ:Related portals

অসমীয়া ৱিকিপিডিয়াৰ পৰা

Purpose[সম্পাদনা কৰক]

This template simplifies the creation and maintenance of the "Related portals" box within portal pages. It creates a line of 1 to 10 clickable links to related portals.

Usage[সম্পাদনা কৰক]

  • portalcount - Required; the number of portal links in the line. The template supports up to 10, but this will be too many for users with a narrow monitor.
  • size - Optional; the size of each portal image. This defaults to 60x60px which seems about right
  • These must be followed by pairs of unnamed parameters:
    • An image name, with no "File:" or "Image:" prefix. Optional; if blank then a default image will be used
    • The name of the portal to be linked to, with no "Portal:" prefix

If the portal name is too long to display neatly, then consider creating a redirect from a shorter name to the portal page, and using that shorter name in the list passed to this template.

Example[সম্পাদনা কৰক]

{{Related portals|portalcount=5
| Apple Campus One Infinite Loop Sign.jpg   | Apple Inc.
| Circle of spam.svg                        | Computer security
| <!--Let's pretend this was deleted -->    | Computer science
| Computer-aj aj ashton 01.svg              | Information technology
| Wave.svg                                  | Java
}}
সাঁচ:Related portals 2সাঁচ:Related portals 2সাঁচ:Related portals 2সাঁচ:Related portals 2সাঁচ:Related portals 2সাঁচ:Related portals 2সাঁচ:Related portals 2সাঁচ:Related portals 2সাঁচ:Related portals 2সাঁচ:Related portals 2

See also[সম্পাদনা কৰক]

Main portal creation templates -
Main portal page formatting templates -
Templates that configure links -
These templates are used to format the articles on the sub-pages -
Related templates