Template:Item/doc: Difference between revisions

From PokéFarm Q Official Wiki
Jump to navigation Jump to search
(Added documentation)
 
Line 10: Line 10:
==Restrictions==
==Restrictions==
The template expects all image files to be pngs any other format will not work
The template expects all image files to be pngs any other format will not work
Defaults to {{Item}} if no parameters are given

Revision as of 15:44, 31 May 2019

Usage

Designed to display an items icon next to its name

Example

{{Item|PR Memory Stick}} will result in PR Memory Stick

If the filename on the wiki is different than the name of the item on-site (like most Berries) you can specify the filename (without extension) as the 2nd parameter

{{Item|Apicot Berry|Berry Apicot}} wil result in Apicot Berry

Restrictions

The template expects all image files to be pngs any other format will not work


Defaults to Helix Fossil if no parameters are given