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>{{#ifeq: {{{mode|page}}}|tooltip|
<includeonly>{{Special:AuctionTracker/{{{itemname}}}}}{{#if: {{{second_image|}}} | [[ File:{{{second_image}}}|thumb|350x420px|{{{second_imagetext|}}} ]] }}{{#if: {{{third_image|}}}  | [[ File:{{{third_image}}} |thumb|350x420px|{{{third_imagetext|}}}  ]] }}
<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 44: Line 35:
This item can be foraged:
This item can be foraged:
{{{foraged}}} }}
{{{foraged}}} }}
[[Category:Items]]
[[Category:Items]]</includeonly><noinclude>
}}</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 ==


Item pages should call this template once inside <code><nowiki><onlyinclude></nowiki></code>.
<code>focus_effect</code> — page name of a focus effect spell.


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


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


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.
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.
 
== Optional parameters ==


* <code>focus_effect</code> — page name of a focus effect spell, for example <code>Enhancement Haste II</code>.
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>

Revision as of 19:06, 3 June 2026

This is the template page for items.

Usage

  1. Generate the itempage source using the Itempage template parameters
  2. Upload the item icon image to this wiki, keeping the same filename
  3. Review item stats, dropped from, related quests, crafted item, etc.

Optional parameters

focus_effect — page name of a focus effect spell.

Example:

|focus_effect = Enhancement Haste II

Do not include wiki link brackets. The item box automatically renders the focus effect using the same itemeff 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.