Jump to content
EQL Wiki is currently in BETA - content may change rapidly!

Template:Itempage: Difference between revisions

From EverQuest Legends Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly>{{Special:AuctionTracker/{{{itemname}}}}}{{#if: {{{second_image|}}} | [[ File:{{{second_image}}}|thumb|350x420px|{{{second_imagetext|}}} ]] }}{{#if: {{{third_image|}}}  | [[ File:{{{third_image}}} |thumb|350x420px|{{{third_imagetext|}}}  ]] }}
<includeonly>{{#ifeq:{{{mode|{{#ifeq:{{FULLPAGENAME}}|{{{itemname}}}|page|tooltip}}}}}|tooltip|
<div class="hbdiv">[[{{{itemname}}}]]<span class="hb">{{Itembox
|itemname    = {{{itemname}}}
|lucy_img_ID  = {{{lucy_img_ID}}}
|statsblock  =
{{{statsblock}}}
|focus_effect = {{{focus_effect|}}}
}}</span></div>
|
{{Special:AuctionTracker/{{{itemname}}}}}{{#if: {{{second_image|}}} | [[ File:{{{second_image}}}|thumb|350x420px|{{{second_imagetext|}}} ]] }}{{#if: {{{third_image|}}}  | [[ File:{{{third_image}}} |thumb|350x420px|{{{third_imagetext|}}}  ]] }}
__NOTOC__{{Itembox
__NOTOC__{{Itembox
|itemname   = {{{itemname}}}
|itemname     = {{{itemname}}}
|lucy_img_ID = {{{lucy_img_ID}}}
|lucy_img_ID = {{{lucy_img_ID}}}
|statsblock =
|statsblock   =
{{{statsblock}}}
{{{statsblock}}}
|focus_effect = {{{focus_effect|}}}
|focus_effect = {{{focus_effect|}}}
Line 35: Line 44:
This item can be foraged:
This item can be foraged:
{{{foraged}}} }}
{{{foraged}}} }}
[[Category:Items]]</includeonly><noinclude>
[[Category:Items]]
}}</includeonly><noinclude>
This is the template page for items.
This is the template page for items.


== Usage ==
Item pages should call this template once inside <code><nowiki><onlyinclude></nowiki></code>. The template automatically renders a full item page when viewed directly, and only an item hover link when transcluded into loot lists.
# Generate the itempage source using the Itempage template parameters
# Upload the item icon image to this wiki, keeping the same filename
# Review item stats, dropped from, related quests, crafted item, etc.
 
== Optional parameters ==
 
<code>focus_effect</code> — page name of a focus effect spell.
 
Example:
 
<pre>
|focus_effect = Enhancement Haste II
</pre>
 
Do not include wiki link brackets. The item box automatically renders the focus effect using the same <code>itemeff</code> markup used by item effects such as Earthcall.
 
Note: This will automatically include the item in [[:Category:Items]], but you'll have to add it to any subcategories.


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 19:14, 3 June 2026

This is the template page for items.

Item pages should call this template once inside <onlyinclude>. The template automatically renders a full item page when viewed directly, and only an item hover link when transcluded into loot lists.