Template:Weapon: Difference between revisions

From Vintage Story Wiki
(Marked this version for translation)
No edit summary
 
(11 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" 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 13: Line 10:
|Power={{{Power}}}
|Power={{{Power}}}
|PowerThrown={{#if: {{{PowerThrown|}}} | {{{PowerThrown}}} }}
|PowerThrown={{#if: {{{PowerThrown|}}} | {{{PowerThrown}}} }}
|Range={{{Range}}} <translate><!--T:11--> m</translate>
|Range={{{Range}}}
|Tier={{#if: {{{Tier|}}} | {{{Tier}}} }}
|Tier={{#if: {{{Tier|}}} | {{{Tier}}} }}
}}
}}
{{#if: {{{Wood|}}}{{{Plant|}}}{{{Leaves|}}} |
{{#if: {{{Wood|}}}{{{Plant|}}}{{{Leaves|}}} |
{{Tool/MiningSpeed
{{Tool/MiningSpeed
Line 23: Line 19:
|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
|Name=<translate><!--T:13--> Spear</translate>
|Name=<translate><!--T:13--> Spear</translate>
|Image=<nowiki>File:Spear-copper.png</nowiki>
|Image=File:Spear-copper.png
|Durability=100
|Durability=100
|Power=1.5
|Power=1.5
|PowerThrown=5.1
|PowerThrown=5.1
|Range=2.5
|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 52: Line 54:
! <translate><!--T:15--> Parameter</translate> !! <translate><!--T:16--> Required or Optional, default if applicable</translate> !! <translate><!--T:17--> Example</translate>
! <translate><!--T:15--> Parameter</translate> !! <translate><!--T:16--> Required or Optional, default if applicable</translate> !! <translate><!--T:17--> Example</translate>
|-
|-
| ''Name'' || <translate><!--T:18--> Required</translate> || <translate><!--T:19--> Sewn Linen</translate>
| ''Name'' || <translate><!--T:18--> Required</translate> || <translate><!--T:19--> Spear</translate>
|-
|-
| ''Image'' || <translate><!--T:20--> Required</translate> || <nowiki>[[File:Grid Sewn Linen Armor.png]]</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 62: Line 64:
| ''PowerThrown'' || <translate><!--T:23--> Optional</translate> || 5.1
| ''PowerThrown'' || <translate><!--T:23--> Optional</translate> || 5.1
|-
|-
| ''Range'' || <translate><!--T:24--> Required</translate> || 2.5
| ''Range'' || <translate><!--T:24--> Required</translate> || 3.5
|-
|-
| ''Tier'' || <translate><!--T:25--> Optional</translate> || 3
| ''Tier'' || <translate><!--T:25--> Optional</translate> || 3
Line 71: 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

Other languages:


Spear
Spear-copper.png
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