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

De Les Archives de Vault-Tec
Kharmitch (discussion | contributions)
Aucun résumé des modifications
 
Kharmitch (discussion | contributions)
Mise à jour pour utilisation de TemplateData
Balise : Éditeur de wikicode 2017
Ligne 1 : Ligne 1 :
<noinclude>{{documentationpage}}</noinclude>
<noinclude>{{Page de documentation}}</noinclude>
Infobox template for [[:Category:Ammunition|ammunition]] in [[Gamebryo]]-engine games such as ''[[Fallout 3]]'' and ''[[Fallout: New Vegas]]''.
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]].


Based on {{tl|Infobox}}.
Pour ''[[Fallout]]'', ''[[Fallout 2 ]]'' et ''[[Fallout Tactics]]'', voir le modèle {{m|Infobox munition}}.
 
== Usage ==


==Usage==
Place the following at the top of the article, below any [[:Category:Page management templates|page management templates]]:
<pre>
<pre>
{{Infobox munition gamebryo
{{Infobox objet
<!-- insert parameters -->
|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>


===Parameters===
== Paramètres ==
====Specific parameters====
{{Docparam|name=baseid >> baseid10|req=semi|default=|desc=
[[Form ID|Base ID]] of the corresponding ammo Variante. Enclose ID(s) in {{tl|ID}} or {{tl|DLC ID}}.
}}
 
{{Docparam|name=nom mun >> nom mun10|req=semi|default=|desc=
Name of the corresponding ammo Variante; only required if there is more than one Variante listed. If <code>nom mun</code> contains "<nowiki>{{cut}}</nowiki>", "<nowiki>{{icon|cut}}</nowiki>" or "(cut)", the corresponding section will be collapsed by default.
}}


{{Docparam|name=valeur >> valeur10|req=semi|default=|desc=
<templatedata>
Base valeur of the corresponding ammo Variante per unit.
{
}}
"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": "Poids unitaire"
},
"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 2",
"type": "string",
"description": "Poids unitaire"
},
"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 2",
"type": "string",
"description": "Poids unitaire"
},
"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 2",
"type": "string",
"description": "Poids unitaire"
},
"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>


{{Docparam|name=poids >> poids10|req=semi|default=|desc=
== Exemples ==
poids of the corresponding ammo Variante.
}}


{{Docparam|name=poids hardcore >> poids hardcore10|req=no|default=|desc=
=== Cartouche 10 mm (Fallout 4) ===
poids of the corresponding ammo Variante in [[hardcore mode]] (''Fallout: New Vegas'').
}}


====General infobox parameters====
{{Infobox/doc/standard|pied}}
{{Infobox/doc/standard|jeux }}
{{Infobox/doc/standard|icône}}
{{Infobox/doc/standard|position icône}}
{{Infobox/doc/standard|image}}
{{Infobox/doc/standard|image desc}}
{{Infobox/doc/standard|taille image|x200px}}|x130px}}
{{Infobox/doc/standard|nom}}
{{Infobox/doc/standard|sous-titre}}
==Example==
{{Infobox munition gamebryo
{{Infobox munition gamebryo
|jeux              =FNV
|nom              =Cartouche 10 mm
|name             =.22LR round
|jeux             =FO4
|image            =22LR round.png
|image            =fo4 Cartouche 10mm.png
|icon              =22lr rounds icon.png
<!-- ####### Variantee 1 ####### -->
|nom mun          =.22LR round
|poids            =0
|poids            =0
|poids hardcore    =0.0076
|poids hardcore    =0.025
|valeur            =1
|valeur            =2
|baseid            ={{ID|0007EA27}}
|baseid            ={{ID|1f276}}
<!-- ####### Variante 2 ####### -->
|nom mun2          =.22LR, hollow point
|poids2            =0
|poids hardcore2  =0.0076
|valeur2          =2
|baseid2          ={{ID|0013E439}}
<!-- ####### Variante 3 ####### -->
|nom mun3          =.22LR, plinking
|poids3            =0
|poids hardcore3  =0.0076
|valeur3          =0
|baseid3          ={{ID|00121162}}
<!-- ####### Variante 4 ####### -->
|nom mun4          =.22LR round (junk) {{cut}}
|poids4            =0
|poids hardcore4  =0.0076
|valeur4          =1
|baseid4          ={{DLC ID|00fb71}}
}}
}}
<pre>
<syntaxhighlight lang="moin">
{{Infobox munition gamebryo
{{Infobox munition gamebryo
|jeux              =FNV
|jeux              =FO4
|image            =22LR round.png
|image            =fo4 Cartouche 10mm.png
|icon              =22lr rounds icon.png
<!-- ####### Variantee 1 ####### -->
|nom mun          =.22LR round
|poids            =0
|poids            =0
|poids hardcore    =0.0076
|poids hardcore    =0.025
|valeur            =1
|valeur            =2
|baseid            ={{ID|0007EA27}}
|baseid            ={{ID|1f276}}
<!-- ####### Variante 2 ####### -->
|nom mun2          =.22LR, hollow point
|poids2            =0
|poids hardcore2  =0.0076
|valeur2          =2
|baseid2          ={{ID|0013E439}}
<!-- ####### Variante 3 ####### -->
|nom mun3          =.22LR, plinking
|poids3            =0
|poids hardcore3  =0.0076
|valeur3          =0
|baseid3          ={{ID|00121162}}
<!-- ####### Variante 4 ####### -->
|nom mun4          =.22LR round (junk) {{cut}}
|poids4            =0
|poids hardcore4  =0.0076
|valeur4          =1
|baseid4          ={{DLC ID|00fb71}}
}}
}}
</pre>
</syntaxhighlight>
 
