Template:Weapon: Difference between revisions
From Vintage Story Wiki
No edit summary |
No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude><languages /> | <noinclude><languages /></noinclude> | ||
</noinclude> | <includeonly>{|border="1" cellpadding="2" cellspacing="0" style="position:relative; border-radius:7px; font-size:90%; width:200px; float:right; margin-left:5px; margin-bottom: 5px;" | ||
<includeonly> | |||
{|border="1" cellpadding="2" cellspacing="0 | |||
|- | |- | ||
|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 12: | Line 10: | ||
|Power={{{Power}}} | |Power={{{Power}}} | ||
|PowerThrown={{#if: {{{PowerThrown|}}} | {{{PowerThrown}}} }} | |PowerThrown={{#if: {{{PowerThrown|}}} | {{{PowerThrown}}} }} | ||
|Range={{{Range}}} | |Range={{{Range}}} | ||
|Tier={{#if: {{{Tier|}}} | {{{Tier}}} }} | |Tier={{#if: {{{Tier|}}} | {{{Tier}}} }} | ||
}} | }} | ||
Line 20: | Line 18: | ||
|Plant={{#if: {{{Plant|}}} | {{{Plant}}} }} | |Plant={{#if: {{{Plant|}}} | {{{Plant}}} }} | ||
|Leaves={{#if: {{{Leaves|}}} | {{{Leaves}}} }} | |Leaves={{#if: {{{Leaves|}}} | {{{Leaves}}} }} | ||
}} }} | |||
|- | |||
{{#if: {{{Temp|}}} | {{#!: | |||
{{Item/Fuel | |||
|Temp={{{Temp}}} | |||
|Duration={{{Duration}}} | |||
}} | |||
}} }} | }} }} | ||
|- | |- | ||
|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>]] | ||
|}{{#if:{{{NoBreak|}}}||{{-}} }} | |}{{#if:{{{NoBreak|}}}||{{-}} }} | ||
[[Category:Weapons{{#translation:}}]] | [[Category:Weapons{{#translation:}}]]</includeonly> | ||
</includeonly> | |||
<noinclude> | <noinclude> | ||
{{Weapon | {{Weapon | ||
Line 34: | Line 37: | ||
|Power=1.5 | |Power=1.5 | ||
|PowerThrown=5.1 | |PowerThrown=5.1 | ||
|Range= | |Range=3.5 | ||
|Tier=3 | |Tier=3 | ||
|Wood=2.6 | |Wood=2.6 | ||
|Plant=2.5 | |Plant=2.5 | ||
|Leaves=2.2 | |Leaves=2.2 | ||
|Temp=600 | |||
|Duration=10 | |||
|FloatRight=yes | |FloatRight=yes | ||
|NoBreak=yes | |NoBreak=yes | ||
Line 51: | Line 56: | ||
| ''Name'' || <translate><!--T:18--> Required</translate> || <translate><!--T:19--> Spear</translate> | | ''Name'' || <translate><!--T:18--> Required</translate> || <translate><!--T:19--> Spear</translate> | ||
|- | |- | ||
| ''Image'' || <translate><!--T:20--> Required</translate> || <nowiki> | | ''Image'' || <translate><!--T:20--> Required</translate> || <nowiki>File:Spear-copper.png</nowiki> | ||
|- | |- | ||
| ''Durability'' || <translate><!--T:21--> Required</translate> || 100 | | ''Durability'' || <translate><!--T:21--> Required</translate> || 100 | ||
Line 59: | Line 64: | ||
| ''PowerThrown'' || <translate><!--T:23--> Optional</translate> || 5.1 | | ''PowerThrown'' || <translate><!--T:23--> Optional</translate> || 5.1 | ||
|- | |- | ||
| ''Range'' || <translate><!--T:24--> Required</translate> || | | ''Range'' || <translate><!--T:24--> Required</translate> || 3.5 | ||
|- | |- | ||
| ''Tier'' || <translate><!--T:25--> Optional</translate> || 3 | | ''Tier'' || <translate><!--T:25--> Optional</translate> || 3 | ||
Line 68: | Line 73: | ||
|- | |- | ||
| ''Leaves'' || <translate><!--T:28--> Optional</translate> || 2.2 | | ''Leaves'' || <translate><!--T:28--> Optional</translate> || 2.2 | ||
|- | |||
| ''Temp'' || <translate><!--T:33--> Optional</translate> || 600 | |||
|- | |||
| ''Duration'' || <translate><!--T:34--> Optional</translate> || 10 | |||
|- | |- | ||
| ''FloatRight'' || <translate><!--T:29--> Optional</translate> || <translate><!--T:30--> | | ''FloatRight'' || <translate><!--T:29--> Optional</translate> || <translate><!--T:30--> |
Latest revision as of 16:24, 30 July 2023
Spear | |
Durability | 100 |
Attack | |
Power | 1.5 hp |
Power (Thrown) | 5.1 hp |
Range | 3.5 m |
Tier | 3 |
Mining Speed | |
Wood | 2.6x |
Plant | 2.5x |
Leaves | 2.2x |
Fuel | |
Temperature | 600°C |
Duration | 10 s |
Weapons |
Template for weapons.
Parameter | Required or Optional, default if applicable | Example |
---|---|---|
Name | Required | Spear |
Image | Required | File:Spear-copper.png |
Durability | Required | 100 |
Power | Required | 1.5 |
PowerThrown | Optional | 5.1 |
Range | Required | 3.5 |
Tier | Optional | 3 |
Wood | Optional | 2.6 |
Plant | Optional | 2.5 |
Leaves | Optional | 2.2 |
Temp | Optional | 600 |
Duration | Optional | 10 |
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 |