Template:Portal bar/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>John of Reading
m (sued > suited)
meta>Emmette Hernandez Coleman
(Importing "Location" and "Image" sections form Template:Portal/doc)
Line 11: Line 11:
<nowiki>{{Portal bar|portal 1|portal 2|...|portal 18}}</nowiki>
<nowiki>{{Portal bar|portal 1|portal 2|...|portal 18}}</nowiki>
</pre>
</pre>
==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 [[Template:Portal/Images|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===
===Example===

Revision as of 14:48, 29 November 2012

This template is well suited for articles that have more portals than related articles in the "See also" section, which would make a regular {{portal}} sprawl into the next section.

It does not have widespread support so its usage should be considered carefully. For instance, it should not be used if there is only one portal that needs displaying.

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