« Modèle:Infobox munition gamebryo/doc » : différence entre les versions
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}} | |||
{ | |||
{ | |||
Dernière version du 31 décembre 2021 à 11:37
Infobox pour tous les 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 {{Infobox munition}}.
Usage[modifier le wikicode]
{{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 = }}
Paramètres[modifier le wikicode]
Infobox pour tous les munitions des jeux Fallout 3, Fallout: New Vegas, Fallout 4.
Paramètre | Description | Type | État | |
---|---|---|---|---|
Nom | nom | Titre de l'infobox | Chaîne | facultatif |
Sous-titre | sous-titre | Sous-titre de l'infobox | Chaîne | facultatif |
Jeux | jeux | Liste des abréviations de jeu séparées par une virgule
| Chaîne | facultatif |
Image | image | Illustration de l'infobox | Fichier | facultatif |
Image 2 | image2 | Illustration de l'infobox | Fichier | facultatif |
Image 3 | image 3 | Illustration de l'infobox | Fichier | facultatif |
Image 4 | image 4 | Illustration de l'infobox | Fichier | facultatif |
Image 5 | image 5 | Illustration de l'infobox | Fichier | facultatif |
Légende | légende | Légende de l'illustration | Chaîne | facultatif |
Poids | poids | Poids unitaire | Chaîne | facultatif |
Poids hardcore | poids hardcore | Poids en mode hardcore ou survie | Chaîne | facultatif |
Valeur | valeur | Valeur en capsules | Chaîne | facultatif |
Base ID | baseid | Légende de l'illustration | Chaîne | facultatif |
Nom munition 2 | nom mun2 | Nom de la munition | Chaîne | facultatif |
Poids | poids2 | Poids unitaire | Chaîne | facultatif |
Poids hardcore | poids hardcore2 | Poids en mode hardcore ou survie | Chaîne | facultatif |
Valeur | valeur2 | Valeur en capsules | Chaîne | facultatif |
Base ID | baseid2 | Légende de l'illustration | Chaîne | facultatif |
Nom munition 3 | nom mun3 | Nom de la munition | Chaîne | facultatif |
Poids | poids3 | Poids unitaire | Chaîne | facultatif |
Poids hardcore | poids hardcore3 | Poids en mode hardcore ou survie | Chaîne | facultatif |
Valeur | valeur3 | Valeur en capsules | Chaîne | facultatif |
Base ID | baseid3 | Légende de l'illustration | Chaîne | facultatif |
Nom munition 4 | nom mun4 | Nom de la munition | Chaîne | facultatif |
Poids | poids4 | Poids unitaire | Chaîne | facultatif |
Poids hardcore | poids hardcore4 | Poids en mode hardcore ou survie | Chaîne | facultatif |
Valeur | valeur4 | Valeur en capsules | Chaîne | facultatif |
Base ID | baseid4 | Légende de l'illustration | Chaîne | facultatif |
Nom munition 5 | nom mun5 | Nom de la munition | Chaîne | facultatif |
Poids | poids5 | Poids unitaire | Chaîne | facultatif |
Poids hardcore | poids hardcore5 | Poids en mode hardcore ou survie | Chaîne | facultatif |
Valeur | valeur5 | Valeur en capsules | Chaîne | facultatif |
Base ID | baseid5 | Légende de l'illustration | Chaîne | facultatif |
Exemples[modifier le wikicode]
Cartouche 10 mm (Fallout 4)[modifier le wikicode]
{{Infobox munition gamebryo
|jeux =FO4
|image =fo4 Cartouche 10mm.png
|poids =0
|poids hardcore =0.025
|valeur =2
|baseid ={{ID|1f276}}
}}
Cartouche .22 LR (Fallout: New Vegas)[modifier le wikicode]
Poids |
0 (0.0076 en mode Hardcore) |
---|---|
Valeur |
1 |
Poids |
0 (0.0076 en mode Hardcore) |
---|---|
Valeur |
2 |
Poids |
0 (0.0076 en mode Hardcore) |
---|---|
Valeur |
0 |
Poids |
0 (0.0076 en mode Hardcore) |
---|---|
Valeur |
0 |
{{Infobox munition gamebryo
|jeux =FNV
|image =Cartouche .22 LR.png
|poids =0
|poids hardcore =0.0076
|valeur =1
|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}}
}}