Template:Portal bar/doc: Difference between revisions
meta>Zymurgy m Reverted edits by 77.114.67.73 (talk) identified as spam (HG) |
meta>Mr. Stradivarius update |
||
Line 14: | Line 14: | ||
</pre> | </pre> | ||
==Location== | ===Location=== | ||
Within articles, this template is meant to be placed at the bottom of the article in the ''See also'' section. | Within articles, this template is meant to be placed at the bottom of the article in the ''See also'' section. | ||
==Image== | ===Image=== | ||
The portal 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. | ||
===Example=== | ===Example=== |
Revision as of 22:16, 2 September 2013
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 sometimes images and infoboxes can push a regular {{portal}} outside of the See also section. This template doesn't have that problem.
Another 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, although a regular {{portal}} with {{clear}} would sometimes work better depending on how much whitespace {{portal}} with {{clear}} would cause.
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 name is found using Module:Portal. Please see Module:Portal#Image for instructions on how to add, update, or remove an image.
Example
{{Portal bar|Biology|Fungi|Plants|Science}}
This yields:
See also