Template:Weapon/fr: Difference between revisions

From Vintage Story Wiki
(Updating to match new version of source page)
Tags: Mobile edit Mobile web edit
(Updating to match new version of source page)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude><languages /></noinclude><includeonly>{|border="1" cellpadding="2" cellspacing="0" class="screwTemplatesMan" style="position:relative; border-radius:7px; font-size:90%; width:200px; float:right;"
<noinclude><languages /></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;"
|-
|-
|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 9: Line 10:
|Power={{{Power}}}
|Power={{{Power}}}
|PowerThrown={{#if: {{{PowerThrown|}}} | {{{PowerThrown}}} }}
|PowerThrown={{#if: {{{PowerThrown|}}} | {{{PowerThrown}}} }}
|Range={{{Range}}} m
|Range={{{Range}}}
|Tier={{#if: {{{Tier|}}} | {{{Tier}}} }}
|Tier={{#if: {{{Tier|}}} | {{{Tier}}} }}
}}
}}
Line 17: 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">'''Armes'''</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">'''Armes'''</font>]]
|}{{#if:{{{NoBreak|}}}||{{-}} }}
|}{{#if:{{{NoBreak|}}}||{{-}} }}
[[Category:Weapons{{#translation:}}]]
[[Category:Weapons{{#translation:}}]]</includeonly>
</includeonly>
 
<noinclude>
<noinclude>
{{Weapon
{{Weapon
Line 31: Line 37:
|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 46: Line 54:
! Paramètre !! Nécessaire ou Optionnel, par défaut si applicable !! Exemple
! Paramètre !! Nécessaire ou Optionnel, par défaut si applicable !! Exemple
|-
|-
| ''Name'' || Nécessaire || <span lang="en" dir="ltr" class="mw-content-ltr">Spear</span>
| ''Name'' || Nécessaire || Lance
|-
| ''Image'' || Nécessaire || <nowiki>File:Spear-copper.png</nowiki>
|-
| ''Durability'' || Nécessaire || 100
|-
|-
| ''Image'' || <span lang="en" dir="ltr" class="mw-content-ltr">Required</span> || <nowiki>[[File:File:Spear-copper.png.png]]</nowiki>
| ''Power'' || Nécessaire || 1.5
|-
|-
| ''Durability'' || <span lang="en" dir="ltr" class="mw-content-ltr">Required</span> || 100
| ''PowerThrown'' || Optionnel || 5.1
|-
|-
| ''Power'' || <span lang="en" dir="ltr" class="mw-content-ltr">Required</span> || 1.5
| ''Range'' || Nécessaire || 3.5
|-
|-
| ''PowerThrown'' || <span lang="en" dir="ltr" class="mw-content-ltr">Optional</span> || 5.1
| ''Tier'' || Optionnel || 3
|-
|-
| ''Range'' || <span lang="en" dir="ltr" class="mw-content-ltr">Required</span> || 2.5
| ''Wood'' || Optionnel || 2.6
|-
|-
| ''Tier'' || <span lang="en" dir="ltr" class="mw-content-ltr">Optional</span> || 3
| ''Plant'' || Optionnel || 2.5
|-
|-
| ''Wood'' || <span lang="en" dir="ltr" class="mw-content-ltr">Optional</span> || 2.6
| ''Leaves'' || Optionnel || 2.2
|-
|-
| ''Plant'' || <span lang="en" dir="ltr" class="mw-content-ltr">Optional</span> || 2.5
| ''Temp'' || Optionnel || 600
|-
|-
| ''Leaves'' || <span lang="en" dir="ltr" class="mw-content-ltr">Optional</span> || 2.2
| ''Duration'' || Optionnel || 10
|-
|-
| ''FloatRight'' || <span lang="en" dir="ltr" class="mw-content-ltr">Optional</span> || <div lang="en" dir="ltr" class="mw-content-ltr">
| ''FloatRight'' || Optionnel || Définit si la boîte doit flotter sur le côté droit de la page wiki (afin que vous n'ayez pas à mettre une balise <nowiki><div></div></nowiki>)
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>
| ''NoBreak'' || Optionnel || Définit si la boîte doit se terminer par un saut de ligne


|}
|}

Latest revision as of 16:24, 30 July 2023

Other languages:


Lance
Spear-copper.png
Durabilité 100
Attaque
Puissance 1.5 pv
Puissance (Lancer) 5.1 pv
Portée 3.5 m
Niveau 3
Vitesse
Bois 2.6x
Plantes 2.5x
Feuillage 2.2x
Combustible
Température 600 °C
Durée 10 s
Armes


Template pour les armes.

Paramètre Nécessaire ou Optionnel, par défaut si applicable Exemple
Name Nécessaire Lance
Image Nécessaire File:Spear-copper.png
Durability Nécessaire 100
Power Nécessaire 1.5
PowerThrown Optionnel 5.1
Range Nécessaire 3.5
Tier Optionnel 3
Wood Optionnel 2.6
Plant Optionnel 2.5
Leaves Optionnel 2.2
Temp Optionnel 600
Duration Optionnel 10
FloatRight Optionnel Définit si la boîte doit flotter sur le côté droit de la page wiki (afin que vous n'ayez pas à mettre une balise <div></div>)
NoBreak Optionnel Définit si la boîte doit se terminer par un saut de ligne