Redirected from Template:Tool

Template:Item

From Appropedia

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
|text = Apple
|image = Red Apple.jpg
}}

{{Item
|icon = 2
|text = 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-style = width:70px; height:70px; background:aquamarine;
|text = Orange
|details = 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
Texttext

Brief text describing the item

Example
Do this.
Stringsuggested
Detailsdetails

Longer text describing the item

Contentsuggested
Imageimage

Image illustrating the item

Example
Knot.jpg
Filesuggested
Captioncaption

Brief text describing the image

Example
Completed knot.
Stringsuggested
Stylestyle

Extra CSS of the item

Example
background: lightgreen;
Stringoptional