{{clear}}
{{clear}}
==Copy/paste==
===''Fallout 3''===
{| class="va-table-top" style="width: 100%;"
|-
| style="width: 50%;" |
<pre>
{{Infobox munition gamebryo
|jeux              =FO3
|icon              =
|image            =
|poids            =
|valeur            =
|baseid            ={{ID|}}
}}
</pre>
| style="width: 50%;" |
|}


===''Fallout: New Vegas''===
=== Cartouche .22 LR (Fallout: New Vegas) ===
{| class="va-table-top" style="width: 100%;"
 
|-
! style="width: 50%;" | Single
! style="width: 50%;" | Multiple
|-
|
<pre>
{{Infobox munition gamebryo
{{Infobox munition gamebryo
|jeux              =FNV
|nom            =Cartouche .22 LR
|icon              =
|jeux            =FNV
|image             =
|image           =Cartouche .22 LR.png
|poids             =
|poids           =0
|poids hardcore   =
|poids hardcore =0.0076
|valeur           =
|valeur         =1
|baseid           ={{ID|}}
|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}}
}}
}}
</pre>
<syntaxhighlight lang="moin">
|
<pre>
{{Infobox munition gamebryo
{{Infobox munition gamebryo
|jeux             =FNV
|jeux           =FNV
|icon              =
|image          =Cartouche .22 LR.png
|image             =
|poids           =0
<!-- ####### Variantee 1 ####### -->
|poids hardcore =0.0076
|nom mun           =
|valeur         =1
|poids             =
|baseid         ={{ID|0007EA27}}
|poids hardcore   =
|nom mun2       =Cartouche .22 LR, Pointe creuse
|valeur           =
|poids2         =0
|baseid           ={{ID|}}
|poids hardcore2 =0.0076
<!-- ####### Variante 2 ####### -->
|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           ={{ID|}}
|valeur3         =0
<!-- ####### Variante 3 ####### -->
|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           ={{ID|}}
|baseid4        ={{DLC ID|00fb71}}
<!-- ####### Variante 4 ####### -->
|nom mun4         =
|poids4            =
|poids hardcore4  =
|valeur4          =
|baseid4          ={{ID|}}
<!-- ####### Variante 5 ####### -->
|nom mun5         =
|poids5            =
|poids hardcore5  =
|valeur5          =
|baseid5          ={{ID|}}
}}
}}
</pre>
</syntaxhighlight>
|}


===''Fallout 4''===
{{clear}}
{| class="va-table-top" style="width: 100%;"
|-
| style="width: 50%;" |
<pre>
{{Infobox munition gamebryo
|jeux              =FO4
|icon              =
|image            =
|poids            =
|poids hardcore    =
|valeur            =
|baseid            ={{ID|}}
}}
</pre>
| style="width: 50%;" |
|}
 
==Source==
* Le modèle et sa page de documentation sont issus du Wikipédia [http://fallout.gamepedia.com/Fallout_Wiki The Vault]. Vous pouvez les retrouver en suivant ce [http://fallout.gamepedia.com/Template:Infobox_ammo_gamebryo lien].

Version du 31 décembre 2021 à 11:33

Ceci est la page de documentation de Modèle:Infobox munition gamebryo [modifier] [purger].

Cette sous-page contient les instructions et les catégories de son modèle d'origine et elle n'est pas destinée à être visualisée directement.

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

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

Poids unitaire

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 2nom mun3

Poids unitaire

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 2nom mun4

Poids unitaire

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 2nom mun5

Poids unitaire

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