From Dark and Darker Wiki
No edit summary |
(Added example. Added missing default PAGENAME.) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | |||
-->{{#arraydefine:merchants|{{{{{ingredientcategory|Misc}}} Data|{{{1|{{PAGENAME}}}}}|incraftingrecipefor}}}}<!-- | |||
--><div {{#ifeq:{{#arraysize:merchants}}|0|style="display:none"}}> | |||
==Ingredient== | ==Ingredient== | ||
{{{1|{{PAGENAME}}}}} can be used in [[crafting]]:<!-- | |||
{{ | -->{{#loop:i|0|{{#arraysize:merchants}}<!-- | ||
{{ | -->|{{#vardefine:merchant|{{#arrayindex:merchants|{{#var:i}}}}}}<!-- | ||
}} | -->{{GenerateCraftingTable|{{#var:merchant}}|ingredient={{{1|{{PAGENAME}}}}}|ingredientcategory={{{ingredientcategory|Misc}}}}}}}</div><!-- | ||
--></includeonly><noinclude> | |||
If the template is being used for non-Misc items, the category argument is required. | |||
=Example= | |||
<pre style="width:fit-content">{{Ingredient|Potion of Healing|category=Utility}}</pre> | |||
{{Ingredient|Potion of Healing|ingredientcategory=Utility}} | |||
=Example= | |||
<pre style="width:fit-content">{{Ingredient|Cyclops's Club}}</pre> | |||
{{Ingredient|Cyclops's Club}} | |||
=Example= | |||
<pre style="width:fit-content">{{Ingredient|Firefly's Abdomen}}</pre> | |||
{{Ingredient|Firefly's Abdomen}} | |||
=Example= | |||
<pre style="width:fit-content">{{Ingredient|Gold}}</pre> | |||
{{Ingredient|Gold}} | |||
=Example= | |||
<pre style="width:fit-content">{{Ingredient|Gold Coin}}</pre> | |||
{{Ingredient|Gold Coin}} | |||
=Example= | |||
<pre style="width:fit-content">{{Ingredient|Silver Ore}}</pre> | |||
{{Ingredient|Silver Ore}} | |||
</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}}
Ingredient
Potion of Healing can be used in crafting:Name | Ingredients | Merchant | Affinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it! |
---|---|---|---|
Alchemist | 0 | ||
Alchemist | 25 | ||
Alchemist | 50 | ||
Alchemist | ? | ||
Example
{{Ingredient|Cyclops's Club}}
Ingredient
Cyclops's Club can be used in crafting:Name | Ingredients | Merchant | Affinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it! |
---|---|---|---|
Weaponsmith | 150 | ||
Example
{{Ingredient|Firefly's Abdomen}}
Ingredient
Firefly's Abdomen can be used in crafting:Name | Ingredients | Merchant | Affinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it! |
---|---|---|---|
Weaponsmith | 150 | ||
Example
{{Ingredient|Gold}}
Example
{{Ingredient|Gold Coin}}
Ingredient
Gold Coin can be used in crafting:Name | Ingredients | Merchant | Affinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it! |
---|---|---|---|
Alchemist | 100 | ||
Alchemist | 100 | ||
Name | Ingredients | Merchant | Affinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it! |
---|---|---|---|
Leathersmith | 75 | ||
Leathersmith | 75 | ||
Leathersmith | 75 | ||
Leathersmith | 75 | ||
Leathersmith | 75 | ||
Leathersmith | 75 | ||
Leathersmith | 150 | ||
Name | Ingredients | Merchant | Affinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it! |
---|---|---|---|
Tailor | 100 | ||
Tailor | 100 | ||
Tailor | 100 | ||
Tailor | 100 | ||
Tailor | 100 | ||
Tailor | 150 | ||
Name | Ingredients | Merchant | Affinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it! |
---|---|---|---|
Weaponsmith | 150 | ||
Weaponsmith | 150 | ||
Weaponsmith | 150 | ||
Weaponsmith | 150 | ||
Weaponsmith | 150 | ||
Weaponsmith | 150 | ||
Weaponsmith | 150 | ||
Weaponsmith | 150 | ||
Weaponsmith | 150 | ||
Weaponsmith | 150 | ||
Weaponsmith | 150 | ||
Weaponsmith | 150 | ||
Weaponsmith | 150 | ||
Example
{{Ingredient|Silver Ore}}