Jump to content

Template:Portal list item

From Wikitech
Template documentation

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