« Modèle:Infobox munition gamebryo » : différence entre les versions

De Les Archives de Vault-Tec
Kharmitch (discussion | contributions)
mAucun résumé des modifications
Kharmitch (discussion | contributions)
Utilisation des modules Infobox et Infobox/Munition gamebryo
Balise : Contenu remplacé
Ligne 1 : Ligne 1 :
<onlyinclude><includeonly><!--
<onlyinclude><includeonly>{{#invoke:Infobox|build|nom=Munition gamebryo}}</includeonly></onlyinclude>
 
-->{{Infobox
|games              ={{{jeux|}}}
|title              ={{{nom|}}}
|subtitle          ={{{sous-titre|}}}
|supertitle        =munition
|supertitle link    =munitions
|icon              ={{{icône|}}}
|icon offset        ={{{position icône|}}}
|main image1        ={{{image|}}}
|main image1 size  ={{{taille image|}}}
|main image2        ={{{image2|}}}
|main image2 size  ={{{taille image2|}}}
|main image3        ={{{image3|}}}
|main image3 size  ={{{taille image3|}}}
|main image4        ={{{image4|}}}
|main image4 size  ={{{taille image4|}}}
|main image5        ={{{image5|}}}
|main image5 size  ={{{taille image5|}}}
|main image desc    ={{{image desc|}}}
|main image columns =3
|size main images  =x130px
|footer            ={{{pied|}}}
|group1            ={{#if:{{{nom mun2|}}}{{{nom mun3|}}}{{{nom mun4|}}}{{{nom mun5|}}}{{{nom mun6|}}}{{{nom mun7|}}}{{{nom mun8|}}}{{{nom mun9|}}}{{{nom mun10|}}}|{{#if:{{{nom mun|}}}|{{{nom mun}}}|{{#if:{{{name|}}}|{{{name}}}|{{Pagename nd}}}}}}|@hide}}
|options1          ={{#if:{{#pos:{{lc:{{{nom mun|}}}}}|{{cut}}}}{{#pos:{{lc:{{{nom mun|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{nom mun|}}}}}|(cut)}}|collapsed}}
|cond2              =1
|label2-1          =poids
|content2-2        =<!--
-->{{#ifeq:{{#if:{{abbcontains|{{{jeux|}}}|FNV*,FO4*}}|1}}{{#if:{{{poids hardcore|}}}|1}}|11<!--
  -->|<!--
  -->{{Infobox/divider<!--
    -->|type          =topbottom<!--
    -->|bottom        ={{#ifeq:{{{jeux|}}}|FNV|{{infobulle|titre=Mode Hardcore uniquement, autrement : {{{poids|}}}|texte={{{poids hardcore|}}}}}|{{infobulle|titre=Mode Survie uniquement, autrement : {{{poids|}}}|texte={{{poids hardcore|}}}}}}}<!--
    -->|floated bottom ={{#ifeq:{{{jeux|}}}|FNV|[[Mode hardcore|MH]]|[[Mode Survie|MS]]}}<!--
  -->}}<!--
  -->|{{{poids|}}}<!--
-->}}
|label2-3          =valeur
|content2-4        ={{{valeur|}}}
|cond3              =1
|label3-1          =[[Form ID|base id]]
|content3-2        ={{{baseid|}}}
|group4            ={{{nom mun2|}}}
|options4          ={{#if:{{#pos:{{lc:{{{nom mun2|}}}}}|{{cut}}}}{{#pos:{{lc:{{{nom mun2|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{nom mun2|}}}}}|(cut)}}|collapsed}}
|cond5              ={{{nom mun2|}}}
|label5-1          =poids
|content5-2        =<!--
-->{{#ifeq:{{#if:{{abbcontains|{{{jeux|}}}|FNV*,FO4*}}|1}}{{#if:{{{poids hardcore2|}}}|1}}|11<!--
  -->|<!--
  -->{{Infobox/divider<!--
    -->|type          =topbottom<!--
    -->|bottom        ={{infobulle|titre=Mode Hardcore uniquement, autrement : {{{poids2|}}}|texte={{{poids hardcore2|}}}}}<!--
    -->|floated bottom =[[Mode hardcore|MH]]<!--
  -->}}<!--
  -->|{{{poids2|}}}<!--
-->}}
|label5-3          =valeur
|content5-4        ={{{valeur2|}}}
|cond6              ={{{nom mun2|}}}
|label6-1          =[[Form ID|base id]]
|content6-2        ={{{baseid2|}}}
|group7            ={{{nom mun3|}}}
|options7          ={{#if:{{#pos:{{lc:{{{nom mun3|}}}}}|{{cut}}}}{{#pos:{{lc:{{{nom mun3|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{nom mun3|}}}}}|(cut)}}|collapsed}}
|cond8              ={{{nom mun3|}}}
|label8-1          =poids
|content8-2        =<!--
-->{{#ifeq:{{#if:{{abbcontains|{{{jeux|}}}|FNV*,FO4*}}|1}}{{#if:{{{poids hardcore3|}}}|1}}|11<!--
  -->|<!--
  -->{{Infobox/divider<!--
    -->|type          =topbottom<!--
    -->|bottom        ={{infobulle|titre=Mode Hardcore uniquement, autrement : {{{poids3|}}}|texte={{{poids hardcore3|}}}}}<!--
    -->|floated bottom =[[Mode hardcore|MH]]<!--
  -->}}<!--
  -->|{{{poids3|}}}<!--
-->}}
|label8-3          =valeur
|content8-4        ={{{valeur3|}}}
|cond9              ={{{nom mun3|}}}
|label9-1          =[[Form ID|base id]]
|content9-2        ={{{baseid3|}}}
|group10            ={{{nom mun4|}}}
|options10          ={{#if:{{#pos:{{lc:{{{nom mun4|}}}}}|{{cut}}}}{{#pos:{{lc:{{{nom mun4|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{nom mun4|}}}}}|(cut)}}|collapsed}}
|cond11            ={{{nom mun4|}}}
|label11-1          =poids
|content11-2        =<!--
-->{{#ifeq:{{#if:{{abbcontains|{{{jeux|}}}|FNV*,FO4*}}|1}}{{#if:{{{poids hardcore4|}}}|1}}|11<!--
  -->|<!--
  -->{{Infobox/divider<!--
    -->|type          =topbottom<!--
    -->|bottom        ={{infobulle|titre=Mode Hardcore uniquement, autrement : {{{poids4|}}}|texte={{{poids hardcore4|}}}}}<!--
    -->|floated bottom =[[Mode hardcore|MH]]<!--
  -->}}<!--
  -->|{{{poids4|}}}<!--
-->}}
|label11-3          =valeur
|content11-4        ={{{valeur4|}}}
|cond12            ={{{nom mun4|}}}
|label12-1          =[[Form ID|base id]]
|content12-2        ={{{baseid4|}}}
|group13            ={{{nom mun5|}}}
|options13          ={{#if:{{#pos:{{lc:{{{nom mun5|}}}}}|{{cut}}}}{{#pos:{{lc:{{{nom mun5|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{nom mun5|}}}}}|(cut)}}|collapsed}}
|cond14            ={{{nom mun5|}}}
|label14-1          =poids
|content14-2        =<!--
-->{{#ifeq:{{#if:{{abbcontains|{{{jeux|}}}|FNV*,FO4*}}|1}}{{#if:{{{poids hardcore5|}}}|1}}|11<!--
  -->|<!--
  -->{{Infobox/divider<!--
    -->|type          =topbottom<!--
    -->|bottom        ={{infobulle|titre=Mode Hardcore uniquement, autrement : {{{poids5|}}}|texte={{{poids hardcore5|}}}}}<!--
    -->|floated bottom =[[Mode hardcore|MH]]<!--
  -->}}<!--
  -->|{{{poids5|}}}<!--
-->}}
|label14-3          =valeur
|content14-4        ={{{valeur5|}}}
|cond15            ={{{nom mun5|}}}
|label15-1          =[[Form ID|base id]]
|content15-2        ={{{baseid5|}}}
|group16            ={{{nom mun6|}}}
|options16          ={{#if:{{#pos:{{lc:{{{nom mun6|}}}}}|{{cut}}}}{{#pos:{{lc:{{{nom mun6|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{nom mun6|}}}}}|(cut)}}|collapsed}}
|cond17            ={{{nom mun6|}}}
|label17-1          =poids
|content17-2        =<!--
-->{{#ifeq:{{#if:{{abbcontains|{{{jeux|}}}|FNV*,FO4*}}|1}}{{#if:{{{poids hardcore6|}}}|1}}|11<!--
  -->|<!--
  -->{{Infobox/divider<!--
    -->|type          =topbottom<!--
    -->|bottom        ={{infobulle|titre=Mode Hardcore uniquement, autrement : {{{poids6|}}}|texte={{{poids hardcore6|}}}}}<!--
    -->|floated bottom =[[Mode hardcore|MH]]<!--
  -->}}<!--
  -->|{{{poids6|}}}<!--
-->}}
|label17-3          =valeur
|content17-4        ={{{valeur6|}}}
|cond18            ={{{nom mun6|}}}
|label18-1          =[[Form ID|base id]]
|content18-2        ={{{baseid6|}}}
|group19            ={{{nom mun7|}}}
|options19          ={{#if:{{#pos:{{lc:{{{nom mun7|}}}}}|{{cut}}}}{{#pos:{{lc:{{{nom mun7|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{nom mun7|}}}}}|(cut)}}|collapsed}}
|cond20            ={{{nom mun7|}}}
|label20-1          =poids
|content20-2        =<!--
-->{{#ifeq:{{#if:{{abbcontains|{{{jeux|}}}|FNV*,FO4*}}|1}}{{#if:{{{poids hardcore7|}}}|1}}|11<!--
  -->|<!--
  -->{{Infobox/divider<!--
    -->|type          =topbottom<!--
    -->|bottom        ={{infobulle|titre=Mode Hardcore uniquement, autrement : {{{poids7|}}}|texte={{{poids hardcore7|}}}}}<!--
    -->|floated bottom =[[Mode hardcore|MH]]<!--
  -->}}<!--
  -->|{{{poids7|}}}<!--
-->}}
|label20-3          =valeur
|content20-4        ={{{valeur7|}}}
|cond21            ={{{nom mun7|}}}
|label21-1          =[[Form ID|base id]]
|content21-2        ={{{baseid7|}}}
|group22            ={{{nom mun8|}}}
|options22          ={{#if:{{#pos:{{lc:{{{nom mun8|}}}}}|{{cut}}}}{{#pos:{{lc:{{{nom mun8|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{nom mun8|}}}}}|(cut)}}|collapsed}}
|cond23            ={{{nom mun8|}}}
|label23-1          =poids
|content23-2        =<!--
-->{{#ifeq:{{#if:{{abbcontains|{{{jeux|}}}|FNV*,FO4*}}|1}}{{#if:{{{poids hardcore8|}}}|1}}|11<!--
  -->|<!--
  -->{{Infobox/divider<!--
    -->|type          =topbottom<!--
    -->|bottom        ={{infobulle|titre=Mode Hardcore uniquement, autrement : {{{poids8|}}}|texte={{{poids hardcore8|}}}}}<!--
    -->|floated bottom =[[Mode hardcore|MH]]<!--
  -->}}<!--
  -->|{{{poids8|}}}<!--
-->}}
|label23-3          =valeur
|content23-4        ={{{valeur8|}}}
|cond24            ={{{nom mun8|}}}
|label24-1          =[[Form ID|base id]]
|content24-2        ={{{baseid8|}}}
|group25            ={{{nom mun9|}}}
|options25          ={{#if:{{#pos:{{lc:{{{nom mun9|}}}}}|{{cut}}}}{{#pos:{{lc:{{{nom mun9|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{nom mun9|}}}}}|(cut)}}|collapsed}}
|cond26            ={{{nom mun9|}}}
|label26-1          =poids
|content26-2        =<!--
-->{{#ifeq:{{#if:{{abbcontains|{{{jeux|}}}|FNV*,FO4*}}|1}}{{#if:{{{poids hardcore9|}}}|1}}|11<!--
  -->|<!--
  -->{{Infobox/divider<!--
    -->|type          =topbottom<!--
    -->|bottom        ={{infobulle|titre=Mode Hardcore uniquement, autrement : {{{poids9|}}}|texte={{{poids hardcore9|}}}}}<!--
    -->|floated bottom =[[Mode hardcore|MH]]<!--
  -->}}<!--
  -->|{{{poids9|}}}<!--
-->}}
|label26-3          =valeur
|content26-4        ={{{valeur9|}}}
|cond27            ={{{nom mun9|}}}
|label27-1          =[[Form ID|base id]]
|content27-2        ={{{baseid9|}}}
|group28            ={{{nom mun10|}}}
|options28          ={{#if:{{#pos:{{lc:{{{nom mun10|}}}}}|{{cut}}}}{{#pos:{{lc:{{{nom mun10|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{nom mun10|}}}}}|(cut)}}|collapsed}}
|cond29            ={{{nom mun10|}}}
|label29-1          =poids
|content29-2        =<!--
-->{{#ifeq:{{#if:{{abbcontains|{{{jeux|}}}|FNV*,FO4*}}|1}}{{#if:{{{poids hardcore10|}}}|1}}|11<!--
  -->|<!--
  -->{{Infobox/divider<!--
    -->|type          =topbottom<!--
    -->|bottom        ={{infobulle|titre=Mode Hardcore uniquement, autrement : {{{poids10|}}}|texte={{{poids hardcore10|}}}}}<!--
    -->|floated bottom =[[Mode hardcore|MH]]<!--
  -->}}<!--
  -->|{{{poids10|}}}<!--
-->}}
|label29-3          =valeur
|content29-4        ={{{valeur10|}}}
|cond30            ={{{nom mun10|}}}
|label30-1          =[[Form ID|base id]]
|content30-2        ={{{baseid10|}}}
}}<!--
 
--></includeonly></onlyinclude>
{{documentation}}
{{documentation}}
[[Catégorie:Modèles Infobox|munition gamebryo]]
[[Catégorie:Modèles Infobox|Munition gamebryo]]

Version du 1 août 2021 à 23:16

Documentation du modèle (pour le modèle ci-dessus, parfois caché ou invisible)

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

{{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

Infobox pour tous les munitions des jeux Fallout 3, Fallout: New Vegas, Fallout 4.

Paramètres du modèle[Modifier les données du modèle]

La mise en forme multiligne est préférée pour ce modèle.

ParamètreDescriptionTypeÉtat
Nomnom

Titre de l'infobox

Chaînefacultatif
Sous-titresous-titre

Sous-titre de l'infobox

Chaînefacultatif
Jeuxjeux

Liste des abréviations de jeu séparées par une virgule

Exemple
FO3,FNV
Chaînefacultatif
Imageimage

Illustration de l'infobox

Fichierfacultatif
Image 2image2

Illustration de l'infobox

Fichierfacultatif
Image 3image 3

Illustration de l'infobox

Fichierfacultatif
Image 4image 4

Illustration de l'infobox

Fichierfacultatif
Image 5image 5

Illustration de l'infobox

Fichierfacultatif
Légendelégende

Légende de l'illustration

Chaînefacultatif
Poidspoids

Poids unitaire

Chaînefacultatif
Poids hardcorepoids hardcore

Poids en mode hardcore ou survie

Chaînefacultatif
Valeurvaleur

Valeur en capsules

Chaînefacultatif
Base IDbaseid

Légende de l'illustration

Chaînefacultatif
Nom munition 2nom mun2

Nom de la munition

Chaînefacultatif
Poidspoids2

Poids unitaire

Chaînefacultatif
Poids hardcorepoids hardcore2

Poids en mode hardcore ou survie

Chaînefacultatif
Valeurvaleur2

Valeur en capsules

Chaînefacultatif
Base IDbaseid2

Légende de l'illustration

Chaînefacultatif
Nom munition 3nom mun3

Nom de la munition

Chaînefacultatif
Poidspoids3

Poids unitaire

Chaînefacultatif
Poids hardcorepoids hardcore3

Poids en mode hardcore ou survie

Chaînefacultatif
Valeurvaleur3

Valeur en capsules

Chaînefacultatif
Base IDbaseid3

Légende de l'illustration

Chaînefacultatif
Nom munition 4nom mun4

Nom de la munition

Chaînefacultatif
Poidspoids4

Poids unitaire

Chaînefacultatif
Poids hardcorepoids hardcore4

Poids en mode hardcore ou survie

Chaînefacultatif
Valeurvaleur4

Valeur en capsules

Chaînefacultatif
Base IDbaseid4

Légende de l'illustration

Chaînefacultatif
Nom munition 5nom mun5

Nom de la munition

Chaînefacultatif
Poidspoids5

Poids unitaire

Chaînefacultatif
Poids hardcorepoids hardcore5

Poids en mode hardcore ou survie

Chaînefacultatif
Valeurvaleur5

Valeur en capsules

Chaînefacultatif
Base IDbaseid5

Légende de l'illustration

Chaînefacultatif

Exemples

Cartouche 10 mm (Fallout 4)

Cartouche 10 mm

Poids
0 (0.025 en mode Survie)
Valeur
2
{{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)

Cartouche .22 LR
Poids
0 (0.0076 en mode Hardcore)
Valeur
1
Cartouche .22 LR, Pointe creuse
Poids
0 (0.0076 en mode Hardcore)
Valeur
2
Cartouche .22 LR, Entraînement
Poids
0 (0.0076 en mode Hardcore)
Valeur
0
Cartouche .22 LR, Craignos
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}}
}}
Documentation transclues de Modèle:Infobox munition gamebryo/doc.