Template:Itempage: Difference between revisions
mNo edit summary |
No edit summary |
||
| (48 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
< | <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 | |||
|itemname = {{{itemname}}} | |||
|lucy_img_ID = {{{lucy_img_ID}}} | |||
|statsblock = | |||
</ | |||
|itemname | |||
|lucy_img_ID = {{{lucy_img_ID}}} | |||
|statsblock | |||
{{{statsblock}}} | {{{statsblock}}} | ||
}}{{#if: {{{ | |focus_effect = {{{focus_effect|}}} | ||
{{#if: {{{merchant_value|}}} | | }} | ||
{{#if: {{{notes|}}} | {{{notes}}} <br>}} | |||
{{#if: {{{dropsfrom|}}} | = Drops From = | = <span class='esec'>Drops From</span> =}} | {{#if: {{{merchant_value|}}} | [[File:Item 645.png|16px]] Merchant resale value: '''{{{merchant_value}}}''' <br>}} | ||
{{#if: {{{dropsfrom|}}} | == Drops From == | == <span class='esec'>Drops From</span> ==}} | |||
{{{dropsfrom|<ul class='esec'><li> <span class='esec'>This item is not dropped by mobs.</span> </li></ul>}}} | {{{dropsfrom|<ul class='esec'><li> <span class='esec'>This item is not dropped by mobs.</span> </li></ul>}}} | ||
{{#if: {{{soldby|}}} | == Sold by == | == <span class='esec'>Sold by</span> ==}} | |||
{{#if: {{{soldby|}}} | = Sold | {{#if: {{{soldby|}}} | This item is sold by merchants:}} | ||
{{#if: {{{soldby|}}}This item is sold by merchants:}} | |||
{{{soldby|<ul class='esec'><li> <span class='esec'>This item cannot be purchased from merchants.</span> </li></ul>}}} | {{{soldby|<ul class='esec'><li> <span class='esec'>This item cannot be purchased from merchants.</span> </li></ul>}}} | ||
{{#if: {{{relatedquests|}}} | = Related | {{#if: {{{relatedquests|}}} | == Related quests == | == <span class='esec'>Related quests</span> ==}} | ||
{{{relatedquests|<ul class='esec'><li> <span class='esec'>This item has no related quests.</span> </li></ul>}}} | {{{relatedquests|<ul class='esec'><li> <span class='esec'>This item has no related quests.</span> </li></ul>}}} {{#if: {{{bookcontents|}}} |<br> | ||
== Book contents == | |||
{{{bookcontents}}} }} | |||
{{#if: {{{playercrafted|}}} | = Player | {{#if: {{{playercrafted|}}} | == Player crafted == | == <span class='esec'>Player crafted</span> ==}} | ||
{{#if: {{{playercrafted|}}}This item can be crafted with player tradeskills:}} | {{#if: {{{playercrafted|}}} | This item can be crafted with player tradeskills:}} | ||
{{{playercrafted|<ul class='esec'><li> <span class='esec'>This item is not crafted by players.</span> </li></ul>}}} | {{{playercrafted|<ul class='esec'><li> <span class='esec'>This item is not crafted by players.</span> </li></ul>}}} | ||
{{#if: {{{recipes|}}} | = Tradeskill | {{#if: {{{recipes|}}} | == Tradeskill recipes == | == <span class='esec'>Tradeskill recipes</span> ==}} | ||
{{#if: {{{recipes|}}}This item is used in player tradeskills:}} | {{#if: {{{recipes|}}} | This item is used in player tradeskills:}} | ||
{{{recipes|<ul class='esec'><li> <span class='esec'>This item is not used in player tradeskills.</span> </li></ul>}}} | |||
<span id='itemfashion'></span> {{#if: {{{foraged|}}} |<br> | |||
== Foraged == | |||
= | |||
This item can be foraged: | This item can be foraged: | ||
{{{foraged}}} }} | |||
[[Category:Items]] | |||
}}</includeonly><noinclude> | |||
This is the template page for items. | |||
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. | |||
For Rogue-usable piercing weapons, Backstab damage defaults to the listed weapon damage. Add an explicit <code>BACKSTAB:</code> line to the item's stats block when the value differs. | |||
[[Category: | [[Category:Templates]] | ||
</noinclude> | |||
Latest revision as of 14:32, 14 July 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.
For Rogue-usable piercing weapons, Backstab damage defaults to the listed weapon damage. Add an explicit BACKSTAB: line to the item's stats block when the value differs.