Template:Portal list item/sandbox
Appearance
![]() | This is the template sandbox page for Template:Portal list item (diff). See also the companion subpage for test cases. |
![]() | This template uses TemplateStyles: |
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.
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for Portal list item
Portal description for a list of portals
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | Name of portal
| String | required |
image | image | Portal logo image
| File | required |
alt | alt | Alt text for portal logo
| String | optional |
link | link | Portal page link
| Page name | required |
description | description | Description of portal
| Content | required |
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>