Template:Item link/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>OmegaK2
mNo edit summary
>OmegaK2
Line 12: Line 12:


==Parameters==
==Parameters==
===Page selection===
One of these is required. Do not specify more then one.


{| class="wikitable sortable"
{| class="wikitable sortable"
! Parameter
! Parameter
! Value
! Value
! Required
! Description
! Description
|-
|-
| page
| page
| str
| str
| {{yes}}
| Name of the wiki page to link against
| Name of the wikipage to link against
|-
| item_name
| str
| Name of the item to search for.
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.
|}
 
===Output overrides===
All of these are optional and can be used to customize the item link.
 
{| class="wikitable sortable"
! Parameter
! Value
! Description
|-
|-
| name
| name
| str
| str
| {{no}}
| Name to display.  
| Name to display.  
Name, inventory_icon and html must all be specified if one of them is.
|-
|-
| inventory_icon
| inventory_icon
| str
| str
| {{no}}
| File to use for the inline icon link
| File to use for the link
Name, inventory_icon and html must all be specified if one of them is.
|-
|-
| html
| html
| str
| str
| {{no}}
| HTML to use for the itembox
| HTML to use for the itembox
Name, inventory_icon and html must all be specified if one of them is.
|}
|}



Revision as of 21:12, 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.

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

Parameters

Page selection

One of these is required. Do not specify more then 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 can pose a problem if there are multiple items with the same name (such as Two Stone Rings) - in that case use page instead.

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

Examples

Basic Usage

{{Item link
|page=Clarity
}}

Yields:

ClarityClarityAura, Spell, AoE
Level: (1-20)
Reservation: (34-279) Mana
Cooldown Time: 1.20 sec
Can Store 1 Use(s)
Cast Time: Instant
AoE Radius: 36
Requires Level 10Casts an aura that grants mana regeneration to you and your allies.+(0-1.9) metres to radius
You and nearby Allies Regenerate (2.9-33) Mana per second

Additional Effects From 1-20% Quality:
(2-40)% increased Area of Effect
Place into an item socket of the right colour to gain this skill. Right click to remove from a socket.