Difference between revisions of "Template:Item"
From Medivia Online Wiki
Tag: Undo |
|||
| Line 64: | Line 64: | ||
--> {{#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>}} <!-- | ||
--> {{#if: {{{buy_from_mauren|}}}|<tr><th style="width:150px">'''[[Mauren]]'''</th><td>{{{buy_from_mauren}}}</td></tr>}} <!-- | --> {{#if: {{{buy_from_mauren|}}}|<tr><th style="width:150px">'''[[Mauren]]'''</th><td>{{{buy_from_mauren}}}</td></tr>}} <!-- | ||
--></table> | --> </table> | ||
</td></tr>| | </td></tr>| | ||
<tr><th>'''Buy from:'''</th><td>Players only.</td></tr>}}<!-- | <tr><th>'''Buy from:'''</th><td>Players only.</td></tr>}}<!-- | ||
--><tr><th>'''Sell to:'''</th><td> | --><tr><th>'''Sell to:'''</th><td> | ||
{{#cargo_query: | {{#cargo_query: | ||
|tables=NpcBuying | |tables=NpcBuying | ||
|fields=Npc_Name, Price | |||
|fields | |where=Item_Name="{{{name|{{PAGENAME}}}}}" | ||
|where= | |||
|format=template | |format=template | ||
|template=Item/SellRow | |template=Item/SellRow | ||
|named args=yes | |named args=yes | ||
|intro=<table class="wikitable"> | |intro=<table class="wikitable" style="width: 100%;"> | ||
|outro=</table> | |outro=</table> | ||
|order by= | |order by=Price DESC | ||
|default=Players only. | |default=Players only. | ||
}} | }} | ||
</td></tr><!-- | </td></tr><!-- | ||
-->{{#if: {{#cargo_query:tables=CraftingRecipes| | -->{{#if: {{{sell_to_luana| {{{sell_to_lucindel| {{{sell_to_abukir| {{{sell_to_thoris| {{{sell_to_cirone| {{{sell_to_garrogat| {{{sell_to_holdangraff| {{{sell_to_dynahall| {{{sell_to_icenhaal| {{{sell_to_mittenhoff| {{{sell_to_medivia| {{{sell_to_nordag| {{{sell_to_novus| {{{sell_to_osaris| {{{sell_to_outlawcamp| {{{sell_to_eschen| {{{sell_to_arak| {{{sell_to_vilias| {{{sell_to_yehsha| {{{sell_to_winterbay| {{{sell_to_belvez| {{{sell_to_stonehome| {{{sell_to_sheol| {{{sell_to_sanctum|{{{sell_to_lady| {{{sell_to_falcon| {{{sell_to_mauren| }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}}| | ||
<tr><th>'''Sell to <br><small>(Old Data)</small>:'''</th><td> | |||
<table class="wikitable"><!-- | |||
--> {{#if: {{{sell_to_abukir|}}}|<tr><th style="width:150px">'''[[Abukir]]'''</th><td>{{{sell_to_abukir}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_arak|}}}|<tr><th style="width:150px">'''[[Arak]]'''</th><td>{{{sell_to_arak}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_belvez|}}}|<tr><th style="width:150px">'''[[Belvez]]'''</th><td>{{{sell_to_belvez}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_cirone|}}}|<tr><th style="width:150px">'''[[Cirone]]'''</th><td>{{{sell_to_cirone}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_dynahall|}}}|<tr><th style="width:150px">'''[[Dynahall]]'''</th><td>{{{sell_to_dynahall}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_eschen|}}}|<tr><th style="width:150px">'''[[Eschen]]'''</th><td>{{{sell_to_eschen}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_falcon|}}}|<tr><th style="width:150px">'''[[Falcon]]'''</th><td>{{{sell_to_falcon}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_garrogat|}}}|<tr><th style="width:150px">'''[[Garrogat]]'''</th><td>{{{sell_to_garrogat}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_holdangraff|}}}|<tr><th style="width:150px">'''[[Holdangraff]]'''</th><td>{{{sell_to_holdangraff}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_icenhaal|}}}|<tr><th style="width:150px">'''[[Icenhaal]]'''</th><td>{{{sell_to_icenhaal}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_luana|}}}|<tr><th style="width:150px">'''[[Luana]]'''</th><td>{{{sell_to_luana}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_lucindel|}}}|<tr><th style="width:150px">'''[[Lucindel]]'''</th><td>{{{sell_to_lucindel}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_medivia|}}}|<tr><th style="width:150px">'''[[Medivia Store]]'''</th><td>{{{sell_to_medivia}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_mittenhoff|}}}|<tr><th style="width:150px">'''[[Mittenhoff]]'''</th><td>{{{sell_to_mittenhoff}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_nordag|}}}|<tr><th style="width:150px">'''[[Nordag's Isle]]'''</th><td>{{{sell_to_nordag}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_novus|}}}|<tr><th style="width:150px">'''[[Novus]]'''</th><td>{{{sell_to_novus}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_osaris|}}}|<tr><th style="width:150px">'''[[Osaris]]'''</th><td>{{{sell_to_osaris}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_outlawcamp|}}}|<tr><th style="width:150px">'''[[Outlaw Camp]]'''</th><td>{{{sell_to_outlawcamp}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_stonehome|}}}|<tr><th style="width:150px">'''[[Stonehome]]'''</th><td>{{{sell_to_stonehome}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_thoris|}}}|<tr><th style="width:150px">'''[[Thoris]]'''</th><td>{{{sell_to_thoris}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_vilias|}}}|<tr><th style="width:150px">'''[[Vilias]]'''</th><td>{{{sell_to_vilias}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_yehsha|}}}|<tr><th style="width:150px">'''[[Yehsha]]'''</th><td>{{{sell_to_yehsha}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_winterbay|}}}|<tr><th style="width:150px">'''[[Winterbay]]'''</th><td>{{{sell_to_winterbay}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_sheol|}}}|<tr><th style="width:150px">'''[[Sheol]]'''</th><td>{{{sell_to_sheol}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_sanctum|}}}|<tr><th style="width:150px">'''[[Sanctum]]'''</th><td>{{{sell_to_sanctum}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_lady|}}}|<tr><th style="width:150px">'''[[White Lady]]'''</th><td>{{{sell_to_lady}}}</td></tr>}} <!-- | |||
--> {{#if: {{{sell_to_mauren|}}}|<tr><th style="width:150px">'''[[Mauren]]'''</th><td>{{{sell_to_mauren}}}</td></tr>}} <!-- | |||
--> </table> | |||
</td></tr>|}}<!-- | |||
-->{{#ifexpr: {{#cargo_query:tables=CraftingRecipes|format=count|where=Result_Item="{{{name|{{PAGENAME}}}}}"|default=0}} > 0 | | |||
<tr><th>'''Obtainable via<br><small>(Crafting/Exchange)</small>:'''</th><td> | <tr><th>'''Obtainable via<br><small>(Crafting/Exchange)</small>:'''</th><td> | ||
{{#cargo_query: | {{#cargo_query: | ||
| Line 93: | Line 124: | ||
|intro=<table class="wikitable" style="width: 100%;"> | |intro=<table class="wikitable" style="width: 100%;"> | ||
|outro=</table> | |outro=</table> | ||
}} | }} | ||
</td></tr> | </td></tr> | ||
}}<!-- | }}<!-- | ||
-->{{# | -->{{#ifexpr: {{#cargo_query:tables=CraftingRecipes|format=count|where=Reagent1_Item="{{{name|{{PAGENAME}}}}}" OR Reagent2_Item="{{{name|{{PAGENAME}}}}}" OR Reagent3_Item="{{{name|{{PAGENAME}}}}}" OR Reagent4_Item="{{{name|{{PAGENAME}}}}}" OR Reagent5_Item="{{{name|{{PAGENAME}}}}}" OR Reagent6_Item="{{{name|{{PAGENAME}}}}}"|default=0}} > 0 | | ||
<tr><th>'''Used in<br><small>(Crafting/Exchange)</small>:'''</th><td> | <tr><th>'''Used in<br><small>(Crafting/Exchange)</small>:'''</th><td> | ||
{{#cargo_query: | {{#cargo_query: | ||
| Line 108: | Line 138: | ||
|intro=<table class="wikitable" style="width: 100%;"> | |intro=<table class="wikitable" style="width: 100%;"> | ||
|outro=</table> | |outro=</table> | ||
}} | }} | ||
</td></tr> | </td></tr> | ||
| Line 141: | Line 170: | ||
|dropped_by= | |dropped_by= | ||
|buy_from_city= | |buy_from_city= | ||
|sell_to_city= | |||
|coll_task= | |coll_task= | ||
|note= | |note= | ||
|category= | |category= | ||
}}</pre></noinclude> | }}</pre></noinclude> | ||
Revision as of 12:54, 24 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=
|coll_task=
|note=
|category=
}}