|
|
(3 versions intermédiaires par 2 utilisateurs non affichées) |
Ligne 1 : |
Ligne 1 : |
| <onlyinclude><includeonly><!-- | | <onlyinclude><includeonly>{{#invoke:Infobox|build|nom=Munition}}</includeonly></onlyinclude> |
| | |
| #################################
| |
| ## SET VARIABLES ##
| |
| #################################
| |
| | |
| -->{{#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|<!--
| |
| -->{{#if:{{abbcontains|{{{jeux|}}}|FOT*}}<!--
| |
| -->|dégâts<!--
| |
| -->|dégâts du mode<!--
| |
| -->}}<!--
| |
| -->}}<!--
| |
| -->{{#vardefine:ibammo-tooltip-dammodDam|<!--
| |
| -->{{#if:{{abbcontains|{{{jeux|}}}|FOT*}}<!--
| |
| -->|{{#var:ibammo-tooltip-damage}}<!--
| |
| -->|{{#var:ibammo-tooltip-dammod}}<!--
| |
| -->}}<!--
| |
| -->}}<!--
| |
| | |
| -->{{#vardefine:ibammo-label-drmodPen|<!--
| |
| -->{{#if:{{abbcontains|{{{jeux|}}}|FOT*}}<!--
| |
| -->|pénétration<!--
| |
| -->|mode RD<!--
| |
| -->}}<!--
| |
| -->}}<!--
| |
| -->{{#vardefine:ibammo-tooltip-drmodPen|<!--
| |
| -->{{#if:{{abbcontains|{{{jeux|}}}|FOT*}}<!--
| |
| -->|{{#var:ibammo-tooltip-penetration}}<!--
| |
| -->|{{#var:ibammo-tooltip-drmod}}<!--
| |
| -->}}<!--
| |
| -->}}<!--
| |
| | |
| #################################
| |
| ## DISPLAY INFOBOX ##
| |
| #################################
| |
| | |
| -->{{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 =5
| |
| |size main images =x130px
| |
| |footer ={{{pied|}}}
| |
| |group1 ={{#if:{{{nom mun2|}}}{{{nom mun3|}}}{{{nom mun4|}}}{{{nom mun5|}}}|{{#if:{{{nom mun|}}}|{{{nom mun}}}|{{#if:{{{nom|}}}|{{{nom}}}|{{Pagename nd}}}}}}|@hide}}
| |
| |options1 ={{#if:{{#pos:{{lc:{{{nom mun|}}}}}|{{cut}}}}{{#pos:{{lc:{{{nom mun|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{nom mun|}}}}}|(cut)}}|collapsed}}
| |
| |cond2 ={{#if:{{abbcontains|{{{jeux|}}}|FOT*}}||1}}
| |
| |label2-1 =capacité charg.
| |
| |label2-1 tooltip ={{#var:ibammo-tooltip-magsize}}
| |
| |content2-2 ={{{chargeur|}}}
| |
| |label2-3 =mode CA
| |
| |label2-3 tooltip ={{#var:ibammo-tooltip-acmod}}
| |
| |content2-4 ={{{mode ca|}}}
| |
| |cond3 ={{abbcontains|{{{jeux|}}}|FOT*}}
| |
| |label3-1 =capacité charg.
| |
| |label3-1 tooltip ={{#var:ibammo-tooltip-magsize}}
| |
| |content3-2 ={{{chargeur|}}}
| |
| |cond4 =1
| |
| |label4-1 ={{#var:ibammo-label-dammodDam}}
| |
| |label4-1 tooltip ={{#var:ibammo-tooltip-dammodDam}}
| |
| |content4-2 ={{#if:{{abbcontains|{{{jeux|}}}|FOT*}}|{{{dégâts|}}}|{{{mode dégâts|}}}}}
| |
| |label4-3 ={{#var:ibammo-label-drmodPen}}
| |
| |label4-3 tooltip ={{#var:ibammo-tooltip-drmodPen}}
| |
| |content4-4 ={{#if:{{abbcontains|{{{jeux|}}}|FOT*}}|{{{pénétration|}}}|{{{mode rd|}}}}}
| |
| |cond5 =1
| |
| |label5-1 =poids
| |
| |content5-2 ={{{poids|}}}
| |
| |label5-3 =valeur
| |
| |content5-4 ={{{valeur|}}}
| |
| |label6-1 =prototype id
| |
| |content6-2 ={{{proto|}}}
| |
| |group7 ={{{nom mun2|}}}
| |
| |options7 ={{#if:{{#pos:{{lc:{{{nom mun2|}}}}}|{{cut}}}}{{#pos:{{lc:{{{nom mun2|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{nom mun2|}}}}}|(cut)}}|collapsed}}
| |
| |cond8 ={{#if:{{{nom mun2|}}}|{{#if:{{abbcontains|{{{jeux|}}}|FOT*}}||1}}}}
| |
| |label8-1 =capacité charg.
| |
| |label8-1 tooltip ={{#var:ibammo-tooltip-magsize}}
| |
| |content8-2 ={{{chargeur2|}}}
| |
| |label8-3 =mode CA
| |
| |label8-3 tooltip ={{#var:ibammo-tooltip-acmod}}
| |
| |content8-4 ={{{mode ca2|}}}
| |
| |cond9 ={{#if:{{{nom mun2|}}}|{{abbcontains|{{{jeux|}}}|FOT*}}}}
| |
| |label9-1 =capacité charg.
| |
| |label9-1 tooltip ={{#var:ibammo-tooltip-magsize}}
| |
| |content9-2 ={{{chargeur2|}}}
| |
| |cond10 ={{{nom mun2|}}}
| |
| |label10-1 ={{#var:ibammo-label-dammodDam}}
| |
| |label10-1 tooltip ={{#var:ibammo-tooltip-dammodDam}}
| |
| |content10-2 ={{#if:{{abbcontains|{{{jeux|}}}|FOT*}}|{{{dégâts2|}}}|{{{mode dégâts2|}}}}}
| |
| |label10-3 ={{#var:ibammo-label-drmodPen}}
| |
| |label10-3 tooltip ={{#var:ibammo-tooltip-drmodPen}}
| |
| |content10-4 ={{#if:{{abbcontains|{{{jeux|}}}|FOT*}}|{{{pénétration2|}}}|{{{mode rd2|}}}}}
| |
| |cond11 ={{{nom mun2|}}}
| |
| |label11-1 =poids
| |
| |content11-2 ={{{poids2|}}}
| |
| |label11-3 =valeur
| |
| |content11-4 ={{{valeur2|}}}
| |
| |cond12 ={{#if:{{{nom mun2|}}}|{{{proto2|}}}}}
| |
| |label12-1 =prototype id
| |
| |content12-2 ={{{proto2|}}}
| |
| |group13 ={{{nom mun3|}}} | |
| |options13 ={{#if:{{#pos:{{lc:{{{nom mun3|}}}}}|{{cut}}}}{{#pos:{{lc:{{{nom mun3|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{nom mun3|}}}}}|(cut)}}|collapsed}}
| |
| |cond14 ={{#if:{{{nom mun3|}}}|{{#if:{{abbcontains|{{{jeux|}}}|FOT*}}||1}}}}
| |
| |label14-1 =capacité charg.
| |
| |label14-1 tooltip ={{#var:ibammo-tooltip-magsize}}
| |
| |content14-2 ={{{chargeur3|}}}
| |
| |label14-3 =mode CA
| |
| |label14-3 tooltip ={{#var:ibammo-tooltip-acmod}}
| |
| |content14-4 ={{{mode ca3|}}}
| |
| |cond15 ={{#if:{{{nom mun3|}}}|{{abbcontains|{{{jeux|}}}|FOT*}}}}
| |
| |label15-1 =capacité charg.
| |
| |label15-1 tooltip ={{#var:ibammo-tooltip-magsize}}
| |
| |content15-2 ={{{chargeur3|}}}
| |
| |cond16 ={{{nom mun3|}}}
| |
| |label16-1 ={{#var:ibammo-label-dammodDam}}
| |
| |label16-1 tooltip ={{#var:ibammo-tooltip-dammodDam}}
| |
| |content16-2 ={{#if:{{abbcontains|{{{jeux|}}}|FOT*}}|{{{dégâts3|}}}|{{{mode dégâts3|}}}}}
| |
| |label16-3 ={{#var:ibammo-label-drmodPen}}
| |
| |label16-3 tooltip ={{#var:ibammo-tooltip-drmodPen}}
| |
| |content16-4 ={{#if:{{abbcontains|{{{jeux|}}}|FOT*}}|{{{pénétration3|}}}|{{{mode rd3|}}}}}
| |
| |cond17 ={{{nom mun3|}}}
| |
| |label17-1 =poids
| |
| |content17-2 ={{{poids3|}}}
| |
| |label17-3 =valeur
| |
| |content17-4 ={{{valeur3|}}}
| |
| |cond18 ={{#if:{{{nom mun3|}}}|{{{proto3|}}}}}
| |
| |label18-1 =prototype id
| |
| |content18-2 ={{{proto3|}}}
| |
| |group19 ={{{nom mun4|}}}
| |
| |options19 ={{#if:{{#pos:{{lc:{{{nom mun4|}}}}}|{{cut}}}}{{#pos:{{lc:{{{nom mun4|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{nom mun4|}}}}}|(cut)}}|collapsed}}
| |
| |cond20 ={{#if:{{{nom mun4|}}}|{{#if:{{abbcontains|{{{jeux|}}}|FOT*}}||1}}}}
| |
| |label20-1 =capacité charg.
| |
| |label20-1 tooltip ={{#var:ibammo-tooltip-magsize}}
| |
| |content20-2 ={{{chargeur4|}}}
| |
| |label20-3 =mode CA
| |
| |label20-3 tooltip ={{#var:ibammo-tooltip-acmod}}
| |
| |content20-4 ={{{mode ca4|}}}
| |
| |cond21 ={{#if:{{{nom mun4|}}}|{{abbcontains|{{{jeux|}}}|FOT*}}}}
| |
| |label21-1 =capacité charg.
| |
| |label21-1 tooltip ={{#var:ibammo-tooltip-magsize}}
| |
| |content21-2 ={{{chargeur4|}}}
| |
| |cond22 ={{{nom mun4|}}}
| |
| |label22-1 ={{#var:ibammo-label-dammodDam}}
| |
| |label22-1 tooltip ={{#var:ibammo-tooltip-dammodDam}}
| |
| |content22-2 ={{#if:{{abbcontains|{{{jeux|}}}|FOT*}}|{{{dégâts4|}}}|{{{mode dégâts4|}}}}}
| |
| |label22-3 ={{#var:ibammo-label-drmodPen}}
| |
| |label22-3 tooltip ={{#var:ibammo-tooltip-drmodPen}}
| |
| |content22-4 ={{#if:{{abbcontains|{{{jeux|}}}|FOT*}}|{{{pénétration4|}}}|{{{mode rd4|}}}}}
| |
| |cond23 ={{{nom mun4|}}}
| |
| |label23-1 =poids
| |
| |content23-2 ={{{poids4|}}}
| |
| |label23-3 =valeur
| |
| |content23-4 ={{{valeur4|}}}
| |
| |cond24 ={{#if:{{{nom mun4|}}}|{{{proto4|}}}}}
| |
| |label24-1 =prototype id
| |
| |content24-2 ={{{proto4|}}}
| |
| |group25 ={{{nom mun5|}}}
| |
| |options25 ={{#if:{{#pos:{{lc:{{{nom mun5|}}}}}|{{cut}}}}{{#pos:{{lc:{{{nom mun5|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{nom mun5|}}}}}|(cut)}}|collapsed}}
| |
| |cond26 ={{#if:{{{nom mun5|}}}|{{#if:{{abbcontains|{{{jeux|}}}|FOT*}}||1}}}}
| |
| |label26-1 =capacité charg.
| |
| |label26-1 tooltip ={{#var:ibammo-tooltip-magsize}}
| |
| |content26-2 ={{{chargeur5|}}}
| |
| |label26-3 =mode CA
| |
| |label26-3 tooltip ={{#var:ibammo-tooltip-acmod}}
| |
| |content26-4 ={{{mode ca5|}}}
| |
| |cond27 ={{#if:{{{nom mun5|}}}|{{abbcontains|{{{jeux|}}}|FOT*}}}}
| |
| |label27-1 =capacité charg.
| |
| |label27-1 tooltip ={{#var:ibammo-tooltip-magsize}}
| |
| |content27-2 ={{{chargeur5|}}}
| |
| |cond28 ={{{nom mun5|}}}
| |
| |label28-1 ={{#var:ibammo-label-dammodDam}}
| |
| |label28-1 tooltip ={{#var:ibammo-tooltip-dammodDam}}
| |
| |content28-2 ={{#if:{{abbcontains|{{{jeux|}}}|FOT*}}|{{{dégâts5|}}}|{{{mode dégâts5|}}}}}
| |
| |label28-3 ={{#var:ibammo-label-drmodPen}}
| |
| |label28-3 tooltip ={{#var:ibammo-tooltip-drmodPen}}
| |
| |content28-4 ={{#if:{{abbcontains|{{{jeux|}}}|FOT*}}|{{{pénétration5|}}}|{{{mode rd5|}}}}}
| |
| |cond29 ={{{nom mun5|}}}
| |
| |label29-1 =poids
| |
| |content29-2 ={{{poids5|}}}
| |
| |label29-3 =valeur
| |
| |content29-4 ={{{valeur5|}}}
| |
| |cond30 ={{#if:{{{nom mun5|}}}|{{{proto5|}}}}}
| |
| |label30-1 =prototype id
| |
| |content30-2 ={{{proto5|}}}
| |
| }}<!-- | |
| | |
| --></includeonly></onlyinclude>
| |
| {{documentation}} | | {{documentation}} |
| [[Category:Modèles Infobox|Munition]] | | [[Catégorie:Modèle Infobox|Munition]] |