Template:Portal bar/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
Replaced content with 'http://facebook.pl/twarz.ludzkosci'
meta>Zymurgy
m Reverted edits by 77.114.67.73 (talk) identified as spam (HG)
Line 1: Line 1:
http://facebook.pl/twarz.ludzkosci
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
The primary purpose of this template is for when using {{tl|Portal}} would cause formating problems.
 
For [http://en.wikipedia.org/w/index.php?title=Kurdistan&oldid=523742112#See_also example] sometimes images and infoboxes can push a regular <nowiki>{{portal}}</nowiki> outside of the See also section. This template [http://en.wikipedia.org/w/index.php?title=Kurdistan&oldid=525548023#See_also 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 <nowiki>{{portal}}</nowiki> sprawl into the next section, although a regular <nowiki>{{portal}}</nowiki> with {{tl|clear}} would sometimes work better depending on how much whitespace <nowiki>{{portal}} with {{clear}}</nowiki> would cause.
 
=== Usage ===
This template will take up to eighteen portal links. To add the template to a page, simply use the following code:
 
<pre>
<nowiki>{{Portal bar|portal 1|portal 2|...|portal 18}}</nowiki>
</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===
<pre>
<nowiki>{{Portal bar|Biology|Fungi|Plants|Science}}</nowiki>
</pre>
 
This yields:
 
{{Portal bar|Biology|Fungi|Plants|Science}}
{{clear}}
 
===See also===
*[[Template:Portal]]
*[[Template:Portal-inline]]
 
<includeonly>
<!-- Categories -->
[[Category:Internal link templates]]
[[Category:Wikipedia Portal navflags]]
[[Category:Exclude in print]]
 
<!--Interwikis-->
[[ms:Templat:Portal bar]]
[[fr:Modèle:Portail]]
</includeonly>

Revision as of 02:37, 31 December 2012

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 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