« Modèle:Infobox munition » : différence entre les versions
mAucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 203 : | Ligne 203 : | ||
|label30-1 =prototype id | |label30-1 =prototype id | ||
|content30-2 ={{{proto5|}}} | |content30-2 ={{{proto5|}}} | ||
|formid ={{{id|}}} | |||
}}<!-- | }}<!-- | ||
Version du 20 novembre 2020 à 23:42
Infobox template for ammunition in games other than Fallout 3 and Fallout: New Vegas.
Based on {{Infobox}}.
Usage
Place the following at the top of the article, below any page management templates:
{{Infobox munition <!-- insert parameters --> }}
Parameters
Specific parameters
Armor Class modifier of the corresponding ammo variant (Fallout, Fallout 2).
Damage of the corresponding ammo variant (Fallout Tactics).
Damage modifier of the corresponding ammo variant (Fallout, Fallout 2).
Damage Resistance modifier of the corresponding ammo variant (Fallout, Fallout 2).
Name of the corresponding ammo variant; only required if there is more than one variant listed. If item name
contains "{{cut}}", "{{icon|cut}}" or "(cut)", the corresponding section will be collapsed by default.
Penetration of the corresponding ammo variant (Fallout Tactics).
Shots/rounds per magazine for the corresponding ammo variant.
Prototype ID of the corresponding ammo variant. Enclose ID(s) in {{proto}}.
Base value of the corresponding ammo variant per unit.
Weight of the corresponding ammo variant.
General infobox parameters
Contenu de la dernière rangée de l'infobox.
Abréviation(s) des jeux ; pour accepter les abréviations, veuillez consultez la documentation du modèle {{abb}}. Plusieurs abréviations peuvent être déclarées en étant séparées par une virgule (,
).
Nom du fichier de l'icône (sans le préfixe « Fichier: »), c'est-à-dire une petite image disposée en haut à droite de la zone de l'image principale.
Position de icône
en pixels, l'icône est déplacé « vers le haut » par la quantité de pixels spécifié. La valeur maximale est « taille icône
- hauteur spécifiée + 5 ».
Nom de fichier de(s) image(s) (sans le préfixe "Fichier:") à disposer en dessous de l'en-tête principal de l'infobox.
Description de la zone image
, disposée sous le(s) image(s).
Largeur de l'image
correspondante en pixels (e.g. "260px").
Titre principale de l'infobox. Par défaut, il s'agit du nom de la page courante sans les suffixes d'homonymie (les termes entres parenthèses à la fin).
Texte en petits caractères sous nom de l'infobox.
Exemples
{{#vardefine:ibammo-tooltip-acmod|Indicates how much the target's Armor Class is modified when using this ammo. Negative values yield a higher chance to hit.}}{{#vardefine:ibammo-tooltip-damage|Indicates how much the base damage of the weapon is modified when using this ammo. This number represents an addition to the base damage, i.e. '+20%' means the weapon does 120% of its base damage.}}{{#vardefine:ibammo-tooltip-dammod|Indicates how much the base damage of the weapon is modified when using this ammo. This number represents a fraction of the base damage, i.e. '80%' means the weapon does 80% of its base damage.}}{{#vardefine:ibammo-tooltip-drmod|Indicates how much the target's Damage Resistance is modified when using this ammo. Negative values yield higher damage.}}{{#vardefine:ibammo-tooltip-magsize|Ammo/shots per magazine.}}{{#vardefine:ibammo-tooltip-penetration|Indicates how much the target's Damage Resistance is modified when using this ammo. Negative values yield lower damage.}}{{#vardefine:ibammo-label-dammodDam|dégâts}}{{#vardefine:ibammo-tooltip-dammodDam|{{#var:ibammo-tooltip-damage}}}}{{#vardefine:ibammo-label-drmodPen|pénétration}}{{#vardefine:ibammo-tooltip-drmodPen|{{#var:ibammo-tooltip-penetration}}}}Modèle:Infobox
{{Infobox munition |jeux =FO1, FO2 |nom =10 mm |image =Fo1 CCM10mm.gif |image2 =Fo1 OP10mm.gif <!-- ####### Munition 1 ####### --> |nom munition =OP 10 mm |magasin =24 |ca =0 |dégâts =1/2 |rd =−25 % |poids =1 |valeur =100 |proto =30 <!-- ####### Munition 2 ####### --> |nom munition2 =CCM 10 mm |magasin2 =24 |ca2 =0 |dégâts2 =2/1 |rd2 =+25 % |poids2 =1 |valeur2 =75 |proto2 ={{proto|29}} }}
Copy/paste
Fallout, Fallout 2
Single | Multiple |
---|---|
{{Infobox munition |games =FO1 |image = |mag size = |ac mod = |damage mod = |dr mod = |weight = |value = |proto ={{proto|}} }} |
{{Infobox munition |games =FO1 |image = <!-- ####### Variant 1 ####### --> |item name = |mag size = |ac mod = |damage mod = |dr mod = |weight = |value = |proto ={{proto|}} <!-- ####### Variant 2 ####### --> |item name2 = |mag size2 = |ac mod2 = |damage mod2 = |dr mod2 = |weight2 = |value2 = |proto2 ={{proto|}} <!-- ####### Variant 3 ####### --> |item name3 = |mag size3 = |ac mod3 = |damage mod3 = |dr mod3 = |weight3 = |value3 = |proto3 ={{proto|}} }} |
Fallout Tactics
Single | Multiple |
---|---|
{{Infobox munition |games =FOT |image = |mag size = |penetration = |damage = |weight = |value = }} |
{{Infobox munition |games =FOT |image = <!-- ####### Variant 1 ####### --> |item name = |mag size = |penetration = |damage = |weight = |value = <!-- ####### Variant 2 ####### --> |item name2 = |mag size2 = |penetration2 = |damage2 = |weight2 = |value2 = <!-- ####### Variant 3 ####### --> |item name3 = |mag size3 = |penetration3 = |damage3 = |weight3 = |value3 = }} |