Template:Item link/doc: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
>OmegaK2
(Created page with "{{documentation subpage}} {{lua|Module:Item2}} Semantic Mediawiki based item link. Use this to link items from Template:Item ==Overview== Creates a link to an item pag...")
 
>OmegaK2
mNo edit summary
Line 54: Line 54:
|page=Clarity
|page=Clarity
}}
}}
===Advanced Usage===
<pre>{{Item link
|page=Clarity
|name=Pretty damn cool
}}</pre>


<includeonly>
<includeonly>

Revision as of 20:15, 7 April 2016

This subpage provides documentation for Template:Item link.

Lua logo

This template uses the following modules:

Semantic Mediawiki based item link. Use this to link items from Template:Item

Overview

Creates a link to an item page that has the item information entered by Template:Item and includes the item info box on hover on the link.

Parameters

Parameter Value Required Description
page str Yes Name of the wikipage to link against
name str No Name to display.

Name, inventory_icon and html must all be specified if one of them is.

inventory_icon str No File to use for the link

Name, inventory_icon and html must all be specified if one of them is.

html str No HTML to use for the itembox

Name, inventory_icon and html must all be specified if one of them is.

Examples

Basic Usage

{{Item link
|page=Clarity
}}

Yields:

Module Error: No results found for item using search term "page = Clarity"