Tritt unserem Discord bei und informiere dich auf unserem Twitter-Kanal über die aktuellsten Themen rund um Fallout!
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
<!-- | |||
################################# | |||
## 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|{{{games|}}}|FOT*}}<!-- | ||
-->|damage<!-- | |||
-->|damage mod<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
{{ | -->{{#vardefine:ibammo-tooltip-dammodDam|<!-- | ||
{{ | -->{{#if:{{abbcontains|{{{games|}}}|FOT*}}<!-- | ||
-->|{{#var:ibammo-tooltip-damage}}<!-- | |||
-->|{{#var:ibammo-tooltip-dammod}}<!-- | |||
{{# | -->}}<!-- | ||
{{ | -->}}<!-- | ||
{{ | |||
{{ | -->{{#vardefine:ibammo-label-drmodPen|<!-- | ||
}} | -->{{#if:{{abbcontains|{{{games|}}}|FOT*}}<!-- | ||
{{# | -->|penetration<!-- | ||
{{ | -->|DR mod<!-- | ||
{{ | -->}}<!-- | ||
-->}}<!-- | |||
{{# | -->{{#vardefine:ibammo-tooltip-drmodPen|<!-- | ||
{{ | -->{{#if:{{abbcontains|{{{games|}}}|FOT*}}<!-- | ||
-->|{{#var:ibammo-tooltip-penetration}}<!-- | |||
-->|{{#var:ibammo-tooltip-drmod}}<!-- | |||
{{ | -->}}<!-- | ||
{{ | -->}}<!-- | ||
{{# | |||
{{ | ################################# | ||
}} | ## DISPLAY INFOBOX ## | ||
{{ | ################################# | ||
{{ | |||
{{# | -->{{Infobox | ||
{{ | |games ={{{games|}}} | ||
{{ | |title ={{{name|}}} | ||
}} | |subtitle ={{{subtitle|}}} | ||
{{# | |supertitle =ammunition | ||
{{ | |supertitle link =ammunition | ||
{{ | |icon ={{{icon|}}} | ||
{{ | |icon offset ={{{icon offset|}}} | ||
|main image1 ={{{image|}}} | |||
{{# | |main image1 size ={{{image size|}}} | ||
{{ | |main image2 ={{{image2|}}} | ||
|main image2 size ={{{image2 size|}}} | |||
}} | |main image3 ={{{image3|}}} | ||
{{# | |main image3 size ={{{image3 size|}}} | ||
{{ | |main image4 ={{{image4|}}} | ||
|main image4 size ={{{image4 size|}}} | |||
|main image5 ={{{image5|}}} | |||
|main image5 size ={{{image5 size|}}} | |||
{{ | |main image desc ={{{image desc|}}} | ||
{{# | |main image columns =5 | ||
{{ | |size main images =x130px | ||
} | |footer ={{{footer|}}} | ||
|group1 ={{#if:{{{item name2|}}}{{{item name3|}}}{{{item name4|}}}{{{item name5|}}}|{{#if:{{{item name|}}}|{{{item name}}}|{{#if:{{{name|}}}|{{{name}}}|{{Pagename nd}}}}}}|@hide}} | |||
{{# | |options1 ={{#if:{{#pos:{{lc:{{{item name|}}}}}|{{cut}}}}{{#pos:{{lc:{{{item name|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{item name|}}}}}|(cut)}}|collapsed}} | ||
{{ | |cond2 ={{#if:{{abbcontains|{{{games|}}}|FOT*}}||1}} | ||
{{# | |label2-1 =magaz. size | ||
|label2-1 tooltip ={{#var:ibammo-tooltip-magsize}} | |||
{{ | |content2-2 ={{{mag size|}}} | ||
|label2-3 =AC mod | |||
{{# | |label2-3 tooltip ={{#var:ibammo-tooltip-acmod}} | ||
{{ | |content2-4 ={{{ac mod|}}} | ||
{{ | |cond3 ={{abbcontains|{{{games|}}}|FOT*}} | ||
{{ | |label3-1 =magaz. size | ||
|label3-1 tooltip ={{#var:ibammo-tooltip-magsize}} | |||
{{# | |content3-2 ={{{mag size|}}} | ||
{{ | |cond4 =1 | ||
|label4-1 ={{#var:ibammo-label-dammodDam}} | |||
|label4-1 tooltip ={{#var:ibammo-tooltip-dammodDam}} | |||
{{ | |content4-2 ={{#if:{{abbcontains|{{{games|}}}|FOT*}}|{{{damage|}}}|{{{damage mod|}}}}} | ||
{{ | |label4-3 ={{#var:ibammo-label-drmodPen}} | ||
{{ | |label4-3 tooltip ={{#var:ibammo-tooltip-drmodPen}} | ||
|content4-4 ={{#if:{{abbcontains|{{{games|}}}|FOT*}}|{{{penetration|}}}|{{{dr mod|}}}}} | |||
|cond5 =1 | |||
{{ | |label5-1 =weight | ||
{{# | |content5-2 ={{{weight|}}} | ||
{{ | |label5-3 =[[Currency|value]] | ||
|content5-4 ={{IbValue|games={{{games|}}}|value={{{value|}}}|value fo1={{{value fo1|}}}|value fo2={{{value fo2|}}}|value fot={{{value fot|}}}|value fobos={{{value fobos|}}}|value vb={{{value vb|}}}|value fo3=@hide|value fnv=@hide}} | |||
}} | |label6-1 =prototype id | ||
{{#if:{{{name4| | |content6-2 ={{{proto|}}} | ||
{{ | |group7 ={{{item name2|}}} | ||
{{# | |options7 ={{#if:{{#pos:{{lc:{{{item name2|}}}}}|{{cut}}}}{{#pos:{{lc:{{{item name2|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{item name2|}}}}}|(cut)}}|collapsed}} | ||
{{ | |cond8 ={{#if:{{{item name2|}}}|{{#if:{{abbcontains|{{{games|}}}|FOT*}}||1}}}} | ||
|label8-1 =magaz. size | |||
}} | |label8-1 tooltip ={{#var:ibammo-tooltip-magsize}} | ||
{{# | |content8-2 ={{{mag size2|}}} | ||
{{ | |label8-3 =AC mod | ||
|label8-3 tooltip ={{#var:ibammo-tooltip-acmod}} | |||
{{ | |content8-4 ={{{ac mod2|}}} | ||
}} | |cond9 ={{#if:{{{item name2|}}}|{{abbcontains|{{{games|}}}|FOT*}}}} | ||
|label9-1 =magaz. size | |||
{{ | |label9-1 tooltip ={{#var:ibammo-tooltip-magsize}} | ||
{{ | |content9-2 ={{{mag size2|}}} | ||
|cond10 ={{{item name2|}}} | |||
{{ | |label10-1 ={{#var:ibammo-label-dammodDam}} | ||
{{ | |label10-1 tooltip ={{#var:ibammo-tooltip-dammodDam}} | ||
{{ | |content10-2 ={{#if:{{abbcontains|{{{games|}}}|FOT*}}|{{{damage2|}}}|{{{damage mod2|}}}}} | ||
|label10-3 ={{#var:ibammo-label-drmodPen}} | |||
{{ | |label10-3 tooltip ={{#var:ibammo-tooltip-drmodPen}} | ||
{{ | |content10-4 ={{#if:{{abbcontains|{{{games|}}}|FOT*}}|{{{penetration2|}}}|{{{dr mod2|}}}}} | ||
{{# | |cond11 ={{{item name2|}}} | ||
{{ | |label11-1 =weight | ||
} | |content11-2 ={{{weight2|}}} | ||
}} | |label11-3 =[[Currency|value]] | ||
{{#if:{{{name5 | |content11-4 ={{IbValue|games={{{games|}}}|value={{{value2|}}}|value fo1={{{value2 fo1|}}}|value fo2={{{value2 fo2|}}}|value fot={{{value2 fot|}}}|value fobos={{{value2 fobos|}}}|value vb={{{value2 vb|}}}|value fo3=@hide|value fnv=@hide}} | ||
{{ | |cond12 ={{#if:{{{item name2|}}}|{{{proto2|}}}}} | ||
{{# | |label12-1 =prototype id | ||
{{ | |content12-2 ={{{proto2|}}} | ||
{{ | |group13 ={{{item name3|}}} | ||
}} | |options13 ={{#if:{{#pos:{{lc:{{{item name3|}}}}}|{{cut}}}}{{#pos:{{lc:{{{item name3|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{item name3|}}}}}|(cut)}}|collapsed}} | ||
{{ | |cond14 ={{#if:{{{item name3|}}}|{{#if:{{abbcontains|{{{games|}}}|FOT*}}||1}}}} | ||
{{ | |label14-1 =magaz. size | ||
{{ | |label14-1 tooltip ={{#var:ibammo-tooltip-magsize}} | ||
{{ | |content14-2 ={{{mag size3|}}} | ||
}} | |label14-3 =AC mod | ||
{{# | |label14-3 tooltip ={{#var:ibammo-tooltip-acmod}} | ||
|content14-4 ={{{ac mod3|}}} | |||
|cond15 ={{#if:{{{item name3|}}}|{{abbcontains|{{{games|}}}|FOT*}}}} | |||
|label15-1 =magaz. size | |||
|label15-1 tooltip ={{#var:ibammo-tooltip-magsize}} | |||
|content15-2 ={{{mag size3|}}} | |||
|cond16 ={{{item name3|}}} | |||
|label16-1 ={{#var:ibammo-label-dammodDam}} | |||
|label16-1 tooltip ={{#var:ibammo-tooltip-dammodDam}} | |||
|content16-2 ={{#if:{{abbcontains|{{{games|}}}|FOT*}}|{{{damage3|}}}|{{{damage mod3|}}}}} | |||
|label16-3 ={{#var:ibammo-label-drmodPen}} | |||
|label16-3 tooltip ={{#var:ibammo-tooltip-drmodPen}} | |||
|content16-4 ={{#if:{{abbcontains|{{{games|}}}|FOT*}}|{{{penetration3|}}}|{{{dr mod3|}}}}} | |||
|cond17 ={{{item name3|}}} | |||
|label17-1 =weight | |||
|content17-2 ={{{weight3|}}} | |||
|label17-3 =[[Currency|value]] | |||
|content17-4 ={{IbValue|games={{{games|}}}|value={{{value3|}}}|value fo1={{{value3 fo1|}}}|value fo2={{{value3 fo2|}}}|value fot={{{value3 fot|}}}|value fobos={{{value3 fobos|}}}|value vb={{{value3 vb|}}}|value fo3=@hide|value fnv=@hide}} | |||
|cond18 ={{#if:{{{item name3|}}}|{{{proto3|}}}}} | |||
|label18-1 =prototype id | |||
|content18-2 ={{{proto3|}}} | |||
|group19 ={{{item name4|}}} | |||
|options19 ={{#if:{{#pos:{{lc:{{{item name4|}}}}}|{{cut}}}}{{#pos:{{lc:{{{item name4|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{item name4|}}}}}|(cut)}}|collapsed}} | |||
|cond20 ={{#if:{{{item name4|}}}|{{#if:{{abbcontains|{{{games|}}}|FOT*}}||1}}}} | |||
|label20-1 =magaz. size | |||
|label20-1 tooltip ={{#var:ibammo-tooltip-magsize}} | |||
|content20-2 ={{{mag size4|}}} | |||
|label20-3 =AC mod | |||
|label20-3 tooltip ={{#var:ibammo-tooltip-acmod}} | |||
|content20-4 ={{{ac mod4|}}} | |||
|cond21 ={{#if:{{{item name4|}}}|{{abbcontains|{{{games|}}}|FOT*}}}} | |||
|label21-1 =magaz. size | |||
|label21-1 tooltip ={{#var:ibammo-tooltip-magsize}} | |||
|content21-2 ={{{mag size4|}}} | |||
|cond22 ={{{item name4|}}} | |||
|label22-1 ={{#var:ibammo-label-dammodDam}} | |||
|label22-1 tooltip ={{#var:ibammo-tooltip-dammodDam}} | |||
|content22-2 ={{#if:{{abbcontains|{{{games|}}}|FOT*}}|{{{damage4|}}}|{{{damage mod4|}}}}} | |||
|label22-3 ={{#var:ibammo-label-drmodPen}} | |||
|label22-3 tooltip ={{#var:ibammo-tooltip-drmodPen}} | |||
|content22-4 ={{#if:{{abbcontains|{{{games|}}}|FOT*}}|{{{penetration4|}}}|{{{dr mod4|}}}}} | |||
|cond23 ={{{item name4|}}} | |||
|label23-1 =weight | |||
|content23-2 ={{{weight4|}}} | |||
|label23-3 =[[Currency|value]] | |||
|content23-4 ={{IbValue|games={{{games|}}}|value={{{value4|}}}|value fo1={{{value4 fo1|}}}|value fo2={{{value4 fo2|}}}|value fot={{{value4 fot|}}}|value fobos={{{value4 fobos|}}}|value vb={{{value4 vb|}}}|value fo3=@hide|value fnv=@hide}} | |||
|cond24 ={{#if:{{{item name4|}}}|{{{proto4|}}}}} | |||
|label24-1 =prototype id | |||
|content24-2 ={{{proto4|}}} | |||
|group25 ={{{item name5|}}} | |||
|options25 ={{#if:{{#pos:{{lc:{{{item name5|}}}}}|{{cut}}}}{{#pos:{{lc:{{{item name5|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{item name5|}}}}}|(cut)}}|collapsed}} | |||
|cond26 ={{#if:{{{item name5|}}}|{{#if:{{abbcontains|{{{games|}}}|FOT*}}||1}}}} | |||
|label26-1 =magaz. size | |||
|label26-1 tooltip ={{#var:ibammo-tooltip-magsize}} | |||
|content26-2 ={{{mag size5|}}} | |||
|label26-3 =AC mod | |||
|label26-3 tooltip ={{#var:ibammo-tooltip-acmod}} | |||
|content26-4 ={{{ac mod5|}}} | |||
|cond27 ={{#if:{{{item name5|}}}|{{abbcontains|{{{games|}}}|FOT*}}}} | |||
|label27-1 =magaz. size | |||
|label27-1 tooltip ={{#var:ibammo-tooltip-magsize}} | |||
|content27-2 ={{{mag size5|}}} | |||
}} | |cond28 ={{{item name5|}}} | ||
|label28-1 ={{#var:ibammo-label-dammodDam}} | |||
|label28-1 tooltip ={{#var:ibammo-tooltip-dammodDam}} | |||
|content28-2 ={{#if:{{abbcontains|{{{games|}}}|FOT*}}|{{{damage5|}}}|{{{damage mod5|}}}}} | |||
|label28-3 ={{#var:ibammo-label-drmodPen}} | |||
|label28-3 tooltip ={{#var:ibammo-tooltip-drmodPen}} | |||
|content28-4 ={{#if:{{abbcontains|{{{games|}}}|FOT*}}|{{{penetration5|}}}|{{{dr mod5|}}}}} | |||
|cond29 ={{{item name5|}}} | |||
|label29-1 =weight | |||
|content29-2 ={{{weight5|}}} | |||
|label29-3 =[[Currency|value]] | |||
|content29-4 ={{IbValue|games={{{games|}}}|value={{{value5|}}}|value fo1={{{value5 fo1|}}}|value fo2={{{value5 fo2|}}}|value fot={{{value5 fot|}}}|value fobos={{{value5 fobos|}}}|value vb={{{value5 vb|}}}|value fo3=@hide|value fnv=@hide}} | |||
|cond30 ={{#if:{{{item name5|}}}|{{{proto5|}}}}} | |||
|label30-1 =prototype id | |||
|content30-2 ={{{proto5|}}} | |||
}}<!-- | |||
--> | |||
Version vom 27. November 2014, 16:41 Uhr
Fehler im Ausdruck: Unerwarteter Operator <Fehler im Ausdruck: Unerwarteter Operator <Fehler im Ausdruck: Unerwarteter Operator <Fehler im Ausdruck: Unerwarteter Operator <Fehler im Ausdruck: Unerwarteter Operator <
The Gunny-fduser/Sandkasten | |||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||