Template:Portal/doc

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
This is a documentation subpage for Template:Portal.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:Portal.

Description

This template produces boxes with portal links. These boxes are typically placed under the "See also" section in articles relating to broad subjects. Portal:Portals has a list of Uncyclopedia portals.

Usage

{{Portal|name1|...}}

Example

{{Portal|Comedy|Theatre}}

Images

The images displayed are looked up in a local database under the first letter of the portal name. For example, the current image for comedy is: File:Comedy potatohead.png, which can be changed by editing a line in Module:Portal/images/c.

If an image doesn't exist for a portal name, the fallback image is File:Portal-puzzle.svg.

History

There was an old template named Template:Portal used in only one place; it was moved to Template:WikiProject Everything Portal.

In its place, wikipedia:Template:Portal was set up.