Template:Item List: Difference between revisions

From Vintage Story Wiki
mNo edit summary
mNo edit summary
 
Line 2: Line 2:
<noinclude>
<noinclude>
==Description==
==Description==
The purpose of this template is to link an item, complete with icon, to a page.
The purpose of this template is to link an item with an icon (if stated), to a page.


''Note: The correct capitalization is '''I'''tem '''L'''ist. Do not forget the second capitalized letter!''
''Note: The correct capitalization is '''I'''tem '''L'''ist. Do not forget the second capitalized letter!''

Latest revision as of 21:04, 15 April 2021


Description

The purpose of this template is to link an item with an icon (if stated), to a page.

Note: The correct capitalization is Item List. Do not forget the second capitalized letter!

Usage

Example Output
{{Item List | item=Flint | page=Metal}} Flint
{{Item List | item=Gold Ingot | icon=Ingot-gold | page=Metal}} Ingot-gold.png Gold Ingot

Fields

item Name of the item..
icon File name for the icon to be shown. Most items in the wiki have a size of 100px, so the template enforces it to 25px.
page Article that the item will link.