Difference between revisions of "Template:Item"

From Medivia Online Wiki
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
-->{{#if: {{{arm|}}}|Arm:{{{arm}}}}}<!--
-->{{#if: {{{arm|}}}|Arm:{{{arm}}}}}<!--
-->{{#if: {{{atk|}}}|Atk:{{{atk}}}&nbsp;}}<!--
-->{{#if: {{{atk|}}}|Atk:{{{atk}}}&nbsp;}}<!--
-->{{#if: {{{def|}}}|Def:{{{def}}}}}<!--
-->{{#if: {{{def|}}}|Def:{{{def}}}}}<!--
-->)}}{{#if: {{{aftername|}}}|{{{aftername}}}<br>|.&nbsp;{{#ifeq: {{{holds_liquids|}}}|y|It is empty.}}<br>}}<!--  
-->)}}{{#if: {{{aftername|}}}|{{{aftername}}}<br>|.&nbsp;{{#ifeq: {{{holds_liquids|}}}|y|It is empty.}}<br>}}<!--  
Line 68: Line 67:
</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, NpcData
|tables=NpcBuying, NpcData
Line 115: Line 114:
--> </table>
--> </table>
</td></tr>|}}<!--
</td></tr>|}}<!--
-->{{#if: {{#cargo_query:tables=CraftingRecipes|fields=Npc|where=Result_Item="{{{name|{{PAGENAME}}}}}"|limit=1}} |
-->{{#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>
<tr><th>'''Obtainable via<br><small>(Crafting/Exchange)</small>:'''</th><td>
{{#cargo_query:
{{#cargo_query:
Line 126: Line 125:
|intro=<table class="wikitable" style="width: 100%;">
|intro=<table class="wikitable" style="width: 100%;">
|outro=</table>
|outro=</table>
|default=
}}
}}
</td></tr>
</td></tr>
}}<!--
}}<!--
-->{{#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}} |
-->{{#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>
<tr><th>'''Used in<br><small>(Crafting/Exchange)</small>:'''</th><td>
{{#cargo_query:
{{#cargo_query:
Line 140: Line 140:
|intro=<table class="wikitable" style="width: 100%;">
|intro=<table class="wikitable" style="width: 100%;">
|outro=</table>
|outro=</table>
|default=
}}
}}
</td></tr>
</td></tr>

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=
}}