Template:Item link/doc

From Path of Exile Wiki
Revision as of 04:17, 9 September 2016 by >InfiniteIce-gpuser ("more then one" -> "more than one")
Jump to navigation Jump to search

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.

Pages with broken item links with be added to the maintenance category Category:Pages with broken item links.

Parameters

Page selection

Page search

One of these is required. Do not specify more than one.

Parameter Value Description
page str Name of the wiki page to link against
item_name str Name of the item to search for. This will search for alias of the same item (i.e. legacy names) and is case insenitive

This can pose a problem if there are multiple items with the same name (such as Two Stone Rings) - in that case use page instead.

item_name_exact str Exact name of the item to search for. Unlike item_name this is case sensitive and will only search for the current name of the item.

This can pose a problem if there are multiple items with the same name (such as Two Stone Rings) - in that case use page instead.

Filters

Parameter Value Description
link_type nil or skill nil - no restriction

skill - restricts the search to skill gems (i.e. for Template:Sl)

Output overrides

All of these are optional and can be used to customize the item link.

Parameter Value Description
name str Name to display.
inventory_icon str File to use for the inline icon link
html str HTML to use for the itembox
large boolean If set to true, instead of the small icon in front of the name, a large inventory icon will be shown below the item (suitable for tables).
image str or int This can be used to link against an alternate art version of an item.

Depending on which type is supplied:

  • int: choose the alternate art based on the index (i.e. 1 for the first alternate art, 2 for the second, etc)
  • str: choose the alternate based on the string given (i.e. "race season 1" would search for File:<itemname> race season 1 inventory icon.png and use it as image)

Examples

Basic Usage

{{Item link
|page=Two-Stone Ring (ruby and topaz)
}}

Yields:

Two-Stone RingTwo-Stone RingRequires Level 20+(12-16)% to Fire and Lightning Resistances

{{Item link
|item_name=Pierce
}}

Yields:

Pierce SupportPierce SupportSupport, Projectile
Icon: p
Level: (1-20)
Cost & Reservation Multiplier: 120%
Requires Level 4Supports projectile skills.Projectiles from Supported Skills Pierce (2-4) additional Targets
Supported Skills deal (0-19)% more Projectile Damage

Additional Effects From 1-20% Quality:
Supported Skills deal (0.5-10)% increased Projectile Damage
This is a Support Gem. It does not grant a bonus to your character, but to skills in sockets connected to it. Place into an item socket connected to a socket containing the Skill Gem you wish to augment. Right click to remove from a socket.

Large icons

{{Item link
|item_name=Pierce
|large=yes
}}

Yields:

Pierce SupportPierce SupportSupport, Projectile
Icon: p
Level: (1-20)
Cost & Reservation Multiplier: 120%
Requires Level 4Supports projectile skills.Projectiles from Supported Skills Pierce (2-4) additional Targets
Supported Skills deal (0-19)% more Projectile Damage

Additional Effects From 1-20% Quality:
Supported Skills deal (0.5-10)% increased Projectile Damage
This is a Support Gem. It does not grant a bonus to your character, but to skills in sockets connected to it. Place into an item socket connected to a socket containing the Skill Gem you wish to augment. Right click to remove from a socket.