Difference between revisions of "Template:Item"
From Medivia Online Wiki
| Line 69: | Line 69: | ||
--><tr><th>'''Sell to:'''</th><td> | --><tr><th>'''Sell to:'''</th><td> | ||
{{#cargo_query: | {{#cargo_query: | ||
|tables=NpcBuying | |tables=NpcBuying, NpcData | ||
|fields=Npc_Name, Price | |join on=NpcBuying.Npc_Name=NpcData.Name | ||
|where=Item_Name='{{{name|}}}' | |fields=NpcData.City=City, NpcBuying.Npc_Name=Npc_Name, NpcBuying.Price=Price | ||
|where=NpcBuying.Item_Name='{{{name|}}}' | |||
|format=template | |format=template | ||
|template=Item/SellRow | |template=Item/SellRow | ||
| Line 77: | Line 78: | ||
|intro=<table class="wikitable"> | |intro=<table class="wikitable"> | ||
|outro=</table> | |outro=</table> | ||
|order by=Price DESC | |order by=NpcBuying.Price DESC | ||
|default=Players only. | |default=Players only. | ||
}} | }} | ||
Latest revision as of 10:04, 16 August 2026
You see a {{{name}}}. |
|
|---|---|
| Dropped by: | None. |
| Buy from: |
|
| Sell to: |
Error: Table NpcData not found.
|
Usage
{{Item
|name=
|article=
|aftername=
|description=
|image<!--[[File:.gif OR .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=
}}