Template:Item link/doc: Difference between revisions
>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 | ||
! Description | ! Description | ||
|- | |- | ||
| page | | page | ||
| str | | str | ||
| | | Name of the wiki page to link against | ||
| Name of the | |- | ||
| 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 | ||
| Name to display. | | Name to display. | ||
|- | |- | ||
| inventory_icon | | inventory_icon | ||
| str | | str | ||
| File to use for the inline icon link | |||
| File to use for the link | |||
|- | |- | ||
| html | | html | ||
| str | | str | ||
| HTML to use for the itembox | | HTML to use for the itembox | ||
|} | |} | ||
Revision as of 21:12, 7 April 2016

This subpage provides documentation for Template:Item link.
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:
ClarityClarityBuff, Persistent
Tier: 1
Level: 1Supports Persistent Buff Skills, causing you to gain increased Mana Regeneration while the Skill is active.30% Increased Mana Regeneration Rate while a Supported Skill is activePlace into a Skill's Support Gem socket in the Skills Panel to apply its effects to that Skill. You cannot have multiple copies of the same Support Gem socketed at the same time.