Raft Wiki
Raft Wiki
1,007
pages
About the Documentation template Documentation - Template:ItemViewEditHistoryPurge

About

This template will insert a clickable Icon of Raft Material with 35px size which links to the Material Page.

Instead of typing

[[File:Wool.png|35px|link=Wool]]

you just have to type

{{Item|Wool}}

Usage

{{Item|ItemName|ItemAmmount}} 

Examples

Example 1

The code {{Item|Wool}} will produce this Icon: Wool.png

Example 2

It can be used to quickly mention the required materials for an craftable item:
To craft a Simple Bed.png you need 10xPalm Leaf.png, 6xPlank.png, 4xPlastic.png and 3xNail.png.

TemplateData

Provides an easy way to link to images. On page "Raft Wiki:Style Guide#Raft_Wiki:Style_Guide#ItemText_and_Item" you are able to learn about usage of this template

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Item name1

Add item name here.

Stringrequired
Item amount2

A number of items. Not required, but suggested. (Note: If you want to put no, put 0 first and then change it to "No" in Source Editor)

Numbersuggested

The above was transcluded from Template:Item/doc