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|page}}}|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 ==
== Usage ==
# 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.
Item pages should call this template once inside <code><nowiki><onlyinclude></nowiki></code>.


Example:
Use this mode switch immediately after <code><nowiki>{{Itempage</nowiki></code>:


<pre>
<pre>
|focus_effect = Enhancement Haste II
<includeonly>|mode=tooltip</includeonly><noinclude>|mode=page</noinclude>
</pre>
</pre>


Do not include wiki link brackets. The item box automatically renders the focus effect using the same <code>itemeff</code> markup used by worn/click/proc effects.
That makes normal item pages render as full item pages, while loot table transclusions such as <code><nowiki>{{:Golden Efreeti Boots}}</nowiki></code> render only the item name plus mouseover tooltip.
 
== Optional parameters ==


Note: This will automatically include the item in [[:Category:Items]], but you'll have to add it to any subcategories.
* <code>focus_effect</code> — page name of a focus effect spell, for example <code>Enhancement Haste II</code>.


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

Revision as of 19:05, 3 June 2026

This is the template page for items.

Usage

Item pages should call this template once inside <onlyinclude>.

Use this mode switch immediately after {{Itempage:

<includeonly>|mode=tooltip</includeonly><noinclude>|mode=page</noinclude>

That makes normal item pages render as full item pages, while loot table transclusions such as {{:Golden Efreeti Boots}} render only the item name plus mouseover tooltip.

Optional parameters

  • focus_effect — page name of a focus effect spell, for example Enhancement Haste II.