From Dark and Darker Wiki
|  (Moved stack size below the InvSlots image.) |  (Added fields for Prop Interaction AP) | ||
| Line 8: | Line 8: | ||
| 		-->{{#if:{{{stats|}}}<!-- | 		-->{{#if:{{{stats|}}}<!-- | ||
| 			-->|<div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div><!-- Line --> | 			-->|<div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div><!-- Line --> | ||
| 				<div style="display:flex; flex-direction:column; align-items:center; text-align:center"> | 				<div style="display:flex; flex-direction:column; align-items:center; text-align:center"><!-- | ||
| 					{{#arraydefine:stats|{{{stats|}}}}}{{ | 					-->{{#arraydefine:stats|{{{stats|}}}}}<!-- | ||
| 					-->{{#loop:i|0|{{#arraysize:stats}}<!-- | |||
| 						-->|{{#vardefine:stat|{{#arrayindex:stats|{{#var:i}} }} }}<!-- | |||
| 						| | |||
| 						--><div style="{{#ifeq:{{ #var:i }}|0||margin-top:10px;}}display:flex;width:100%;flex-direction:row; justify-content:space-between;"><!-- | 						--><div style="{{#ifeq:{{ #var:i }}|0||margin-top:10px;}}display:flex;width:100%;flex-direction:row; justify-content:space-between;"><!-- | ||
| 							--><div style="padding:0px 5px;" class="bold">-</div><!-- | 							--><div style="padding:0px 5px;" class="bold">-</div><!-- | ||
| Line 142: | Line 139: | ||
| 					--><div style="text-align:right; color:rgb(70,70,70)">Stack Size: </div><!-- | 					--><div style="text-align:right; color:rgb(70,70,70)">Stack Size: </div><!-- | ||
| 					--><div style="color:rgb(160,160,140)">{{{stacksize}}}</div></div>}} }}<!-- | 					--><div style="color:rgb(160,160,140)">{{{stacksize}}}</div></div>}} }}<!-- | ||
| 		-->{{#if:{{{experience|}}}{{{xp|}}}{{{monsterkill|}}}{{{subbosskill|}}}{{{bosskill|}}}{{{itemachieve|}}}{{{treasure|}}}<!-- | 		-->{{#if:{{{experience|}}}{{{xp|}}}{{{monsterkill|}}}{{{subbosskill|}}}{{{bosskill|}}}{{{highendpropinteraction|}}}{{{propinteraction|}}}{{{itemachieve|}}}{{{treasure|}}}<!-- | ||
| 			-->|<div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div><!-- | 			-->|<div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div><!-- | ||
| 			-->{{#if:{{{experience|}}}{{{xp|}}}<!-- | 			-->{{#if:{{{experience|}}}{{{xp|}}}<!-- | ||
| Line 149: | Line 146: | ||
| 					--><div style="color:rgb(160,160,140)">{{{experience|}}}{{{xp|}}}</div></div>}}<!-- | 					--><div style="color:rgb(160,160,140)">{{{experience|}}}{{{xp|}}}</div></div>}}<!-- | ||
| 			--><div style="text-align:center; color:rgb(70,70,70); font-size:18px">Adventure Points</div><!-- | 			--><div style="text-align:center; color:rgb(70,70,70); font-size:18px">Adventure Points</div><!-- | ||
| 			-->{{#if:{{{propinteraction|}}}<!-- | |||
| 				-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 					--><div style="text-align:right; color:rgb(70,70,70)">Props Interaction: </div><!-- | |||
| 					--><div style="color:rgb(160,160,140)">{{{propinteraction|}}}</div></div>}}<!-- | |||
| 			-->{{#if:{{{highendpropinteraction|}}}<!-- | |||
| 				-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 					--><div style="text-align:right; color:rgb(70,70,70)">High-End Props Interaction: </div><!-- | |||
| 					--><div style="color:rgb(160,160,140)">{{{highendpropinteraction|}}}</div></div>}}<!-- | |||
| 			-->{{#if:{{{monsterkill|}}}<!-- | 			-->{{#if:{{{monsterkill|}}}<!-- | ||
| 				-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | 				-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | ||
| Line 209: | Line 214: | ||
| 	|picklockduration=3 | 	|picklockduration=3 | ||
| 	|interactioncount=2~4 | 	|interactioncount=2~4 | ||
| 	|propinteraction=5 | |||
| 	|highendpropinteraction=15 | |||
| 	|monsterkill=1 | 	|monsterkill=1 | ||
| 	|subbosskill=2 | 	|subbosskill=2 | ||
| Line 249: | Line 256: | ||
| 				-->|picklockduration=3<!-- | 				-->|picklockduration=3<!-- | ||
| 				-->|interactioncount=2~4<!-- | 				-->|interactioncount=2~4<!-- | ||
| 				-->|propinteraction=5<!-- | |||
| 				-->|highendpropinteraction=15<!-- | |||
| 				-->|monsterkill=1<!-- | 				-->|monsterkill=1<!-- | ||
| 				-->|subbosskill=2<!-- | 				-->|subbosskill=2<!-- | ||
Revision as of 17:36, 5 June 2024
Creates an infobox for a weapon.
Example
| Code | Preview | 
|---|---|
| An example with all options, the information is not correct {{Infobox
	|name		=Arming Sword
	|image		=Arming Sword 7
	|rarity		=7
	|stats		=Weapon Damage 2,Move Speed -20,Agility 1,Knowledge 4,Will 2
	|special	=Smites enemies for 40 extra damage
	|effect		=Heal 15 HP over 20 seconds
	|classes	=[[Fighter]]
	|slottype	=Primary Weapon
	|handtype	=One-Handed
	|weapontype	=[[Sword]]
	|utilitytype	=Throw
	|actiontime	=1 second
	|attackspeed	=0.6s/0.56s/0.75s
	|reloadspeed	=3.67 seconds
	|quiversize	=7 arrows
	|stacksize	=3
	|invslots	=[[File:2x3InvSlot.jpg]]
	|combo		=Slash/Slash/Pierce
	|combodamage	=100%/100%/150%
	|impactzones	=100%/90%/70%
	|hitbox		=70.5 x 17.2
	|actionmovementspeed=Attack -25% <br> Blockreaction: -3% <br> Riposte: -30% <br> Riposteattack: -30%
	|duration=5
	|openduration=3
	|picklockduration=3
	|interactioncount=2~4
	|propinteraction=5
	|highendpropinteraction=15
	|monsterkill=1
	|subbosskill=2
	|bosskill=3
	|itemachieve=4
	|treasure=5
	|description	=Made from attenuated wood overlaid with leather, 
			 providing moredefenses and stability against brunt attacks.
	|nofloat	=used for in text infobox
	|nomargin	=used for tabs
	|size	=50x50px}}This usage is not recommended, just here as an example | Arming Sword  - Weapon Damage 2 - - Move Speed -20 - - Agility 1 - - Knowledge 4 - - Will 2 - - Smites enemies for 40 extra damage - 
					Heal 15 HP over 20 seconds Required Class:  Armor Type:  Utility Type:  Throw Slot Type:  Primary Weapon Hand Type:  One-Handed Action Time:  1 second Attack Speed:  0.6s/0.56s/0.75s Reload Speed:  3.67 seconds Quiver Size:  7 arrows Combo:  Slash/Slash/Pierce Combo Damage:  100%/100%/150% Impact Zones:  100%/90%/70% Hitbox:  70.5 x 17.2 Action Move Speed Attack -25%  Blockreaction: -3% Riposte: -30% Riposteattack: -30% Duration:  5 s Opening:  3 s Picking Lock:  3 s Interaction Count:  2~4 Stack Size:  3 Experience Points 50 Adventure Points Props Interaction:  5 High-End Props Interaction:  15 Monster Kill:  1 Subboss Kill:  2 Boss Kill:  3 Item Achieve:  4 Treasure:  5 Made from attenuated wood overlaid with leather, providing more defenses and stability against brunt attacks. | 
 
						 
					