Template:Portal/doc: Difference between revisions
meta>Yahia.barie No edit summary |
meta>Frietjes mNo edit summary |
||
| Line 37: | Line 37: | ||
* [[Template:Portal bar]] | * [[Template:Portal bar]] | ||
* [[Template:Portal-inline]] | * [[Template:Portal-inline]] | ||
* [[Template: | * [[Template:Portal frameless]] | ||
<includeonly> | <includeonly> | ||
Revision as of 20:04, 12 July 2012
| This is a documentation subpage for Template:Portal. It may contain usage information, categories and other content that is not part of the original template page. |
| This template is used on approximately 9,340,000 pages, or roughly 135677% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
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}}
|
Maintenance
The following tracking category list instances where the template is used incorrectly:
See also