Template:Portal list item/doc

From Wikitech
Jump to navigation Jump to search
This documentation subpage contains instructions, categories, or other information that is not part of the template. To view the Template page itself, see Template:Portal list item.

Usage

For creating lists that point to portals (e.g. on Main Page). If no image is needed use Template:Portal list item noimage. The two templates can be used interchangeably.

Example

<div class="mw-tpl-portal-list"><div class="mw-tpl-portal-list-caption">Portals</div>
{{Portal list item
|name=Toolforge
|image=File:Toolforge logo.svg
|alt=Wikimedia Toolforge logo
|link=Portal:Toolforge
|description='''Toolforge''' (or '''Tools''') is a hosting environment for community developers working on tools and bots that help users ...
}}
{{Portal list item
...
}}
{{Portal list item
...
}}
</div>

Suggested CSS

See Template:Portal_list_item/styles.css