From Dark and Darker Wiki

(Created page with "<includeonly><!-- -->{{Infobox |name ={{{1}}} |image ={{{1}}} |rarity ={{{2|{{#explode:{{Item Data|Utility|{{{1}}}|rarities}}|,|-1}}}}} |type ={{Item Data|Utility|{{{1}}}|types|all}} |description ={{Item Data|Utility|{{{1}}}|flavortext}} |invslots ={{Item Data|Utility|{{{1}}}|invslots}} |stacksize ={{Item Data|Utility|{{{1}}}|maxcount}} |nomargin =1 |nofloat =1 }}</includeonly><noinclude> Auto creates Utility infobox ==Example== <pre> {{GenerateMiscInfobox|...")
 
No edit summary
Line 1: Line 1:
<includeonly><!--
<includeonly>{{#vardefine:rarities|{{Item Data|Utility|{{{1}}}|rarities}}}}<!--
-->{{Infobox
-->{{#if:{{#pos:{{#var:rarities}}|,}}<!--
|name ={{{1}}}
-->|{{Tabs
|image ={{{1}}}
|firstShownTier={{#expr:{{#explode:{{Item Data|Utility|{{{1}}}|rarities}}|,|0|2}}+1}}
|rarity ={{{2|{{#explode:{{Item Data|Utility|{{{1}}}|rarities}}|,|-1}}}}}
|content1 ={{#if:{{#pos:{{Item Data|Utility|{{{1}}}|rarities}}|0}}<!--
|type ={{Item Data|Utility|{{{1}}}|types|all}}
-->|{{GenerateUtilityInfobox|{{{1}}}|0}}}}
|description ={{Item Data|Utility|{{{1}}}|flavortext}}
|content2 ={{#if:{{#pos:{{Item Data|Utility|{{{1}}}|rarities}}|1}}<!--
|invslots ={{Item Data|Utility|{{{1}}}|invslots}}
-->|{{GenerateUtilityInfobox|{{{1}}}|1}}}}
|stacksize ={{Item Data|Utility|{{{1}}}|maxcount}}
|content3 ={{#if:{{#pos:{{Item Data|Utility|{{{1}}}|rarities}}|2}}<!--
|nomargin =1
-->|{{GenerateUtilityInfobox|{{{1}}}|2}}}}
|nofloat =1
|content4 ={{#if:{{#pos:{{Item Data|Utility|{{{1}}}|rarities}}|3}}<!--
}}</includeonly><noinclude>
-->|{{GenerateUtilityInfobox|{{{1}}}|3}}}}
Auto creates Utility infobox
|content5 ={{#if:{{#pos:{{Item Data|Utility|{{{1}}}|rarities}}|4}}<!--
==Example==
-->|{{GenerateUtilityInfobox|{{{1}}}|4}}}}
<pre>
|content6 ={{#if:{{#pos:{{Item Data|Utility|{{{1}}}|rarities}}|5}}<!--
{{GenerateMiscInfobox|Campfire Kit}}
-->|{{GenerateMiscInfobox|{{{1}}}|5}}}}
{{GenerateMiscInfobox|Pickaxe}}
|content7 ={{#if:{{#pos:{{Item Data|Utility|{{{1}}}|rarities}}|6}}<!--
{{GenerateMiscInfobox|Lantern}}</pre>
-->|{{GenerateUtilityInfobox|{{{1}}}|6}}}}
<table cellspacing="0" class="wikitable sortable jquery-tablesorter" style="width:95%;color:#eee; background:transparent; text-align:center; vertical-align:middle;">
|content8 ={{#if:{{#pos:{{Item Data|Utility|{{{1}}}|rarities}}|7}}<!--
{{GenerateMiscInfobox|Campfire Kit}}
-->|{{GenerateUtilityInfobox|{{{1}}}|7}}}}
{{GenerateMiscInfobox|Pickaxe}}
}}<!--
{{GenerateMiscInfobox|Lantern}}
-->|<div class="cardtabs" data-cardtabs>{{GenerateUtilityInfobox|{{{1}}}}}</div>}}
</table>
</includeonly><noinclude>
</noinclude>
<table class="wikitable">
<tr>
<th>Code</th>
<th>Preview</th>
</tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{GenerateUtilityTabs|Lantern}}</pre>
</td>
<td style="padding: 20px 30px;">
{{GenerateUtilityTabs|Lantern}}
</td>
</tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{GenerateUtilityTabs|Campfire Kit}}</pre>
</td>
<td style="padding: 20px 30px;">
{{GenerateUtilityTabs|Campfire Kit}}
</td>
</tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{GenerateUtilityTabs|Pickaxe}}</pre>
</td>
<td style="padding: 20px 30px;">
{{GenerateUtilityTabs|Pickaxe}}
</td>
</tr>
</table></noinclude>

Revision as of 02:11, 18 March 2024

Code Preview
{{GenerateUtilityTabs|Lantern}}
Lantern.png
Type:
LightSource
2x2InvSlot.jpg
Stack Size:
1
A lantern useful for lighting up the darkness.
{{GenerateUtilityTabs|Campfire Kit}}
Campfire Kit.png
-
Move Speed -20
-
Type:
Installable,CampfireKit
Interaction Time:
10 s (100% Scaling)
2x2InvSlot.jpg
Stack Size:
1
A crackling campfire that you can rest near and recover.
{{GenerateUtilityTabs|Pickaxe}}
Pickaxe.png
-
Physical Base Weapon Damage
-
-
Regular Interaction Speed
-
-
Move Speed -45
-
Enables the player to interact with mining nodes to produce ore.
Type:
Mining
2x3InvSlot.jpg
Stack Size:
1
A trusty iron pickaxe that can chip away at most ore.