Tritt unserem Discord bei und informiere dich auf unserem Twitter-Kanal über die aktuellsten Themen rund um Fallout!
updt. |
Updating template. Will correct template doc when i can. |
||
| Zeile 1: | Zeile 1: | ||
<onlyinclude><includeonly><!-- | <onlyinclude><includeonly><!-- | ||
################################# | |||
## SET VARIABLES ## | |||
################################# | |||
-->{{#vardefine:ibammo-tooltip-acmod|Zeigt an wie viel die Rüstungsklasse des Ziels geändert wird wenn Sie diese Munition benützt. Negative Werte ergeben eine höhere Chance zu treffen.}}<!-- | |||
-->{{#vardefine:ibammo-tooltip-damage|Zeigt an wie viel der Grundschaden der Waffe geändert wird wenn Sie diese Munition benützt. Diese Zahl stellt eine Ergänzung der Grundschaden. Zum beispiel: "+ 20%" bedeutet das die Waffe 120% des Grundschadens verursacht.}}<!-- | |||
-->{{#vardefine:ibammo-tooltip-dammod|Zeigt an wie viel der Grundschaden der Waffe geändert wird wenn Sie diese Munition benützt. Diese Zahl stellt einen Bruchteil der Grundschaden. Zum beispiel: '80% 'bedeutet, dass die Waffe 80% des Grundschaden verursacht.}}<!-- | |||
-->{{#vardefine:ibammo-tooltip-drmod|Zeigt an wie viel des Ziels Schadensresistenz geändert wird wenn Sie diese Munition benützt. Negative Werte ergeben höhere Schäden.}}<!-- | |||
-->{{#vardefine:ibammo-tooltip-magsize|Munition pro Magazin.}}<!-- | |||
-->{{#vardefine:ibammo-tooltip-penetration|Zeigt an wie viel des Ziels Schadensresistenz geändert wird wenn Sie diese Munition benützt. Negative Werte ergeben geringeren Schaden.}}<!-- | |||
| | -->{{#vardefine:ibammo-label-dammodDam|<!-- | ||
-->{{#if:{{abbcontains|{{{game|}}}|FOT*}}<!-- | |||
| | -->|Schaden<!-- | ||
-->|SD Mod<!-- | |||
| | -->}}<!-- | ||
-->}}<!-- | |||
-->{{#vardefine:ibammo-tooltip-dammodDam|<!-- | |||
-->{{#if:{{abbcontains|{{{game|}}}|FOT*}}<!-- | |||
-->|{{#var:ibammo-tooltip-damage}}<!-- | |||
-->|{{#var:ibammo-tooltip-dammod}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
{{ | |||
{{ | -->{{#vardefine:ibammo-label-drmodPen|<!-- | ||
{{ | -->{{#if:{{abbcontains|{{{game|}}}|FOT*}}<!-- | ||
}} | -->|Penetration<!-- | ||
{{ | -->|VR Mod<!-- | ||
-->}}<!-- | |||
{{ | -->}}<!-- | ||
} | -->{{#vardefine:ibammo-tooltip-drmodPen|<!-- | ||
{{# | -->{{#if:{{abbcontains|{{{game|}}}|FOT*}}<!-- | ||
{{ | -->|{{#var:ibammo-tooltip-penetration}}<!-- | ||
{{ | -->|{{#var:ibammo-tooltip-drmod}}<!-- | ||
}} | -->}}<!-- | ||
{{ | -->}}<!-- | ||
{{ | |||
{{# | ################################# | ||
{{ | ## DISPLAY INFOBOX ## | ||
################################# | |||
{{# | |||
{{ | -->{{Infobox | ||
{{# | |game ={{{game|}}} | ||
{{ | |title ={{{name|}}} | ||
|subtitle ={{{untertitel|}}} | |||
|supertitle =Munition | |||
{{ | |supertitle link =Munition | ||
|icon ={{{icon|}}} | |||
{{ | |icon offset ={{{icon offset|}}} | ||
{{ | |main image1 ={{{bild|}}} | ||
}} | |main image1 size ={{{bildgröße|}}} | ||
{{# | |main image2 ={{{bild2|}}} | ||
{{ | |main image2 size ={{{bildgröße2|}}} | ||
{{ | |main image3 ={{{bild3|}}} | ||
|main image3 size ={{{bildgröße3|}}} | |||
{{# | |main image4 ={{{bild4|}}} | ||
{{ | |main image4 size ={{{bildgröße4|}}} | ||
{{ | |main image5 ={{{bild5|}}} | ||
|main image5 size ={{{bildgröße5|}}} | |||
{{ | |main image desc ={{{bild desc|}}} | ||
|main image columns =5 | |||
{{# | |size main images =x130px | ||
{{ | |footer ={{{fußzeile|}}} | ||
}} | |group1 ={{#if:{{{artikel name2|}}}{{{artikel name3|}}}{{{artikel name4|}}}{{{artikel name5|}}}|{{#if:{{{artikel name|}}}|{{{artikel name}}}|{{#if:{{{name|}}}|{{{name}}}|{{Pagename nd}}}}}}|@hide}} | ||
}} | |options1 ={{#if:{{#pos:{{lc:{{{artikel name|}}}}}|{{cut}}}}{{#pos:{{lc:{{{artikel name|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{artikel name|}}}}}|(cut)}}|collapsed}} | ||
{{#if:{{ | |cond2 ={{#if:{{abbcontains|{{{game|}}}|FOT*}}||1}} | ||
{{ | |label2-1 =Magazingröße | ||
{{ | |label2-1 tooltip ={{#var:ibammo-tooltip-magsize}} | ||
{{ | |content2-2 ={{{maggröße|}}} | ||
{{ | |label2-3 =RK Mod | ||
} | |label2-3 tooltip ={{#var:ibammo-tooltip-acmod}} | ||
{{# | |content2-4 ={{{rmod|}}} | ||
{{ | |cond3 ={{abbcontains|{{{game|}}}|FOT*}} | ||
{{ | |label3-1 =Magazingröße | ||
{{ | |label3-1 tooltip ={{#var:ibammo-tooltip-magsize}} | ||
}} | |content3-2 ={{{maggröße|}}} | ||
{{ | |cond4 =1 | ||
{{ | |label4-1 ={{#var:ibammo-label-dammodDam}} | ||
{{ | |label4-1 tooltip ={{#var:ibammo-tooltip-dammodDam}} | ||
|content4-2 ={{#if:{{abbcontains|{{{game|}}}|FOT*}}|{{{schaden|}}}|{{{smod|}}}}} | |||
{{# | |label4-3 ={{#var:ibammo-label-drmodPen}} | ||
|label4-3 tooltip ={{#var:ibammo-tooltip-drmodPen}} | |||
{{ | |content4-4 ={{#if:{{abbcontains|{{{game|}}}|FOT*}}|{{{penetration|}}}|{{{vrmod|}}}}} | ||
}} | |cond5 =1 | ||
{{ | |label5-1 =Gewicht | ||
|content5-2 ={{{gewicht|}}} | |||
{{ | |label5-3 =Wert | ||
{{ | |content5-4 ={{{wert|}}} | ||
}} | |label6-1 =Prototyp Id | ||
}} | |content6-2 ={{{proto|}}} | ||
{{#if:{{{ | |group7 ={{{artikel name2|}}} | ||
{{ | |options7 ={{#if:{{#pos:{{lc:{{{artikel name2|}}}}}|{{cut}}}}{{#pos:{{lc:{{{artikel name2|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{artikel name2|}}}}}|(cut)}}|collapsed}} | ||
{{# | |cond8 ={{#if:{{{artikel name2|}}}|{{#if:{{abbcontains|{{{game|}}}|FOT*}}||1}}}} | ||
|label8-1 =Magazingröße | |||
|label8-1 tooltip ={{#var:ibammo-tooltip-magsize}} | |||
|content8-2 ={{{maggröße2|}}} | |||
{{# | |label8-3 =RK Mod | ||
{{ | |label8-3 tooltip ={{#var:ibammo-tooltip-acmod}} | ||
{{ | |content8-4 ={{{rmod2|}}} | ||
|cond9 ={{#if:{{{artikel name2|}}}|{{abbcontains|{{{game|}}}|FOT*}}}} | |||
|label9-1 =Magazingröße | |||
{{# | |label9-1 tooltip ={{#var:ibammo-tooltip-magsize}} | ||
{{ | |content9-2 ={{{maggröße2|}}} | ||
{{ | |cond10 ={{{artikel name2|}}} | ||
}} | |label10-1 ={{#var:ibammo-label-dammodDam}} | ||
{{ | |label10-1 tooltip ={{#var:ibammo-tooltip-dammodDam}} | ||
{{ | |content10-2 ={{#if:{{abbcontains|{{{game|}}}|FOT*}}|{{{schaden2|}}}|{{{smod2|}}}}} | ||
|label10-3 ={{#var:ibammo-label-drmodPen}} | |||
|label10-3 tooltip ={{#var:ibammo-tooltip-drmodPen}} | |||
|content10-4 ={{#if:{{abbcontains|{{{game|}}}|FOT*}}|{{{penetration2|}}}|{{{vrmod2|}}}}} | |||
{{ | |cond11 ={{{artikel name2|}}} | ||
{{# | |label11-1 =Gewicht | ||
{{ | |content11-2 ={{{gewicht2|}}} | ||
|label11-3 =Wert | |||
}} | |content11-4 ={{{wert2|}}} | ||
{{#if:{{{name5| | |cond12 ={{#if:{{{artikel name2|}}}|{{{proto2|}}}}} | ||
{{ | |label12-1 =prototype id | ||
{{# | |content12-2 ={{{proto2|}}} | ||
{{ | |group13 ={{{artikel name3|}}} | ||
{{ | |options13 ={{#if:{{#pos:{{lc:{{{artikel name3|}}}}}|{{cut}}}}{{#pos:{{lc:{{{artikel name3|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{artikel name3|}}}}}|(cut)}}|collapsed}} | ||
|cond14 ={{#if:{{{artikel name3|}}}|{{#if:{{abbcontains|{{{game|}}}|FOT*}}||1}}}} | |||
{{# | |label14-1 =Magazingröße | ||
{{ | |label14-1 tooltip ={{#var:ibammo-tooltip-magsize}} | ||
{{ | |content14-2 ={{{maggröße3|}}} | ||
{{ | |label14-3 =RK Mod | ||
|label14-3 tooltip ={{#var:ibammo-tooltip-acmod}} | |||
{ | |content14-4 ={{{rmod3|}}} | ||
{{ | |cond15 ={{#if:{{{artikel name3|}}}|{{abbcontains|{{{game|}}}|FOT*}}}} | ||
|label15-1 =Magazingröße | |||
|label15-1 tooltip ={{#var:ibammo-tooltip-magsize}} | |||
|content15-2 ={{{maggröße3|}}} | |||
|cond16 ={{{artikel name3|}}} | |||
|label16-1 ={{#var:ibammo-label-dammodDam}} | |||
|label16-1 tooltip ={{#var:ibammo-tooltip-dammodDam}} | |||
|content16-2 ={{#if:{{abbcontains|{{{game|}}}|FOT*}}|{{{schaden3|}}}|{{{smod3|}}}}} | |||
|label16-3 ={{#var:ibammo-label-drmodPen}} | |||
|label16-3 tooltip ={{#var:ibammo-tooltip-drmodPen}} | |||
|content16-4 ={{#if:{{abbcontains|{{{game|}}}|FOT*}}|{{{penetration3|}}}|{{{vrmod3|}}}}} | |||
|cond17 ={{{artikel name3|}}} | |||
|label17-1 =Gewicht | |||
|content17-2 ={{{gewicht3|}}} | |||
|label17-3 =Wert | |||
|content17-4 ={{{wert3|}}} | |||
|cond18 ={{#if:{{{artikel name3|}}}|{{{proto3|}}}}} | |||
|label18-1 =prototype id | |||
|content18-2 ={{{proto3|}}} | |||
|group19 ={{{artikel name4|}}} | |||
|options19 ={{#if:{{#pos:{{lc:{{{artikel name4|}}}}}|{{cut}}}}{{#pos:{{lc:{{{artikel name4|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{artikel name4|}}}}}|(cut)}}|collapsed}} | |||
|cond20 ={{#if:{{{artikel name4|}}}|{{#if:{{abbcontains|{{{game|}}}|FOT*}}||1}}}} | |||
|label20-1 =Magazingröße | |||
|label20-1 tooltip ={{#var:ibammo-tooltip-magsize}} | |||
|content20-2 ={{{maggröße4|}}} | |||
|label20-3 =RK Mod | |||
|label20-3 tooltip ={{#var:ibammo-tooltip-acmod}} | |||
|content20-4 ={{{rmod4|}}} | |||
|cond21 ={{#if:{{{artikel name4|}}}|{{abbcontains|{{{game|}}}|FOT*}}}} | |||
|label21-1 =Magazingröße | |||
|label21-1 tooltip ={{#var:ibammo-tooltip-magsize}} | |||
|content21-2 ={{{maggröße4|}}} | |||
|cond22 ={{{artikel name4|}}} | |||
|label22-1 ={{#var:ibammo-label-dammodDam}} | |||
|label22-1 tooltip ={{#var:ibammo-tooltip-dammodDam}} | |||
|content22-2 ={{#if:{{abbcontains|{{{game|}}}|FOT*}}|{{{schaden4|}}}|{{{smod4|}}}}} | |||
|label22-3 ={{#var:ibammo-label-drmodPen}} | |||
|label22-3 tooltip ={{#var:ibammo-tooltip-drmodPen}} | |||
|content22-4 ={{#if:{{abbcontains|{{{game|}}}|FOT*}}|{{{penetration4|}}}|{{{vrmod4|}}}}} | |||
|cond23 ={{{artikel name4|}}} | |||
|label23-1 =Gewicht | |||
|content23-2 ={{{gewicht4|}}} | |||
|label23-3 =Wert | |||
|content23-4 ={{{wert4|}}} | |||
|cond24 ={{#if:{{{artikel name4|}}}|{{{proto4|}}}}} | |||
|label24-1 =prototype id | |||
|content24-2 ={{{proto4|}}} | |||
|group25 ={{{artikel name5|}}} | |||
|options25 ={{#if:{{#pos:{{lc:{{{artikel name5|}}}}}|{{cut}}}}{{#pos:{{lc:{{{artikel name5|}}}}}|{{icon|cut}}}}{{#pos:{{lc:{{{artikel name5|}}}}}|(cut)}}|collapsed}} | |||
|cond26 ={{#if:{{{artikel name5|}}}|{{#if:{{abbcontains|{{{game|}}}|FOT*}}||1}}}} | |||
|label26-1 =Magazingröße | |||
|label26-1 tooltip ={{#var:ibammo-tooltip-magsize}} | |||
|content26-2 ={{{maggröße5|}}} | |||
|label26-3 =RK Mod | |||
|label26-3 tooltip ={{#var:ibammo-tooltip-acmod}} | |||
|content26-4 ={{{rmod5|}}} | |||
|cond27 ={{#if:{{{artikel name5|}}}|{{abbcontains|{{{game|}}}|FOT*}}}} | |||
|label27-1 =Magazingröße | |||
|label27-1 tooltip ={{#var:ibammo-tooltip-magsize}} | |||
|content27-2 ={{{maggröße5|}}} | |||
|cond28 ={{{artikel name5|}}} | |||
|label28-1 ={{#var:ibammo-label-dammodDam}} | |||
}} | |label28-1 tooltip ={{#var:ibammo-tooltip-dammodDam}} | ||
|content28-2 ={{#if:{{abbcontains|{{{game|}}}|FOT*}}|{{{schaden5|}}}|{{{smod5|}}}}} | |||
|label28-3 ={{#var:ibammo-label-drmodPen}} | |||
|label28-3 tooltip ={{#var:ibammo-tooltip-drmodPen}} | |||
|content28-4 ={{#if:{{abbcontains|{{{game|}}}|FOT*}}|{{{penetration5|}}}|{{{vrmod5|}}}}} | |||
|cond29 ={{{artikel name5|}}} | |||
|label29-1 =Gewicht | |||
|content29-2 ={{{gewicht5|}}} | |||
|label29-3 =Wert | |||
|content29-4 ={{{wert5|}}} | |||
|cond30 ={{#if:{{{artikel name5|}}}|{{{proto5|}}}}} | |||
|label30-1 =prototype id | |||
|content30-2 ={{{proto5|}}} | |||
}}<!-- | }}<!-- | ||
Version vom 27. November 2014, 22:45 Uhr
Infobox-Vorlage für Munition.
Basierend auf {{Infobox}}.
Gebrauch
Platziere folgendes am Anfang des Artikels, unterhalb jeglicher Seitenverwaltungsvorlagen:
{{Infobox Munition
|name = Name
<!-- Parameter einfügen -->
}}
Parameter
Spezifische Parameter
itemname>> itemname5
Name of the ammo.
gewicht bis gewicht5
Weight of the ammo.
maggröße bis maggröße5
Ammo capacity associated with the ammo.
penetration bis penetration5
Penetration of the ammo.
Benötigt für:
- "FOT"
proto bis proto5
Prototype ID.
schaden bis schaden5
Damage of the ammo.
Benötigt für:
- "FOT"
smod bis smod5
vrmod bis vrmod5
wert bis wert5
Base value/cost of the ammo per unit.
wert fo1 bis wert5 fo1
Base wert of the corresponding ammo variant per unit for Fallout 1, when other games are listed in the infobox.
wert fo2 bis wert5 fo2
Base wert of the corresponding ammo variant per unit for Fallout 2, when other games are listed in the infobox.
wert fot bis wert5 fot
Base wert of the corresponding ammo variant per unit for Fallout Tactics, when other games are listed in the infobox.
wert fobos bis wert5 fobos
Base wert of the corresponding ammo variant per unit for Fallout: Brotherhood of Steel, when other games are listed in the infobox.
wert vb bis wert5 vb
Base wert of the corresponding ammo variant per unit for Van Buren, when other games are listed in the infobox.
Allgemeine Infoboxparameter
fußzeile
Inhalt der Zeile unter dem Hauptinhalt der Infobox.
game
Abkürzung(en) für erschienene Spiele. Akzeptierte Abkürzungen sind unter {{abb}} aufgeführt. Es können mehrere Abkürzungen angegeben werden, die durch Kommas (
,) zu trennen sind.icon
Dateiname des Symbols (ohne "Datei:"), d. h. das kleine Bild, das in der oberen rechten Ecke des Hauptbildbereichs angezeigt wird.
icon offset
Offset für
icon in Pixeln , d. h. das Symbol wird um die angegebene Anzahl von Pixeln nach oben verschoben. Wird der Parameter auf "@outside" gesetzt, wird das Symbol vollständig außerhalb (oberhalb) des Bildbereichs platziert.bild bis bild5
Dateiname des/der Bild(er) (ohne "Datei:"), das unter der Hauptüberschrift und über dem Hauptinhalt der Infobox angezeigt wird.
=bildbeschreibung
Beschreibung für
bild unterhalb des Bildes.(Standard: "x130px")
image size bis image5 sizeBreite von
bild in Pixeln (z. B. "240px").name
Haupttitel/"Überschrift" der Infobox. Standardmäßig wird der Name der aktuellen Seite ohne Suffixe (d. h. Begriffe in Klammern am Ende) verwendet.
subtitle
Text in kleiner Schrift unterhalb des Haupttitels der Infobox.
Beispiele
Fehler im Ausdruck: Unerwarteter Operator <Infobox Munition | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Infobox Munition
|game = FO1, FO2
|icon = Icon Fo1 ammo.png
|bild = 10mmap.gif
<!-- ####### Variante 1 ####### -->
|itemname = 10mm AP
|maggröße = 24
|rmod = 0
|smod = 1/2
|vrmod = -25%
|gewicht = 1 Pfund
|wert = 100
|proto = 30
<!-- ####### Variante 2 ####### -->
|itemname2 = 10mm JHP
|maggröße2 = 24
|rmod2 = 0
|smod2 = 2/1
|vrmod2 = +25%
|gewicht2 = 1
|wert2 = 75
|proto2 = {{proto|29}}
}}
Kopieren/Einfügen
Fallout, Fallout 2
| Einzeln | Mehrfach |
|---|---|
{{Infobox Munition
|game = FO1
|image =
|mag size =
|rmod =
|smod =
|vrmod =
|gewicht =
|wert =
|proto = {{proto|}}
}}
|
{{Infobox Munition
|game = FO1
|bild =
<!-- ####### Variante 1 ####### -->
|itemname =
|maggröße =
|rmod =
|smod =
|vrmod =
|gewicht =
|wert =
|proto = {{proto|}}
<!-- ####### Variante 2 ####### -->
|itemname2 =
|maggröße2 =
|rmod2 =
|smod2 =
|vrmod2 =
|gewicht2 =
|wert2 =
|proto2 = {{proto|}}
<!-- ####### Variante 3 ####### -->
|itemname3 =
|maggröße3 =
|rmod3 =
|smod3 =
|vrmod3 =
|gewicht3 =
|wert3 =
|proto3 = {{proto|}}
}}
|
Fallout Tactics
| Einzeln | Mehrfach |
|---|---|
{{Infobox Munition
|game = FOT
|bild =
|maggröße =
|penetration =
|schaden =
|gewicht =
|wert =
}}
|
{{Infobox Munition
|game = FOT
|bild =
<!-- ####### Variante 1 ####### -->
|itemname =
|maggröße =
|penetration =
|schaden =
|gewicht =
|wert =
<!-- ####### Variante 2 ####### -->
|itemname2 =
|maggröße2 =
|penetration2 =
|schaden2 =
|gewicht2 =
|wert2 =
<!-- ####### Variante 3 ####### -->
|itemname3 =
|maggröße3 =
|penetration3 =
|schaden3 =
|gewicht3 =
|wert3 =
}}
|
