62 737
modifications
Aucun résumé des modifications |
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
||
(Une version intermédiaire par le même utilisateur non affichée) | |||
Ligne 1 : | Ligne 1 : | ||
<noinclude>{{ | <noinclude>{{Page de documentation}}</noinclude> | ||
Infobox | Infobox pour tous les [[:Catégorie:Munition|munitions]] pour les jeux ''[[Fallout 3]]'', ''[[Fallout: New Vegas]]'', ''[[Fallout 4]]''. Son paramétrage est disponible dans le module [[:Module:Infobox/Munition gamebryo]]. | ||
Pour ''[[Fallout]]'', ''[[Fallout 2 ]]'' et ''[[Fallout Tactics]]'', voir le modèle {{m|Infobox munition}}. | |||
== Usage == | |||
<pre> | <pre> | ||
{{Infobox | {{Infobox objet | ||
<!-- | |jeux = | ||
|nom = | |||
|image = | |||
|légende = | |||
<!-- Munition 1 --> | |||
|poids = | |||
|poids hardcore = | |||
|valeur = | |||
|baseid = | |||
<!-- Munition 2 --> | |||
|image2 = | |||
|nom mun2 = | |||
|poids2 = | |||
|poids hardcore2 = | |||
|valeur2 = | |||
|baseid2 = | |||
<!-- Munition 3 --> | |||
|image3 = | |||
|nom mun3 = | |||
|poids3 = | |||
|poids hardcore3 = | |||
|valeur3 = | |||
|baseid3 = | |||
<!-- Munition 4 --> | |||
|image4 = | |||
|nom mun4 = | |||
|poids4 = | |||
|poids hardcore4 = | |||
|valeur4 = | |||
|baseid4 = | |||
<!-- Munition 5 --> | |||
|image5 = | |||
|nom mun5 = | |||
|poids5 = | |||
|poids hardcore5 = | |||
|valeur5 = | |||
|baseid5 = | |||
}} | }} | ||
</pre> | </pre> | ||
=== | == Paramètres == | ||
{{ | <templatedata> | ||
Base | { | ||
} | "params": { | ||
"nom": { | |||
"label": "Nom", | |||
"type": "string", | |||
"description": "Titre de l'infobox" | |||
}, | |||
"sous-titre": { | |||
"label": "Sous-titre", | |||
"type": "string", | |||
"description": "Sous-titre de l'infobox" | |||
}, | |||
"jeux": { | |||
"label": "Jeux", | |||
"type": "string", | |||
"description": "Liste des abréviations de jeu séparées par une virgule", | |||
"example": "FO3,FNV" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"type": "wiki-file-name", | |||
"description": "Illustration de l'infobox" | |||
}, | |||
"image2": { | |||
"label": "Image 2", | |||
"type": "wiki-file-name", | |||
"description": "Illustration de l'infobox" | |||
}, | |||
"image 3": { | |||
"label": "Image 3", | |||
"type": "wiki-file-name", | |||
"description": "Illustration de l'infobox" | |||
}, | |||
"image 4": { | |||
"label": "Image 4", | |||
"type": "wiki-file-name", | |||
"description": "Illustration de l'infobox" | |||
}, | |||
"image 5": { | |||
"label": "Image 5", | |||
"type": "wiki-file-name", | |||
"description": "Illustration de l'infobox" | |||
}, | |||
"légende": { | |||
"label": "Légende", | |||
"type": "string", | |||
"description": "Légende de l'illustration" | |||
}, | |||
"poids": { | |||
"label": "Poids", | |||
"type": "string", | |||
"description": "Poids unitaire" | |||
}, | |||
"poids hardcore": { | |||
"label": "Poids hardcore", | |||
"type": "string", | |||
"description": "Poids en mode hardcore ou survie" | |||
}, | |||
"valeur": { | |||
"label": "Valeur", | |||
"type": "string", | |||
"description": "Valeur en capsules" | |||
}, | |||
"baseid": { | |||
"label": "Base ID", | |||
"type": "string", | |||
"description": "Légende de l'illustration" | |||
}, | |||
"nom mun2": { | |||
"label": "Nom munition 2", | |||
"type": "string", | |||
"description": "Nom de la munition" | |||
}, | |||
"poids2": { | |||
"label": "Poids", | |||
"type": "string", | |||
"description": "Poids unitaire" | |||
}, | |||
"poids hardcore2": { | |||
"label": "Poids hardcore", | |||
"type": "string", | |||
"description": "Poids en mode hardcore ou survie" | |||
}, | |||
"valeur2": { | |||
"label": "Valeur", | |||
"type": "string", | |||
"description": "Valeur en capsules" | |||
}, | |||
"baseid2": { | |||
"label": "Base ID", | |||
"type": "string", | |||
"description": "Légende de l'illustration" | |||
}, | |||
"nom mun3": { | |||
"label": "Nom munition 3", | |||
"type": "string", | |||
"description": "Nom de la munition" | |||
}, | |||
"poids3": { | |||
"label": "Poids", | |||
"type": "string", | |||
"description": "Poids unitaire" | |||
}, | |||
"poids hardcore3": { | |||
"label": "Poids hardcore", | |||
"type": "string", | |||
"description": "Poids en mode hardcore ou survie" | |||
}, | |||
"valeur3": { | |||
"label": "Valeur", | |||
"type": "string", | |||
"description": "Valeur en capsules" | |||
}, | |||
"baseid3": { | |||
"label": "Base ID", | |||
"type": "string", | |||
"description": "Légende de l'illustration" | |||
}, | |||
"nom mun4": { | |||
"label": "Nom munition 4", | |||
"type": "string", | |||
"description": "Nom de la munition" | |||
}, | |||
"poids4": { | |||
"label": "Poids", | |||
"type": "string", | |||
"description": "Poids unitaire" | |||
}, | |||
"poids hardcore4": { | |||
"label": "Poids hardcore", | |||
"type": "string", | |||
"description": "Poids en mode hardcore ou survie" | |||
}, | |||
"valeur4": { | |||
"label": "Valeur", | |||
"type": "string", | |||
"description": "Valeur en capsules" | |||
}, | |||
"baseid4": { | |||
"label": "Base ID", | |||
"type": "string", | |||
"description": "Légende de l'illustration" | |||
}, | |||
"nom mun5": { | |||
"label": "Nom munition 5", | |||
"type": "string", | |||
"description": "Nom de la munition" | |||
}, | |||
"poids5": { | |||
"label": "Poids", | |||
"type": "string", | |||
"description": "Poids unitaire" | |||
}, | |||
"poids hardcore5": { | |||
"label": "Poids hardcore", | |||
"type": "string", | |||
"description": "Poids en mode hardcore ou survie" | |||
}, | |||
"valeur5": { | |||
"label": "Valeur", | |||
"type": "string", | |||
"description": "Valeur en capsules" | |||
}, | |||
"baseid5": { | |||
"label": "Base ID", | |||
"type": "string", | |||
"description": "Légende de l'illustration" | |||
} | |||
}, | |||
"description": "Infobox pour tous les munitions des jeux Fallout 3, Fallout: New Vegas, Fallout 4.", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
== Exemples == | |||
=== Cartouche 10 mm (Fallout 4) === | |||
{{Infobox munition gamebryo | {{Infobox munition gamebryo | ||
| | |nom =Cartouche 10 mm | ||
| | |jeux =FO4 | ||
|image = | |image =fo4 Cartouche 10mm.png | ||
|poids =0 | |poids =0 | ||
|poids hardcore =0. | |poids hardcore =0.025 | ||
|valeur = | |valeur =2 | ||
|baseid ={{ID| | |baseid ={{ID|1f276}} | ||
}} | }} | ||
< | <syntaxhighlight lang="moin"> | ||
{{Infobox munition gamebryo | {{Infobox munition gamebryo | ||
|jeux = | |jeux =FO4 | ||
|image = | |image =fo4 Cartouche 10mm.png | ||
|poids =0 | |poids =0 | ||
|poids hardcore =0. | |poids hardcore =0.025 | ||
|valeur = | |valeur =2 | ||
|baseid ={{ID| | |baseid ={{ID|1f276}} | ||
}} | }} | ||
</ | </syntaxhighlight> | ||
{{clear}} | {{clear}} | ||
=== | === Cartouche .22 LR (Fallout: New Vegas) === | ||
{{Infobox munition gamebryo | {{Infobox munition gamebryo | ||
| | |nom =Cartouche .22 LR | ||
| | |jeux =FNV | ||
|image | |image =Cartouche .22 LR.png | ||
|poids | |poids =0 | ||
|poids hardcore | |poids hardcore =0.0076 | ||
|valeur | |valeur =1 | ||
|baseid | |baseid ={{ID|0007EA27}} | ||
|nom mun2 =Cartouche .22 LR, Pointe creuse | |||
|poids2 =0 | |||
|poids hardcore2 =0.0076 | |||
|valeur2 =2 | |||
|baseid2 ={{ID|0013E439}} | |||
|nom mun3 =Cartouche .22 LR, Entraînement | |||
|poids3 =0 | |||
|poids hardcore3 =0.0076 | |||
|valeur3 =0 | |||
|baseid3 ={{ID|00121162}} | |||
|nom mun4 =Cartouche .22 LR, Craignos {{cut}} | |||
|poids4 =0 | |||
|poids hardcore4 =0.0076 | |||
|valeur4 =0 | |||
|baseid4 ={{DLC ID|00fb71}} | |||
}} | }} | ||
< | <syntaxhighlight lang="moin"> | ||
{{Infobox munition gamebryo | {{Infobox munition gamebryo | ||
|jeux | |jeux =FNV | ||
|image =Cartouche .22 LR.png | |||
|image | |poids =0 | ||
|poids hardcore =0.0076 | |||
|valeur =1 | |||
|poids | |baseid ={{ID|0007EA27}} | ||
|poids hardcore | |nom mun2 =Cartouche .22 LR, Pointe creuse | ||
|valeur | |poids2 =0 | ||
|baseid | |poids hardcore2 =0.0076 | ||
|valeur2 =2 | |||
|nom mun2 | |baseid2 ={{ID|0013E439}} | ||
|poids2 | |nom mun3 =Cartouche .22 LR, Entraînement | ||
|poids hardcore2 | |poids3 =0 | ||
|valeur2 | |poids hardcore3 =0.0076 | ||
|baseid2 | |valeur3 =0 | ||
|baseid3 ={{ID|00121162}} | |||
|nom mun3 | |nom mun4 =Cartouche .22 LR, Craignos {{cut}} | ||
|poids3 | |poids4 =0 | ||
|poids hardcore3 | |poids hardcore4 =0.0076 | ||
|valeur3 | |valeur4 =0 | ||
|baseid3 | |baseid4 ={{DLC ID|00fb71}} | ||
|nom mun4 | |||
| | |||
|poids | |||
| | |||
| | |||
}} | }} | ||
</ | </syntaxhighlight> | ||
{{clear}} | |||
{ | |||
{ | |||
modifications