Difference between revisions of "Template:Item"
From Medivia Online Wiki
| (3 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
-->{{#if: {{{arm|}}}|Arm:{{{arm}}}}}<!-- | -->{{#if: {{{arm|}}}|Arm:{{{arm}}}}}<!-- | ||
-->{{#if: {{{atk|}}}|Atk:{{{atk}}} }}<!-- | -->{{#if: {{{atk|}}}|Atk:{{{atk}}} }}<!-- | ||
-->{{#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>}}<!-- | ||
| Line 115: | Line 114: | ||
--> </table> | --> </table> | ||
</td></tr>|}}<!-- | </td></tr>|}}<!-- | ||
--><tr><th>'''Obtainable via<br><small>(Crafting/Exchange)</small>:'''</th><td> | -->{{#if: {{#cargo_query:tables=CraftingRecipes|fields=Npc|where=Result_Item="{{{name|{{PAGENAME}}}}}"|limit=1|default=}} | | ||
<tr><th>'''Obtainable via<br><small>(Crafting/Exchange)</small>:'''</th><td> | |||
{{#cargo_query: | {{#cargo_query: | ||
|tables=CraftingRecipes | |tables=CraftingRecipes | ||
| Line 125: | Line 125: | ||
|intro=<table class="wikitable" style="width: 100%;"> | |intro=<table class="wikitable" style="width: 100%;"> | ||
|outro=</table> | |outro=</table> | ||
|default= | |default= | ||
}} | }} | ||
</td></tr><!-- | </td></tr> | ||
--><tr><th>'''Used in<br><small>(Crafting/Exchange)</small>:'''</th><td> | }}<!-- | ||
-->{{#if: {{#cargo_query:tables=CraftingRecipes|fields=Npc|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}}}}}"|limit=1|default=}} | | |||
<tr><th>'''Used in<br><small>(Crafting/Exchange)</small>:'''</th><td> | |||
{{#cargo_query: | {{#cargo_query: | ||
|tables=CraftingRecipes | |tables=CraftingRecipes | ||
| Line 138: | Line 140: | ||
|intro=<table class="wikitable" style="width: 100%;"> | |intro=<table class="wikitable" style="width: 100%;"> | ||
|outro=</table> | |outro=</table> | ||
|default= | |default= | ||
}} | }} | ||
</td></tr><!-- | </td></tr> | ||
}}<!-- | |||
-->{{#if: {{{note|}}}|<tr><th>'''Note:'''</th><td>{{{note}}}</td></tr>}}<!-- | -->{{#if: {{{note|}}}|<tr><th>'''Note:'''</th><td>{{{note}}}</td></tr>}}<!-- | ||
--></table> | --></table> | ||
Latest revision as of 12:13, 23 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=
}}