Template:Portal/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Portal (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.


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

[edit] 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).

[edit] Location

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

[edit] Examples

Code
Result
{{portal}}
Portal/doc 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}}