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

Latest revision as of 03:15, 19 August 2024

Code Preview
{{GenerateUtilityTabs|Lantern}}
 II 
 III 
 IV 
 V 
 VI 
 VII 
Lantern.png
Type:
LightSource
2x2InvSlot.jpg
Stack Size:
1
Gear Score:
1
Sell Price:
0
A lantern useful for lighting up the darkness.
Lantern.png
Type:
LightSource
2x2InvSlot.jpg
Stack Size:
1
Gear Score:
2
Sell Price:
15
A lantern useful for lighting up the darkness.
Lantern.png
Type:
LightSource
2x2InvSlot.jpg
Stack Size:
1
Gear Score:
21
Sell Price:
20
Item Achieve:
4
A lantern useful for lighting up the darkness.
Lantern.png
Type:
LightSource
2x2InvSlot.jpg
Stack Size:
1
Gear Score:
28
Sell Price:
30
Item Achieve:
8
A lantern useful for lighting up the darkness.
Lantern.png
Type:
LightSource
2x2InvSlot.jpg
Stack Size:
1
Gear Score:
42
Sell Price:
40
Item Achieve:
12
A lantern useful for lighting up the darkness.
Lantern.png
Type:
LightSource
2x2InvSlot.jpg
Stack Size:
1
Gear Score:
56
Sell Price:
50
Item Achieve:
20
A lantern useful for lighting up the darkness.
{{GenerateUtilityTabs|Potion of Healing}}
 II 
 III 
 IV 
 V 
 VI 
 VII 
Potion of Healing.png
-
Move Speed -20
-
Heals 20 health points over 20 seconds. This counts as magical base healingand has 50% scaling. 
Type:
Drink
1x1InvSlot.jpg
Stack Size:
3
Gear Score:
0
Sell Price:
0
Potion used to recover a bit of health.
Potion of Healing.png
-
Move Speed -20
-
Heals 20 health points over 17.5 seconds. This counts as magical base healingand has 50% scaling. 
Type:
Drink
1x1InvSlot.jpg
Stack Size:
3
Gear Score:
0
Sell Price:
2
Potion used to recover a bit of health.
Potion of Healing.png
-
Move Speed -20
-
Heals 20 health points over 15 seconds. This counts as magical base healingand has 50% scaling. 
Type:
Drink
1x1InvSlot.jpg
Stack Size:
3
Gear Score:
6
Sell Price:
3
Potion used to recover a bit of health.
Potion of Healing.png
-
Move Speed -20
-
Heals 20 health points over 12.5 seconds. This counts as magical base healingand has 50% scaling. 
Type:
Drink
1x1InvSlot.jpg
Stack Size:
3
Gear Score:
8
Sell Price:
5
Potion used to recover a bit of health.
Potion of Healing.png
-
Move Speed -20
-
Heals 20 health points over 10 seconds. This counts as magical base healingand has 50% scaling. 
Type:
Drink
1x1InvSlot.jpg
Stack Size:
3
Gear Score:
12
Sell Price:
9
Potion used to recover a bit of health.
Potion of Healing.png
-
Move Speed -20
-
Heals 20 health points over 7.5 seconds. This counts as magical base healingand has 50% scaling. 
Type:
Drink
1x1InvSlot.jpg
Stack Size:
3
Gear Score:
16
Sell Price:
14
Potion used to recover a bit of health.
{{GenerateUtilityTabs|Campfire Kit}}
 II 
 III 
 IV 
 V 
 VI 
 VII 
Campfire Kit.png
-
Move Speed -20
-
Type:
Installable,CampfireKit
Interaction Time:
10 s (100% Scaling)
2x2InvSlot.jpg
Stack Size:
1
Gear Score:
0
Sell Price:
0
A crackling campfire that you can rest near and recover.
Campfire Kit.png
-
Move Speed -20
-
Type:
Installable,CampfireKit
Interaction Time:
10 s (100% Scaling)
2x2InvSlot.jpg
Stack Size:
1
Gear Score:
0
Sell Price:
5
A crackling campfire that you can rest near and recover.
Campfire Kit.png
-
Move Speed -20
-
Type:
Installable,CampfireKit
Interaction Time:
10 s (100% Scaling)
2x2InvSlot.jpg
Stack Size:
1
Gear Score:
6
Sell Price:
7
A crackling campfire that you can rest near and recover.
Campfire Kit.png
-
Move Speed -20
-
Type:
Installable,CampfireKit
Interaction Time:
10 s (100% Scaling)
2x2InvSlot.jpg
Stack Size:
1
Gear Score:
8
Sell Price:
11
A crackling campfire that you can rest near and recover.
Campfire Kit.png
-
Move Speed -20
-
Type:
Installable,CampfireKit
Interaction Time:
10 s (100% Scaling)
2x2InvSlot.jpg
Stack Size:
1
Gear Score:
12
Sell Price:
19
A crackling campfire that you can rest near and recover.
Campfire Kit.png
-
Move Speed -20
-
Type:
Installable,CampfireKit
Interaction Time:
10 s (100% Scaling)
2x2InvSlot.jpg
Stack Size:
1
Gear Score:
16
Sell Price:
30
A crackling campfire that you can rest near and recover.
{{GenerateUtilityTabs|Pickaxe}}
 II 
 III 
 IV 
 V 
 VI 
 VII 
Pickaxe.png
-
Physical Base Weapon Damage 25
-
-
Regular Interaction Speed 1%
-
-
Move Speed -45
-
Enables the player to interact with mining nodes to produce ore.
Type:
Mining
2x3InvSlot.jpg
Stack Size:
1
Gear Score:
0
Sell Price:
0
A trusty iron pickaxe that can chip away at most ore.
Pickaxe.png
-
Physical Base Weapon Damage 26~27
-
-
Regular Interaction Speed 3%
-
-
Move Speed -45
-
Enables the player to interact with mining nodes to produce ore.
Type:
Mining
2x3InvSlot.jpg
Stack Size:
1
Gear Score:
0
Sell Price:
3
A trusty iron pickaxe that can chip away at most ore.
Pickaxe.png
-
Physical Base Weapon Damage 28~29
-
-
Regular Interaction Speed 5%
-
-
Move Speed -45
-
Enables the player to interact with mining nodes to produce ore.
Type:
Mining
2x3InvSlot.jpg
Stack Size:
1
Gear Score:
6
Sell Price:
4
Item Achieve:
6
A trusty iron pickaxe that can chip away at most ore.
Pickaxe.png
-
Physical Base Weapon Damage 30~31
-
-
Regular Interaction Speed 10%
-
-
Move Speed -45
-
Enables the player to interact with mining nodes to produce ore.
Type:
Mining
2x3InvSlot.jpg
Stack Size:
1
Gear Score:
8
Sell Price:
6
Item Achieve:
12
A trusty iron pickaxe that can chip away at most ore.
Pickaxe.png
-
Physical Base Weapon Damage 32
-
-
Regular Interaction Speed 15%
-
-
Move Speed -45
-
Enables the player to interact with mining nodes to produce ore.
Type:
Mining
2x3InvSlot.jpg
Stack Size:
1
Gear Score:
12
Sell Price:
9
Item Achieve:
18
A trusty iron pickaxe that can chip away at most ore.
Pickaxe.png
-
Physical Base Weapon Damage 33
-
-
Regular Interaction Speed 20%
-
-
Move Speed -45
-
Enables the player to interact with mining nodes to produce ore.
Type:
Mining
2x3InvSlot.jpg
Stack Size:
1
Gear Score:
16
Sell Price:
15
Item Achieve:
30
A trusty iron pickaxe that can chip away at most ore.