Template:Weapon: Difference between revisions
From Vintage Story Wiki
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
<includeonly> | <includeonly> | ||
{|border="1" cellpadding="2" cellspacing="0" class="screwTemplatesMan" style="position:relative; border-radius:7px; font-size:90%; width:200px; float:right;" | {|border="1" cellpadding="2" cellspacing="0" class="screwTemplatesMan" style="position:relative; border-radius:7px; font-size:90%; width:200px; float:right;" | ||
|- | |- | ||
|bgcolor="#000000" colspan="2" style="border-top-right-radius:7px; border-top-left-radius:7px; text-align:center; font-size:13.5px;"|<font color="white">'''{{{Name}}}'''</font> | |bgcolor="#000000" colspan="2" style="border-top-right-radius:7px; border-top-left-radius:7px; text-align:center; font-size:13.5px;"|<font color="white">'''{{{Name}}}'''</font> | ||
Line 16: | Line 15: | ||
|Tier={{#if: {{{Tier|}}} | {{{Tier}}} }} | |Tier={{#if: {{{Tier|}}} | {{{Tier}}} }} | ||
}} | }} | ||
{{#if: {{{Wood|}}}{{{Plant|}}}{{{Leaves|}}} | | {{#if: {{{Wood|}}}{{{Plant|}}}{{{Leaves|}}} | | ||
{{Tool/MiningSpeed | {{Tool/MiningSpeed | ||
Line 23: | Line 21: | ||
|Leaves={{#if: {{{Leaves|}}} | {{{Leaves}}} }} | |Leaves={{#if: {{{Leaves|}}} | {{{Leaves}}} }} | ||
}} }} | }} }} | ||
|- | |- | ||
|bgcolor="#000000" colspan="2" class="Bloba" style="text-align:center; font-size:13.5px; border-bottom-right-radius:7px; border-bottom-left-radius:7px;"|[[Weapons|<font color="white">'''<translate><!--T:12--> Weapons</translate>'''</font>]] | |bgcolor="#000000" colspan="2" class="Bloba" style="text-align:center; font-size:13.5px; border-bottom-right-radius:7px; border-bottom-left-radius:7px;"|[[Weapons|<font color="white">'''<translate><!--T:12--> Weapons</translate>'''</font>]] |
Revision as of 07:13, 30 July 2023
Spear | |
Durability | 100 |
Attack | |
Power | 1.5 hp |
Power (Thrown) | 5.1 hp |
Range | 2.5 m |
Tier | 3 |
Mining Speed | |
Wood | 2.6x |
Plant | 2.5x |
Leaves | 2.2x |
Weapons |
Template for weapons.
Parameter | Required or Optional, default if applicable | Example |
---|---|---|
Name | Required | Spear |
Image | Required | [[File:File:Spear-copper.png.png]] |
Durability | Required | 100 |
Power | Required | 1.5 |
PowerThrown | Optional | 5.1 |
Range | Required | 2.5 |
Tier | Optional | 3 |
Wood | Optional | 2.6 |
Plant | Optional | 2.5 |
Leaves | Optional | 2.2 |
FloatRight | Optional | Whether or not the box should float on the right side of the page (so you don't have to use a tag) |
NoBreak | Optional | Whether or not the item box should end in a line break |