Template:Weapon/Attack: Difference between revisions

From Vintage Story Wiki
m (removed the minus as it doesn't work when there's multiple different materials)
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><languages />
</noinclude>
<includeonly>|-
<includeonly>|-
|bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="white">'''Attack'''</font>
|bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="white">'''<translate><!--T:9--> Attack</translate>'''</font>
[[Category:Weapons{{#translation:}}]]
[[Category:Weapons{{#translation:}}]]
|-
|-
|'''Power'''
|'''<translate><!--T:10--> Power</translate>'''
| {{{Power}}} hp
| {{{Power}}} <translate><!--T:11--> hp</translate>
 
{{#if: {{{PowerThrown|}}} |
{{!}}-
{{!}}'''<translate><!--T:12--> Power (Thrown)</translate>'''
{{!}}{{{PowerThrown}}} <translate><!--T:13--> hp</translate>
}}
|-
|-
|'''Range'''
|'''<translate><!--T:14--> Range</translate>'''
| {{{Range}}} m
| {{{Range}}} <translate><!--T:15--> m</translate>
 
{{#if: {{{Tier|}}} |  
{{#if: {{{Tier|}}} |  
{{!}}-
{{!}}-
{{!}}'''Tier'''
{{!}}'''<translate><!--T:16--> Tier</translate>'''
{{!}} {{{Tier}}}
{{!}} {{{Tier}}}
}}
}}
|-</includeonly>
|-</includeonly>


<noinclude>
<noinclude>
Weapons will have attack information associated with them.
<translate><!--T:17--> Weapons will have attack information associated with them.</translate>


<!--T:8-->
{| class="wikitable"
{| class="wikitable"
|-
|-
! Parameter !! Required or Optional, default if applicable !! Example
! <translate><!--T:18--> Parameter</translate> !! <translate><!--T:19--> Required or Optional, default if applicable</translate> !! <translate><!--T:20--> Example</translate>
|-
| ''Power'' || <translate><!--T:21--> Required</translate> || 2.0
|-
|-
| ''Power'' || Required || 2.0
| ''PowerThrown'' || <translate><!--T:22--> Optional</translate> || 5.1
|-
|-
| ''Range'' || Required || 2.2
| ''Range'' || <translate><!--T:23--> Required</translate> || 2.2
|-
|-
| ''Tier'' || Optional || 3
| ''Tier'' || <translate><!--T:24--> Optional</translate> || 3
|}
|}
</noinclude>
</noinclude>

Latest revision as of 14:42, 30 July 2023

Other languages:



Weapons will have attack information associated with them.

Parameter Required or Optional, default if applicable Example
Power Required 2.0
PowerThrown Optional 5.1
Range Required 2.2
Tier Optional 3