Şablon:Related portals
Asayış
[bıvurne] Dokumantasyon
Purpose
[çımeyi bıvurne]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
[çımeyi bıvurne]- 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
[çımeyi bıvurne]{{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
| Desktop computer clipart - Yellow theme.svg | Information technology
| Wave.svg | Java
}}
| Apple Inc. | Computer security | Computer science | Information technology | Java |
See also
[çımeyi bıvurne]- 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}}{{Numbered subpages}}- used to create article links on portal sub-pages with 50 links.{{25 Numbered subpages}}- As above, but with 25 links.{{75 Numbered subpages}}- As above, but with 75 links.
{{Random box-header subpage}}
- Main portal page formatting templates -
{{Boxheader}}{{Box-header}}{{Box-header1}}{{Box-header2}}{{Boxfooter}}{{Box-footer}}{{Box-footer2}}{{Box-Header II}}{{Box-header-blank}}{{Box-header-groovy}}{{Box-header-health}}{{Box-header-round}}{{Box-header-square}}{{Box-header-watch}}{{Box-header-plain}}
- Templates that configure links -
{{Browsebar}}{{Portals}}{{Related portals}}{{Wikimedia for portals}}
- These templates are used to format the articles on the sub-pages -
{{Selected article}}{{Selected biography}}{{Selected business}}{{Selected DYK}}{{Selected ingredient}}{{Selected location}}{{Selected quote}}{{Selected picture}}{{Selected product}}{{Selected publication}}{{Selected recipe}}
- Related templates