Template:Portal

From Wikipedia, the free encyclopedia

[edit] Template documentation
This template is used on 1,200,000 pages
To avoid any disruptions and to save server load, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. As a courtesy to other users, please discuss any changes at the talk page before implementing them.

This template is used to link an article to its related portal.

Optional parameters

{{portal|name|image|size|boxsize|break=yes|left=yes}}

The units assumed for size (the width of the image) and boxsize (the width of the box containing the image and portal link) are pixels (px).

Location

Within articles, this template is meant to be placed at the bottom of the article in the "See also" section.

Examples

Code
Result
{{portal}}
{{portal|Science}}
{{portal|Spaceflight|RocketSunIcon.svg}}
{{portal|Spaceflight|RocketSunIcon.svg|size=50}}
{{portal|Spaceflight|RocketSunIcon.svg|boxsize=50}}
{{portal|Spaceflight|RocketSunIcon.svg|break=yes}}
{{portal|Spaceflight|RocketSunIcon.svg|break=yes|left=yes}}