Difference between revisions of "Template:Item"
From Medivia Online Wiki
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<table class="wikitable"><tr><th style="text-align:center;width:17%"> | <table class="wikitable"><tr><th style="text-align:center;width:17%">{{{image|}}}</th> | ||
<th><div style="font-family: Tahoma; font-size: 9pt; color: #04ec7c; text-align: center; font-weight: bold; text-shadow: #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px;"><!-- | <th><div style="font-family: Tahoma; font-size: 9pt; color: #04ec7c; text-align: center; font-weight: bold; text-shadow: #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px;"><!-- | ||
-->You see {{#ifeq:{{{category|}}}|Legs|{{{article|}}}|{{#ifeq:{{{category|}}}|Boots|{{{article|}}}|{{{article|a}}}}}}} <!-- | -->You see {{#ifeq:{{{category|}}}|Legs|{{{article|}}}|{{#ifeq:{{{category|}}}|Boots|{{{article|}}}|{{{article|a}}}}}}} <!-- | ||
| 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 155: | Line 156: | ||
|aftername= | |aftername= | ||
|description= | |description= | ||
|[[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=
}}