Template:Weapon/fr: Difference between revisions
From Vintage Story Wiki
No edit summary Tag: Manual revert |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<noinclude><languages /></noinclude> | <noinclude><languages /> | ||
</noinclude> | |||
<includeonly> | <includeonly> | ||
{|border="1" cellpadding="2" cellspacing="0" class="screwTemplatesMan" style="position:relative; border-radius:7px; font-size:90%; width: | {|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> | ||
|- | |- | ||
|bgcolor="#d3ab92" colspan=2 style="text-align: center"| {{{Image}}} | |bgcolor="#d3ab92" colspan=2 style="text-align: center"| [[{{{Image}}}|100px]] | ||
|- | |- | ||
| ''' | | '''<span lang="en" dir="ltr" class="mw-content-ltr">Durability</span>''' || {{{Durability}}} | ||
{{ | {{Weapon/Attack | ||
|Power={{{Power}}} | |Power={{{Power}}} | ||
|PowerThrown={{#if: {{{PowerThrown|}}} | {{{PowerThrown}}} }} | |PowerThrown={{#if: {{{PowerThrown|}}} | {{{PowerThrown}}} }} | ||
|Range={{{Range}}} | |Range={{{Range}}} <span lang="en" dir="ltr" class="mw-content-ltr">m</span> | ||
|Tier={{#if: {{{Tier|}}} | {{{Tier}}} }} | |Tier={{#if: {{{Tier|}}} | {{{Tier}}} }} | ||
}} | }} | ||
{{#if: {{{Wood|}}}{{{Plant|}}}{{{Leaves|}}} | | {{#if: {{{Wood|}}}{{{Plant|}}}{{{Leaves|}}} | | ||
{{ | {{Tool/MiningSpeed | ||
|Wood={{#if: {{{Wood|}}} | {{{Wood}}} }} | |Wood={{#if: {{{Wood|}}} | {{{Wood}}} }} | ||
|Plant={{#if: {{{Plant|}}} | {{{Plant}}} }} | |Plant={{#if: {{{Plant|}}} | {{{Plant}}} }} | ||
|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">'''<span lang="en" dir="ltr" class="mw-content-ltr">Weapons</span>'''</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">''' | |}{{#if:{{{NoBreak|}}}||{{-}} }} | ||
|} | [[Category:Weapons{{#translation:}}]] | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{Weapon | {{Weapon | ||
|Name= | |Name=<span lang="en" dir="ltr" class="mw-content-ltr">Spear</span> | ||
|Image= | |Image=<nowiki>File:Spear-copper.png</nowiki> | ||
|Durability=100 | |Durability=100 | ||
|Power=1.5 | |Power=1.5 | ||
Line 44: | Line 42: | ||
|Plant=2.5 | |Plant=2.5 | ||
|Leaves=2.2 | |Leaves=2.2 | ||
|FloatRight=yes | |||
|NoBreak=yes | |||
}} | }} | ||
<span lang="en" dir="ltr" class="mw-content-ltr">Template for weapons.</span> | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! | ! <span lang="en" dir="ltr" class="mw-content-ltr">Parameter</span> !! <span lang="en" dir="ltr" class="mw-content-ltr">Required or Optional, default if applicable</span> !! <span lang="en" dir="ltr" class="mw-content-ltr">Example</span> | ||
|- | |||
| ''Name'' || <span lang="en" dir="ltr" class="mw-content-ltr">Required</span> || <span lang="en" dir="ltr" class="mw-content-ltr">Sewn Linen</span> | |||
|- | |||
| ''Image'' || <span lang="en" dir="ltr" class="mw-content-ltr">Required</span> || <nowiki>[[File:Grid Sewn Linen Armor.png]]</nowiki> | |||
|- | |- | ||
| '' | | ''Durability'' || <span lang="en" dir="ltr" class="mw-content-ltr">Required</span> || 100 | ||
|- | |- | ||
| '' | | ''Power'' || <span lang="en" dir="ltr" class="mw-content-ltr">Required</span> || 1.5 | ||
|- | |- | ||
| '' | | ''PowerThrown'' || <span lang="en" dir="ltr" class="mw-content-ltr">Optional</span> || 5.1 | ||
|- | |- | ||
| '' | | ''Range'' || <span lang="en" dir="ltr" class="mw-content-ltr">Required</span> || 2.5 | ||
|- | |- | ||
| '' | | ''Tier'' || <span lang="en" dir="ltr" class="mw-content-ltr">Optional</span> || 3 | ||
|- | |- | ||
| '' | | ''Wood'' || <span lang="en" dir="ltr" class="mw-content-ltr">Optional</span> || 2.6 | ||
|- | |- | ||
| '' | | ''Plant'' || <span lang="en" dir="ltr" class="mw-content-ltr">Optional</span> || 2.5 | ||
|- | |- | ||
| '' | | ''Leaves'' || <span lang="en" dir="ltr" class="mw-content-ltr">Optional</span> || 2.2 | ||
|- | |- | ||
| '' | | ''FloatRight'' || <span lang="en" dir="ltr" class="mw-content-ltr">Optional</span> || <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
Whether or not the box should float on the right side of the page | |||
(so you don't have to use a <div></div> tag) | |||
</div> | |||
|- | |- | ||
| '' | | ''NoBreak'' || <span lang="en" dir="ltr" class="mw-content-ltr">Optional</span> || <span lang="en" dir="ltr" class="mw-content-ltr">Whether or not the item box should end in a line break</span> | ||
|} | |} | ||
[[Category:Infoboxes{{#translation:}}]] | [[Category:Infoboxes{{#translation:}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 07:11, 30 July 2023
Spear | |
[[File:Spear-copper.png|100px]] | |
Durabilité | 100 |
Attaque | |
Puissance | 1.5 pv |
Puissance (Lancer) | 5.1 pv |
Portée | 2.5 m |
Niveau | 3 |
Vitesse | |
Bois | 2.6x |
Plantes | 2.5x |
Feuillage | 2.2x |
Armes |
Template for weapons.
Parameter | Required or Optional, default if applicable | Example |
---|---|---|
Name | Required | Sewn Linen |
Image | Required | [[File:Grid Sewn Linen Armor.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 |