Jump to content

Template:Portal list item noimage/doc

From Wikitech

Usage

Portal description for a list of portals without images (e.g. the Getting started portal on the Main Page). If images are needed use Template:Portal list item. 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 noimage

Portal description for a list of portals without images. If images are needed use [[Template:Portal list item]]. The two templates can be used interchangeably.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

Name of portal

Example
Getting started
Stringrequired
linklink

Portal page link

Example
Help:Getting Started
Page namerequired
descriptiondescription

Description of portal

Example
This wiki is not a Wikimedia SUL wiki, so users should create an LDAP account to edit here...
Contentrequired

Example

<div class="mw-tpl-portal-list"><div class="mw-tpl-portal-list-caption">Portals</div>
{{Portal list item noimage
|name=Getting started
|link=Help:Getting Started
|description=This wiki is not a Wikimedia SUL wiki, so users should create an LDAP account to edit here...
}}
{{Portal list item noimage
...
}}
{{Portal list item noimage
...
}}
</div>

Suggested CSS

See Template:Portal_list_item/styles.css