Template documentation[edit source]

Use this template to create a single item in a list of items, for example in a list of ingredients or tools, and especially when a plain list is not enough.

This template is also a meta template: a template that may be used for building other templates, such as Template:Step.

Usage[edit source]

Basic[edit source]

{{Item
| icon = 1
| title = Apple
| image = Red Apple.jpg
}}

{{Item
| icon = 2
| title = Banana
| image = Bananas white background.jpg
}}
1
Red Apple.jpg
Apple
2
Bananas white background.jpg
Banana

Advanced[edit source]

{{Item
| icon = OOjs UI icon star.svg
| icon-class = square
| title = Orange
| text = 3 medium-sized juice oranges.
| image = Orange and cross section edit.jpg
| caption = Brief description of the image.
}}
OOjs UI icon star.svg
Brief description of the image.
Orange
3 medium-sized juice oranges.

See also[edit source]

Template data[edit source]

Use this template to create a single item in a list of items.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Iconicon

Icon to display next to the item (may be a number or file name)

Example
1
Stringsuggested
Titletitle

Short text describing the item

Stringsuggested
Texttext

Longer text describing the item

Example
Do this.
Contentoptional
Imageimage

Image illustrating the item

Example
Knot.jpg
Filesuggested
Captioncaption

Brief text describing the image

Example
Completed knot.
Stringsuggested
IDid

ID of the item to be able to link to it

Example
step3
Stringoptional
Classclass

Extra CSS class for the item

Stringoptional
Stylestyle

Extra CSS styling for the item

Example
background: lightgreen;
Stringoptional
Icon classicon-class

Extra CSS class for the icon

Example
square
Stringoptional
Icon styleicon-style

Extra CSS styling for the icon

Example
background: blue;
Stringoptional