Difference between revisions of "Template:Item"
From Medivia Online Wiki
| (4 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
-->{{#if: {{{def|}}}|Def:{{{def}}}}}<!-- | -->{{#if: {{{def|}}}|Def:{{{def}}}}}<!-- | ||
-->)}}{{#if: {{{aftername|}}}|{{{aftername}}}<br>|. {{#ifeq: {{{holds_liquids|}}}|y|It is empty.}}<br>}}<!-- | -->)}}{{#if: {{{aftername|}}}|{{{aftername}}}<br>|. {{#ifeq: {{{holds_liquids|}}}|y|It is empty.}}<br>}}<!-- | ||
-->{{#if: {{{weight|}}}|It weighs {{{weight}}} oz.<br>}}<!-- | -->{{#if: {{{weight|}}}|It weighs {{{weight}}} oz.<br>}}<!-- | ||
-->{{#if: {{{description|}}}|{{{description}}}}}'''</div></th> | -->{{#if: {{{description|}}}|{{{description}}}}}'''</div></th> | ||
| Line 61: | Line 61: | ||
--> {{#if: {{{buy_from_yehsha|}}}|<tr><th style="width:150px">'''[[Yehsha]]'''</th><td>{{{buy_from_yehsha}}}</td></tr>}} <!-- | --> {{#if: {{{buy_from_yehsha|}}}|<tr><th style="width:150px">'''[[Yehsha]]'''</th><td>{{{buy_from_yehsha}}}</td></tr>}} <!-- | ||
--> {{#if: {{{buy_from_winterbay|}}}|<tr><th style="width:150px">'''[[Winterbay]]'''</th><td>{{{buy_from_winterbay}}}</td></tr>}} <!-- | --> {{#if: {{{buy_from_winterbay|}}}|<tr><th style="width:150px">'''[[Winterbay]]'''</th><td>{{{buy_from_winterbay}}}</td></tr>}} <!-- | ||
--> {{#if: {{{buy_from_sheol|}}}|<tr><th style="width:150px">'''[[Sheol]]'''</th><td>{{{buy_from_sheol}}}</td></tr>}} <!-- | |||
--> {{#if: {{{buy_from_sanctum|}}}|<tr><th style="width:150px">'''[[Sanctum]]'''</th><td>{{{buy_from_sanctum}}}</td></tr>}} <!-- | --> {{#if: {{{buy_from_sanctum|}}}|<tr><th style="width:150px">'''[[Sanctum]]'''</th><td>{{{buy_from_sanctum}}}</td></tr>}} <!-- | ||
--> {{#if: {{{buy_from_lady|}}}|<tr><th style="width:150px">'''[[White Lady]]'''</th><td>{{{buy_from_lady}}}</td></tr>}} <!-- | --> {{#if: {{{buy_from_lady|}}}|<tr><th style="width:150px">'''[[White Lady]]'''</th><td>{{{buy_from_lady}}}</td></tr>}} <!-- | ||
| Line 72: | Line 73: | ||
|join on=NpcBuying.Npc_Name=NpcData.Name | |join on=NpcBuying.Npc_Name=NpcData.Name | ||
|fields=NpcData.City=City, NpcBuying.Npc_Name=Npc_Name, NpcBuying.Price=Price | |fields=NpcData.City=City, NpcBuying.Npc_Name=Npc_Name, NpcBuying.Price=Price | ||
|where=NpcBuying.Item_Name= | |where=NpcBuying.Item_Name="{{{name|}}}" | ||
|format=template | |format=template | ||
|template=Item/SellRow | |template=Item/SellRow | ||
| Line 124: | Line 125: | ||
--> {{#if: {{{exchange_at_morgan|}}}|<tr><th style="width:150px">'''[[Captain Morgan]]'''</th><td>{{{exchange_at_morgan}}}</td></tr>}} | --> {{#if: {{{exchange_at_morgan|}}}|<tr><th style="width:150px">'''[[Captain Morgan]]'''</th><td>{{{exchange_at_morgan}}}</td></tr>}} | ||
<!-- | <!-- | ||
--> {{#if: {{{exchange_at_valeryn|}}}|<tr><th style="width:150px">'''[[Valeryn]]'''</th><td>{{{exchange_at_valeryn}}}</td></tr>}} | --> {{#if: {{{exchange_at_valeryn|}}}|<tr><th style="width:150px">'''[[Valeryn]]'''</th><td>{{{exchange_at_valeryn}}}</td></tr>}} | ||
<!-- | <!-- | ||
--> {{#if: {{{exchange_at_tristan|}}}|<tr><th style="width:150px">'''[[Tristan]]'''</th><td>{{{exchange_at_tristan}}}</td></tr>}} | --> {{#if: {{{exchange_at_tristan|}}}|<tr><th style="width:150px">'''[[Tristan]]'''</th><td>{{{exchange_at_tristan}}}</td></tr>}} | ||
<!-- | <!-- | ||
--></table> | --></table> | ||
| Line 155: | Line 156: | ||
|aftername= | |aftername= | ||
|description= | |description= | ||
|image<!--[[File: | |image<!--[[File:Item.png|48px]]-->= | ||
|item_rank= | |item_rank= | ||
|properties= | |properties= | ||
Latest revision as of 04:58, 20 August 2026
You see a {{{name}}}. |
|
|---|---|
| Dropped by: | None. |
| Buy from: |
|
| Sell to: |
Players only. |
Usage
{{Item
|name=
|article=
|aftername=
|description=
|image<!--[[File:Item.png|48px]]-->=
|item_rank=
|properties=
|pattributes=
|effect=
|requirement=
|arm=
|atk=
|def=
|hit=
|mlreq=
|charges=
|usecharges=
|vol=
|weight<!--00.0, include one decimal-->=
|hands=
|dropped_by=
|buy_from_city=
|sell_to_city=
|exchange_in_city=
|craft_at_npc=
|coll_task=
|note=
|category=
}}