From Dark and Darker Wiki
| mNo edit summary | m (Cleaning up formatting with whitespace comments.) | ||
| Line 1: | Line 1: | ||
| <includeonly> | <includeonly> | ||
| <div style="{{#if:{{{nomargin|}}}||margin-left:10px;}}background-color: rgb(var(--background-color),0.3); max-width:470px; {{#ifeq:{{{nofloat|}}}|1||float:right;}}"> | <div style="{{#if:{{{nomargin|}}}||margin-left:10px;}}background-color:rgb(var(--background-color),0.3); max-width:470px; {{#ifeq:{{{nofloat|}}}|1||float:right;}}"> | ||
| 	<div style="width: 280px;padding:20px; box-shadow: inset 0px 0px 20px 5px rgb(0 0 0 / 0.5);display:flex; flex-direction:column; align-items:center;background-color: rgb(var(--rarity-{{{rarity|}}}),0.05);border:2px solid rgb(var(--rarity-{{{rarity|1}}}),0.5);"class="itemboxheader"> | 	<div style="width: 280px;padding:20px; box-shadow: inset 0px 0px 20px 5px rgb(0 0 0 / 0.5);display:flex; flex-direction:column; align-items:center;background-color:rgb(var(--rarity-{{{rarity|}}}),0.05);border:2px solid rgb(var(--rarity-{{{rarity|1}}}),0.5);"class="itemboxheader"> | ||
| 		<div class="bold colorrarity{{{rarity}}}" style="margin-top:0px!important;font-size:22px;">{{{name}}}</div>   | 		<div class="bold colorrarity{{{rarity}}}" style="margin-top:0px!important;font-size:22px;">{{{name}}}</div></div> | ||
| 	<div style="width: 280px; border:2px solid rgb(70,70,70,0.5); padding:20px;"> | 	<div style="width: 280px; border:2px solid rgb(70,70,70,0.5); padding:20px;"> | ||
| 		<div style="display:flex; flex-direction:column; align-items:center;"> | 		<div style="display:flex; flex-direction:column; align-items:center;"><!-- | ||
| 			-->{{Iconbox|{{{name}}}|image={{{image|{{{name}}}}}}.png|caption=no|nolink=1|size={{{size|100x200px}}}}}</div><!-- | |||
| 		-->{{#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 style="display:flex; flex-direction:column; align-items:center; text-align:center"> | |||
| 					{{#arraydefine:stats|{{{stats|}}}}}{{ | |||
| {{ #arraydefine: stats | {{{stats|}}}}} | 						#loop: i | ||
| {{ | 						|0 | ||
| 						|{{#arraysize:stats}} | |||
| 						|<nowiki/> | |||
| 						{{#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="padding:0px 5px;" class="bold">-</div><!-- | |||
| 							--><div>{{ #var:stat }}</div><!-- | |||
| 							--><div style="padding:0px 5px;" class="bold">-</div></div>}}<!-- | |||
| 					-->{{#if:{{{enchantments|}}}<!-- | |||
| 						-->|<div style="margin-top:10px; display:flex; width:100%;flex-direction:row; justify-content:space-between;"><!-- | |||
| 							--><div style="padding:0px 5px;" class="bold colorrarity4">-</div><!-- | |||
| 							--><div class="colorrarity4">Up to {{{enchantments}}} extra enchantments</div><!-- | |||
| 							--><div style="padding:0px 5px;" class="bold colorrarity4">-</div></div>}}<!-- | |||
| 					-->{{#if:{{{special|}}}<!-- | |||
| 						-->|<div style="margin-top:10px; display:flex; width:100%; flex-direction:row; justify-content:space-between;"><!-- | |||
| 							--><div style="padding:0px 5px; color:rgb(211,178,125);" class="bold">-</div><!-- | |||
| 							--><div style="color:rgb(211,178,125);">{{{special}}}</div><!-- | |||
| 							--><div style="padding:0px 5px; color:rgb(211,178,125);" class="bold">-</div></div>}}</div>}}<!-- | |||
| 		-->{{#if:{{{effect|}}}<!-- | |||
| 				-->|<div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div><!-- | |||
| 				--><div style="display:flex; flex-direction:column; align-items:center; font-size:18px; text-align:center;"> | |||
| 					{{{effect}}}</div>}}<!-- | |||
| 		-->{{#if:{{{classes|}}}{{{type|}}}{{{armortype|}}}{{{weapontype|}}}{{{utilitytype|}}}{{{slottype|}}}{{{handtype|}}}{{{actiontime|}}}{{{attackspeed|}}}{{{reloadspeed|}}}{{{quiversize|}}}{{{stacksize|}}}<!-- | |||
| 				-->|<div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div><!-- | |||
| 				-->{{#if:{{{classes|}}}<!-- | |||
| 					-->|<div style="margin-bottom:5px; display:flex; flex-direction:column; align-items: center;"><!-- | |||
| 						--><div style="color:rgb(70,70,70)">Required Class: </div><!-- | |||
| 						--><div style="color:rgb(160,160,140)">{{{classes}}}</div></div>}}<!-- | |||
| 				-->{{#if:{{{type|}}}<!-- | |||
| 					-->|<div style="margin-bottom:5px; display:flex; flex-direction:column; align-items: center;"><!-- | |||
| 						--><div style="color:rgb(70,70,70)">Type:<br></div><!-- | |||
| 						--><div style="color:rgb(160,160,140)">{{{type|}}}</div></div>}}<!-- | |||
| 				-->{{#if:{{{armortype|}}}{{{weapontype|}}}<!-- | |||
| 					-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 						--><div style="text-align:right; color:rgb(70,70,70)">Type: </div><!-- | |||
| 						--><div style="color:rgb(160,160,140)">{{{armortype|}}}{{{weapontype|}}}</div></div>}}<!-- | |||
| 				-->{{#if:{{{utilitytype|}}}<!-- | |||
| 					-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 						--><div style="text-align:right; color:rgb(70,70,70)">Utility Type: </div><!-- | |||
| 						--><div style="color:rgb(160,160,140)">{{{utilitytype}}}</div></div>}}<!-- | |||
| 				-->{{#if:{{{slottype|}}}<!-- | |||
| 					-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 						--><div style="text-align:right; color:rgb(70,70,70)">Slot Type: </div><!-- | |||
| 						--><div style="color:rgb(160,160,140)">{{{slottype}}}</div></div>}}<!-- | |||
| 				-->{{#if:{{{handtype|}}}<!-- | |||
| 					-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 						--><div style="text-align:right; color:rgb(70,70,70)">Hand Type: </div><!-- | |||
| 						--><div style="color:rgb(160,160,140)">{{{handtype}}}</div></div>}}<!-- | |||
| 				-->{{#if:{{{actiontime|}}}<!-- | |||
| 					-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 						--><div style="text-align:right; color:rgb(70,70,70)">Action Time: </div><!-- | |||
| 						--><div style="color:rgb(160,160,140)">{{{actiontime}}}</div></div>}}<!-- | |||
| 				-->{{#if:{{{attackspeed|}}}<!-- | |||
| 					-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 						--><div style="text-align:right; color:rgb(70,70,70)">Attack Speed: </div><!-- | |||
| 						--><div style="color:rgb(160,160,140)">{{{attackspeed}}}</div></div>}}<!-- | |||
| 				-->{{#if:{{{reloadspeed|}}}<!-- | |||
| 					-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 						--><div style="text-align:right; color:rgb(70,70,70)">Reload Speed: </div><!-- | |||
| 						--><div style="color:rgb(160,160,140)">{{{reloadspeed}}}</div></div>}}<!-- | |||
| 				-->{{#if:{{{quiversize|}}}<!-- | |||
| 					-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 						--><div style="text-align:right; color:rgb(70,70,70)">Quiver Size: </div><!-- | |||
| 						--><div style="color:rgb(160,160,140)">{{{quiversize}}}</div></div>}}<!-- | |||
| 				-->{{#if:{{{stacksize|}}}<!-- | |||
| 					-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 						--><div style="text-align:right; color:rgb(70,70,70)">Stack Size: </div><!-- | |||
| 						--><div style="color:rgb(160,160,140)">{{{stacksize}}}</div></div>}} }}<!-- | |||
| 		-->{{#if:{{{combo|}}}<!-- | |||
| 			-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 				--><div style="text-align:right; color:rgb(70,70,70)">Combo: </div><!-- | |||
| 				--><div style="color:rgb(160,160,140)">{{{combo}}}</div></div>}}<!-- | |||
| 		-->{{#if:{{{combodamage|}}}<!-- | |||
| 			-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 				--><div style="text-align:right; color:rgb(70,70,70)">Combo Damage: </div><!-- | |||
| 				--><div style="color:rgb(160,160,140)">{{{combodamage}}}</div></div>}}<!-- | |||
| 		-->{{#if:{{{impactzones|}}}<!-- | |||
| 			-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 				--><div style="text-align:right; color:rgb(70,70,70)">Impact Zones: </div><!-- | |||
| 				--><div style="color:rgb(160,160,140)">{{{impactzones}}}</div></div>}}<!-- | |||
| 		-->{{#if:{{{hitbox|}}}<!-- | |||
| 			-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 				--><div style="text-align:right; color:rgb(70,70,70)">Hitbox: </div><!-- | |||
| 				--><div style="color:rgb(160,160,140)">{{{hitbox}}}</div></div>}}<!-- | |||
| 		-->{{#if:{{{projectilespeed|}}}<!-- | |||
| 			-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 				--><div style="text-align:right; color:rgb(70,70,70)">Projectile Speed: </div><!-- | |||
| 				--><div style="color:rgb(160,160,140)">{{{projectilespeed}}}</div></div>}}<!-- | |||
| 		-->{{#if:{{{pierce|}}}<!-- | |||
| 			-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 				--><div style="text-align:right; color:rgb(70,70,70)">Pierce: </div><!-- | |||
| 				--><div style="color:rgb(160,160,140)">{{{pierce}}}</div></div>}}<!-- | |||
| 		-->{{#if:{{{actionmovementspeed|}}}<!-- | |||
| 			-->|<div style="margin-bottom:5px; display:flex; flex-direction:column; align-items: center;"><!-- | |||
| 				--><div style="color:rgb(70,70,70)">Action Move Speed<br></div><!-- | |||
| 				--><div style="color:rgb(160,160,140)">{{{actionmovementspeed}}}</div></div>}}<!-- | |||
| 		-->{{#if:{{{experience|}}}<!-- | |||
| 			-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 				--><div style="text-align:right; color:rgb(70,70,70)">Experience Points: </div><!-- | |||
| 				--><div style="color:rgb(160,160,140)">{{{experience}}}</div></div>}}<!-- | |||
| 		-->{{#if:{{{adventurepoints|}}}<!-- | |||
| 			-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 				--><div style="text-align:right; color:rgb(70,70,70)">Adventure Points: </div><!-- | |||
| 				--><div style="color:rgb(160,160,140)">{{{adventurepoints}}}</div></div>}}<!-- | |||
| 		-->{{#if:{{{race|}}}<!-- | |||
| 			-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 				--><div style="text-align:right; color:rgb(70,70,70)">Race: </div><!-- | |||
| 				--><div style="color:rgb(160,160,140)">{{{race}}}</div></div>}}<!-- | |||
| 		-->{{#if:{{{location|}}}<!-- | |||
| 			-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
| 				--><div style="text-align:right; color:rgb(70,70,70)">Location: </div><!-- | |||
| 				--><div style="color:rgb(160,160,140)">{{{location}}}</div></div>}}<!-- | |||
| 		-->{{#if:{{{invslots|}}}<!-- | |||
| 			-->|<div style="display:flex; margin-top:10px; flex-direction:column; align-items:center; text-align:center;">{{{invslots}}}</div>}}<!-- | |||
| 		-->{{#if:{{{description|}}}<!-- | |||
| 			-->|<div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div><!-- | |||
| 			--><div style="color:rgb(115,83,67);display:flex; flex-direction:column; align-items:center; text-align:center;">{{{description}}}</div>}}</div></div><!-- | |||
| --></includeonly><noinclude> | |||
| </includeonly> | |||
| <noinclude> | |||
| Creates an infobox for a weapon. | Creates an infobox for a weapon. | ||
| == Example == | == Example == | ||
| <table class="wikitable"> | <table class="wikitable"> | ||
| 	<tr> | 	<tr> | ||
| 		<th>Code</th> | 		<th>Code</th> | ||
| 		<th>Preview</th> | 		<th>Preview</th> | ||
| 	</tr><tr> | 	</tr> | ||
| 		<td style="padding: 20px 30px;"> | 	<tr> | ||
| <pre> | 		<td style="padding: 20px 30px;"><!-- | ||
| 			-->An example with all options, the information is not correct<!-- | |||
| {{Infobox | 			--><pre>{{Infobox | ||
| |name  | 	|name		=Arming Sword | ||
| |description =  | 	|image		=Arming Sword 7 | ||
| }}</ | 	|rarity		=7 | ||
| 		<td style="padding: 20px 30px;"> | 	|stats		=Weapon Damage 2,Move Speed -20,Agility 1,Knowledge 4,Will 2 | ||
| {{Infobox | 	|special	=Smites enemies for 40 extra damage | ||
| |name  | 	|effect		=Heal 15 HP over 20 seconds | ||
| |description =  | 	|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 | |||
| 	|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% | |||
| 	|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}}</pre> | |||
| This usage is not recommended, just here as an example  | |||
| 		</td> | |||
| 		<td style="padding: 20px 50px;"><!-- | |||
| 			-->{{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<!-- | |||
| 				-->|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%<!-- | |||
| 				-->|description	=Made from attenuated wood overlaid with leather, providing more defenses and stability against brunt attacks.<!-- | |||
| 				-->|nofloat	=used for in text infobox<!-- | |||
| 				-->|nomargin	=used for tabs<!-- | |||
| 				-->|size	=50x50px<!-- | |||
| 				-->|invslots	=[[File:1x3InvSlot.jpg|x75px]]}} | |||
| 		</td> | |||
| 	</tr> | |||
| 	<tr> | |||
| 		<td style="padding: 20px 30px;"><!-- | |||
| 			--><pre>{{Infobox | |||
| 	|name		=Healing Potion | |||
| 	|rarity		=4 | |||
| 	|stats		=Move Speed -20,1 Agility | |||
| 	|effect		=15 HP healed over 20 seconds | |||
| 	|slottype	=Utility | |||
| 	|utilitytype	=Drink | |||
| 	|actiontime	=6 seconds | |||
| 	|description	=Potion used to recover a bit of health | |||
| 	|nomargin	=1}}</pre> | |||
| 		</td> | 		</td> | ||
| 		<td style="padding: 20px 30px;"><!-- | |||
| 		<td style="padding: 20px 30px;"> | 			-->{{Infobox<!-- | ||
| 				-->|name	=Healing Potion<!-- | |||
| 				-->|rarity	=4<!-- | |||
| {{Infobox | 				-->|stats	=Move Speed -20,1 Agility<!-- | ||
| |name  | 				-->|effect	=15 HP healed over 20 seconds<!-- | ||
| |rarity  | 				-->|slottype	=Utility<!-- | ||
| |stats  | 				-->|utilitytype	=Drink<!-- | ||
| |effect  | 				-->|actiontime	=6 seconds<!-- | ||
| |slottype  | 				-->|description	=Potion used to recover a bit of health<!-- | ||
| |utilitytype  | 				-->|nomargin	=1}} | ||
| |actiontime  | |||
| |description  | |||
| |nomargin  | |||
| }} | |||
| 		</td> | 		</td> | ||
| 	</tr><tr> | 	</tr> | ||
| 		<td style="padding: 20px 30px;"> | 	<tr> | ||
| <pre> | 		<td style="padding: 20px 30px;"><!-- | ||
| 			--><pre>{{Infobox | |||
| {{Infobox | 	|name		=Healing Potion | ||
| |name  | 	|rarity		=1 | ||
| |rarity  | 	|stats		=Move Speed -20,1 Agility | ||
| |stats  | 	|effect		=15 HP healed over 20 seconds | ||
| |effect  | 	|slottype	=Utility | ||
| |slottype  | 	|utilitytype	=Drink | ||
| |utilitytype  | 	|actiontime	=6 seconds | ||
| |actiontime  | 	|description	=Potion used to recover a bit of health}}</pre> | ||
| |description  | |||
| }}</pre> | |||
| 		</td> | 		</td> | ||
| 		<td style="padding: 20px 30px;"><!-- | |||
| 		<td style="padding: 20px 30px;"> | 			-->{{Infobox<!-- | ||
| 				-->|name	=Healing Potion<!-- | |||
| 				-->|rarity	=1<!-- | |||
| {{Infobox | 				-->|stats	=Move Speed -20,1 Agility<!-- | ||
| 				-->|effect	=15 HP healed over 20 seconds<!-- | |||
| 				-->|slottype	=Utility<!-- | |||
| 				-->|utilitytype	=Drink<!-- | |||
| 				-->|actiontime	=6 seconds<!-- | |||
| 				-->|description	=Potion used to recover a bit of health}} | |||
| 		</td> | 		</td> | ||
| 	</tr> | 	</tr> | ||
| 	<tr> | 	<tr> | ||
| 		<td style="padding: 20px 30px;"> | 		<td style="padding: 20px 30px;"><!-- | ||
| <pre> | 			--><pre>{{Infobox | ||
| 	|name		=Lich | |||
| {{Infobox | 	|rarity		=2 | ||
| |name  | 	|image		=Lich | ||
| | | 	|stats		=Health 2100,Move Speed 200 | ||
| | | 	|race	=[[Undead]] | ||
| 	|location	=[[Inferno]] | |||
| |stats  | 	|experience	=50 | ||
| | | 	|adventurepoints=50 | ||
| 	|nomargin	=1}}</pre> | |||
| 		</td> | |||
| | | 		<td style="padding: 20px 30px;"><!-- | ||
| | | 			-->{{Infobox<!-- | ||
| | | 				-->|name	= Lich<!-- | ||
| | | 				-->|rarity	= 2<!-- | ||
| 				-->|image	= Lich<!-- | |||
| 				-->|stats	= Health 2100,Move Speed 200<!-- | |||
| 				-->|race	= [[Undead]]<!-- | |||
| 				-->|location	= [[Inferno]]<!-- | |||
| }}</pre></td> | 				-->|experience	= 50<!-- | ||
| 		<td style="padding: 20px  | 				-->|adventurepoints	= 50<!-- | ||
| {{Infobox | 				-->|nomargin	= 1<!-- | ||
| |name  | 				-->}} | ||
| | | |||
| | | |||
| |stats  | |||
| | | |||
| | | |||
| | | |||
| | | |||
| | | |||
| }} | |||
| 		</td> | 		</td> | ||
| 	</tr> | 	</tr> | ||
| 	<tr> | |||
| 		<td style="padding: 20px 30px;"> | 		<td style="padding: 20px 30px;"><!-- | ||
| <pre> | 			--><pre>{{Infobox | ||
| 	|name		=Longbow | |||
| {{Infobox | 	|image		=Longbow 7 | ||
| |name  | 	|classes	=[[Fighter]], [[Ranger]] | ||
| |classes  | 	|rarity		=7 | ||
| |rarity  | 	|stats		=Damage 25,Move Speed -20  | ||
| |stats  | 	|special	=Can deflect projectile spells while in defensive stance.  | ||
| | | 			 After the reflection is triggered, you remain able to reflect for 3 seconds,  | ||
| | | 			 and cannot reflect again for 20 seconds after performing a spell reflect. | ||
| | | 	|enchantments	=4 | ||
| |description  | 	|combo		=Slash/Slash/Thrust | ||
| }}</pre></td> | 	|combodamage	=100%/100%/100% | ||
| 		<td style="padding: 20px 50px;"> | 	|attackspeed	=0.6s/0.56s/0.75s | ||
| {{Infobox | 	|impactzones	=100%/90%/70% | ||
| |name  | 	|actionmovementspeed=Attack: -25% | ||
| |classes  | 	|description	=Crafted by a powerful and mysterious being to aid in eliminating magic users.  | ||
| |rarity  | 			He saw wizards lust for magic, fearing they would grow too powerful.}}</pre> | ||
| |stats  | 		</td> | ||
| | | 		<td style="padding: 20px 50px;"><!-- | ||
| | | 			-->{{Infobox<!-- | ||
| | | 				-->|name				=Longbow<!-- | ||
| |description  | 				-->|image				=Longbow 7<!-- | ||
| }} | 				-->|classes				=[[Fighter]], [[Ranger]]<!-- | ||
| 				-->|rarity				=7<!-- | |||
| 				-->|stats				=Damage 25,Move Speed -20 <!-- | |||
| 				-->|special				=Can deflect projectile spells while in defensive stance. After the reflection is triggered, you remain able to reflect for 3 seconds, and cannot reflect again for 20 seconds after performing a spell reflect.<!-- | |||
| 				-->|enchantments		=4<!-- | |||
| 				-->|combo				=Slash/Slash/Thrust<!-- | |||
| 				-->|combodamage			=100%/100%/100%<!-- | |||
| 				-->|attackspeed			=0.6s/0.56s/0.75s<!-- | |||
| 				-->|impactzones			=100%/90%/70%<!-- | |||
| 				-->|actionmovementspeed	=Attack: -25%<!-- | |||
| 				-->|description			=Crafted by a powerful and mysterious being to aid in eliminating magic users. He saw wizards lust for magic, fearing they would grow too powerful.}} | |||
| 		</td> | 		</td> | ||
| 	</tr> | 	</tr> | ||
| 	<tr> | |||
| 		<td style="padding: 20px 30px;"> | 		<td style="padding: 20px 30px;"><!-- | ||
| 			--><pre>{{Infobox | |||
| <pre> | 	|name		=Armet | ||
| {{Infobox | 	|classes	=[[Fighter]] | ||
| |name  | 	|rarity		=3 | ||
| | | 	|stats		=Armor Rating 24,Move Speed -12, Headshot Reduction -18%,Projectile Reduction -7% | ||
| |rarity  | 	|enchantments	=1 | ||
| |stats  | 	|slottype	=Head | ||
| 	|armortype	=Metal | |||
| 	|description	=Molded heavy movable face and cheek plate armor, fully protecting the head from blows.}}</pre> | |||
| 		</td> | |||
| 		<td style="padding: 20px 50px;"><!-- | |||
| 			-->{{Infobox<!-- | |||
| 				-->|name		=Armet<!-- | |||
| 				-->|classes		=[[Fighter]]<!-- | |||
| 				-->|rarity		=3<!-- | |||
| 				-->|stats		=Armor Rating 24,Move Speed -12, Headshot Reduction -18%,Projectile Reduction -7%<!-- | |||
| 				-->|enchantments=1<!-- | |||
| 				-->|slottype	=Head<!-- | |||
| 				-->|armortype	=Metal<!-- | |||
| 				-->|description	=Molded heavy movable face and cheek plate armor, fully protecting the head from blows.}} | |||
| | | |||
| | | |||
| | | |||
| |description  | |||
| }}</pre>  | |||
| 		<td style="padding: 20px 50px;"> | |||
| {{Infobox | |||
| |name  | |||
| | | |||
| |rarity  | |||
| |stats  | |||
| | | |||
| | | |||
| | | |||
| |description  | |||
| }} | |||
| 		</td> | 		</td> | ||
| 	</tr> | 	</tr> | ||
| Line 406: | Line 337: | ||
| == All Options == | == All Options == | ||
| The full list of options are listed below. | The full list of options are listed below. | ||
| <pre style="display: inline-block;">{{Infobox | |||
| <pre style="display: inline-block;"> | 	|name		= | ||
| {{Infobox | 	|image		= | ||
| |name  | 	|rarity		= | ||
| |image  | 	|stats		= | ||
| |rarity  | 	|special	= | ||
| |stats  | 	|effect		= | ||
| |special  | 	|classes	= | ||
| |effect  | 	|slottype	= | ||
| |classes  | 	|armortype	= | ||
| |slottype  | 	|handtype	= | ||
| |armortype  | 	|weapontype	= | ||
| |handtype  | 	|utilitytype	= | ||
| |weapontype  | 	|actiontime	= | ||
| |utilitytype  | 	|attackspeed	= | ||
| |actiontime  | 	|reloadspeed	= | ||
| |attackspeed  | 	|quiversize	= | ||
| |reloadspeed  | 	|combo		= | ||
| |quiversize  | 	|combodamage	= | ||
| |combo  | 	|impactzones	= | ||
| |combodamage  | 	|hitbox		= | ||
| | | 	|actionmovementspeed= | ||
| |hitbox  | 	|description	= | ||
| |actionmovementspeed  | 	|nofloat	= | ||
| |description  | 	|nomargin	= | ||
| |nofloat  | 	|size		= | ||
| |nomargin  | }}</pre> | ||
| |size  | </noinclude> | ||
| }} | |||
| </pre> | |||
Revision as of 18:21, 21 March 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
	|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%
	|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:  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% Made from attenuated wood overlaid with leather, providing more defenses and stability against brunt attacks. | 
| {{Infobox
	|name		=Healing Potion
	|rarity		=4
	|stats		=Move Speed -20,1 Agility
	|effect		=15 HP healed over 20 seconds
	|slottype	=Utility
	|utilitytype	=Drink
	|actiontime	=6 seconds
	|description	=Potion used to recover a bit of health
	|nomargin	=1}} | Healing Potion  
 - Move Speed -20 - - 1 Agility - 
					15 HP healed over 20 seconds Utility Type:  Drink Slot Type:  Utility Action Time:  6 seconds Potion used to recover a bit of health | 
| {{Infobox
	|name		=Healing Potion
	|rarity		=1
	|stats		=Move Speed -20,1 Agility
	|effect		=15 HP healed over 20 seconds
	|slottype	=Utility
	|utilitytype	=Drink
	|actiontime	=6 seconds
	|description	=Potion used to recover a bit of health}} | Healing Potion  
 - Move Speed -20 - - 1 Agility - 
					15 HP healed over 20 seconds Utility Type:  Drink Slot Type:  Utility Action Time:  6 seconds Potion used to recover a bit of health | 
| {{Infobox
	|name		=Lich
	|rarity		=2
	|image		=Lich
	|stats		=Health 2100,Move Speed 200
	|race	=[[Undead]]
	|location	=[[Inferno]]
	|experience	=50
	|adventurepoints=50
	|nomargin	=1}} | |
| {{Infobox
	|name		=Longbow
	|image		=Longbow 7
	|classes	=[[Fighter]], [[Ranger]]
	|rarity		=7
	|stats		=Damage 25,Move Speed -20 
	|special	=Can deflect projectile spells while in defensive stance. 
			 After the reflection is triggered, you remain able to reflect for 3 seconds, 
			 and cannot reflect again for 20 seconds after performing a spell reflect.
	|enchantments	=4
	|combo		=Slash/Slash/Thrust
	|combodamage	=100%/100%/100%
	|attackspeed	=0.6s/0.56s/0.75s
	|impactzones	=100%/90%/70%
	|actionmovementspeed=Attack: -25%
	|description	=Crafted by a powerful and mysterious being to aid in eliminating magic users. 
			He saw wizards lust for magic, fearing they would grow too powerful.}} | Longbow  
 - Damage 25 - - Move Speed -20 - - Up to 4 extra enchantments - - Can deflect projectile spells while in defensive stance. After the reflection is triggered, you remain able to reflect for 3 seconds, and cannot reflect again for 20 seconds after performing a spell reflect. - Attack Speed:  0.6s/0.56s/0.75s Combo:  Slash/Slash/Thrust Combo Damage:  100%/100%/100% Impact Zones:  100%/90%/70% Action Move Speed Attack: -25% Crafted by a powerful and mysterious being to aid in eliminating magic users. He saw wizards lust for magic, fearing they would grow too powerful. | 
| {{Infobox
	|name		=Armet
	|classes	=[[Fighter]]
	|rarity		=3
	|stats		=Armor Rating 24,Move Speed -12, Headshot Reduction -18%,Projectile Reduction -7%
	|enchantments	=1
	|slottype	=Head
	|armortype	=Metal
	|description	=Molded heavy movable face and cheek plate armor, fully protecting the head from blows.}} | Armet  
 - Armor Rating 24 - - Move Speed -12 - - Headshot Reduction -18% - - Projectile Reduction -7% - - Up to 1 extra enchantments - Required Class:  Type:  Metal Slot Type:  Head Molded heavy movable face and cheek plate armor, fully protecting the head from blows. | 
All Options
The full list of options are listed below.
{{Infobox
	|name		=
	|image		=
	|rarity		=
	|stats		=
	|special	=
	|effect		=
	|classes	=
	|slottype	=
	|armortype	=
	|handtype	=
	|weapontype	=
	|utilitytype	=
	|actiontime	=
	|attackspeed	=
	|reloadspeed	=
	|quiversize	=
	|combo		=
	|combodamage	=
	|impactzones	=
	|hitbox		=
	|actionmovementspeed=
	|description	=
	|nofloat	=
	|nomargin	=
	|size		=
}}
 
						 
					
