From Dark and Darker Wiki

(Updated to use new item property incraftingrecipefor)
(Added example. Added missing default PAGENAME.)
 
Line 1: Line 1:
<includeonly><!--
<includeonly><!--


-->{{#arraydefine:merchants|{{{{{ingredientcategory|Misc}}} Data|{{{1}}}|incraftingrecipefor}}}}<!--
-->{{#arraydefine:merchants|{{{{{ingredientcategory|Misc}}} Data|{{{1|{{PAGENAME}}}}}|incraftingrecipefor}}}}<!--
--><div {{#ifeq:{{#arraysize:merchants}}|0|style="display:none"}}>
--><div {{#ifeq:{{#arraysize:merchants}}|0|style="display:none"}}>
==Ingredient==
==Ingredient==
Line 23: Line 23:
<pre style="width:fit-content">{{Ingredient|Gold}}</pre>
<pre style="width:fit-content">{{Ingredient|Gold}}</pre>
{{Ingredient|Gold}}
{{Ingredient|Gold}}
=Example=
<pre style="width:fit-content">{{Ingredient|Gold Coin}}</pre>
{{Ingredient|Gold Coin}}
=Example=
=Example=
<pre style="width:fit-content">{{Ingredient|Silver Ore}}</pre>
<pre style="width:fit-content">{{Ingredient|Silver Ore}}</pre>
{{Ingredient|Silver Ore}}
{{Ingredient|Silver Ore}}
</noinclude>
</noinclude>

Latest revision as of 06:55, 23 June 2024

If the template is being used for non-Misc items, the category argument is required.

Example

{{Ingredient|Potion of Healing|category=Utility}}

Example

{{Ingredient|Cyclops's Club}}

Ingredient

Cyclops's Club can be used in crafting:
NameIngredientsMerchant
Club1
Cyclops's Club1
Grave Essence1
Bone3
Weaponsmith

Example

{{Ingredient|Firefly's Abdomen}}

Ingredient

Firefly's Abdomen can be used in crafting:
NameIngredientsMerchant
Flanged Mace1
Firefly's Abdomen1
Broken Skull3
Gold Ingot3
Weaponsmith

Example

{{Ingredient|Gold}}

Ingredient

Gold can be used in crafting:

Example

{{Ingredient|Gold Coin}}

Example

{{Ingredient|Silver Ore}}

Ingredient

Silver Ore can be used in crafting: