Template:Portal/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>QEDK
No edit summary
meta>MarcusBritish
+image
Line 7: Line 7:


==Usage==
==Usage==
{{Portal |Louisiana |Missouri |Arkansas |Texas |Minnesota |Kansas |Nebraska |Colorado |North Dakota |Montana |Wyoming |Saskatchewan |Alberta |Oklahoma |New Mexico |History}}
{{Portal |Louisiana |Missouri |Arkansas |Texas |Minnesota |Kansas |Nebraska |Colorado |North Dakota |Montana |Wyoming |Saskatchewan |Alberta |Oklahoma |New Mexico |History }}
This template can hold up to eighteen portal links. The example to the right is from the article [[Louisiana Purchase]].
This template can hold up to eighteen portal links.


<pre style="overflow:auto">
<pre style="overflow:auto">
{{Portal |Portal 1 |Portal 2 |... |Portal 18 }}
{{Portal |Portal 1 |Portal 2 |... |Portal 18 }}
</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==
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 15:59, 29 January 2012

This template is used to produce a link in a box to a portal or portals.

This template can be used to add multiple portal links to the "See also" section of an article.

Usage

This template can hold up to eighteen portal links.

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

Code
Result
{{Portal|Science}}

See also