Template:Portal bar/doc
This is a documentation subpage for Template:Portal bar. It may contain usage information, categories and other content that is not part of the original template page. |
The primary purpose of this template is for when using {{Portal}} would cause formating problems. For example: this template is well suited for articles that have more portals than related articles in the "See also" section, which would cause a regular {{portal}} sprawl into the next section.
Usage
This template will take up to eighteen portal links. To add the template to a page, simply use the following code:
{{Portal bar|portal 1|portal 2|...|portal 18}}
Location
Within articles, this template is meant to be placed at the bottom of the article in the See also section.
Image
The portal image defaults to one that is specified in Template:Portal/Images/PortalName for the portal, or a generic image. There is a list of all such images. Have in mind that the "PortalName" variable should only have an upper case letter at the first word, the second and later words should be written in lower case, regardless of how is the name of the portal actually written. For example, Portal:Buenos Aires is written with two capital letters, but the subpage to host the image is Template:Portal/Images/Buenos aires, with only one capital letter.
Example
{{Portal bar|Biology|Fungi|Plants|Science}}
This yields:
See also