Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox weapons: Difference between revisions

Template page
Wetbattery (talk | contribs)
m added damage radius for explosive weapons and remove dps sections
No edit summary
 
(40 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{Infobox|
{{Infobox|
|bodyclass = floatright
|bodyclass = floatright
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|348px]]|}}
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|348px]]|}}
|imagerowclass1 = infobox-image
|imagerowclass1 = infobox-image


|header1 = {{{name|{{PAGENAME}}}}}
|data2          = {{{type|}}}
|rowclass1 = infobox-title
|rowclass2      = data-tag {{#switch: {{{rarity|}}}
|Common = data-tag-common
|Rare = data-tag-rare
|Epic = data-tag-epic
|Legendary = data-tag-legendary
|}}


|label2        = Weapon Quote
|data3          = {{{rarity|}}}
|data2          = {{{weaponquote|}}}
|rowclass3      = data-tag {{#switch: {{{rarity|}}}
|rowclass2      = data-weaponquote infobox-quote infobox-data infobox-col1
|Common = data-tag-common
|Rare = data-tag-rare
|Epic = data-tag-epic
|Legendary = data-tag-legendary
|}}


|header3        = Profile
|header4 = {{{name|{{PAGENAME}}}}}
|rowclass3      = infobox-header
|rowclass4 = infobox-title


|label4        = Build
|data5         = {{{weaponquote|}}}
|data4         = {{{build|}}}
|rowclass5     = data-weaponquote infobox-quote infobox-col1
|rowclass4     = data-build infobox-data infobox-col3


|label5        = Type
|data6         = {{{warning|-}}}
|data5         = {{{wtype|}}}
|rowclass6     = data-warning infobox-data infobox-col1
|rowclass5     = infobox-data infobox-col3


|label6         = Price
|label7         = Ammo
|data6         = {{{price|}}}
|data7         = {{{ammo|}}}
|rowclass6     = data-price infobox-data infobox-col3
|rowclass7     = data-ammo infobox-data infobox-col1


|header10 = Damage
|label8        = Magazine Size
|rowclass10 = infobox-header
|data8          = {{{magsize|}}}
|rowclass8      = data-magsize infobox-data infobox-col1


|label11 = Body
|label9        = Firing Mode
|data11 = {{{bodydamage|}}}
|data9          = {{{firingmode|}}}
|rowclass11 = data-bodydamage infobox-data infobox-col2
|rowclass9      = data-firingmode infobox-data infobox-col1


|label12 = Head
|label10        = Price
|data12 = {{{crit|}}}
|data10        = {{{price|}}}
|rowclass12 = data-crit infobox-data infobox-col2
|rowclass10    = data-price infobox-data infobox-col1


|label13 = Alt-Fire
|label12 = Damage
|data13 = {{{altfire|}}}
|data12 = {{{damage|}}}
|rowclass13 = data-altfire infobox-data infobox-col2
|rowclass12 = data-damage infobox-data infobox-col1


|label14 = Body
|label13 = Fire Rate
|data14 = {{{bodydamagebar|}}}
|data13 = {{{firerate|}}}
|rowclass14 = data-bodydamage infobox-data infobox-col1
|rowclass13 = data-firerate infobox-data infobox-col1


|label15 = Alt-Fire Body
|label14 = Range
|data15 = {{{altfirebody|}}}
|data14 = {{{range|}}}
|rowclass15 = data-altfire infobox-data infobox-col2
|rowclass14 = data-range infobox-data infobox-col1


|label16 = Alt-Fire Head
|label15 = Stability
|data16 = {{{altfirehead|}}}
|data15 = {{{stability|}}}
|rowclass16 = data-altfire infobox-data infobox-col2
|rowclass15 = data-stability infobox-data infobox-col1


|label17 = Radius
|label16 = Agility
|data17 = {{{dmgradius|}}}
|data16 = {{{agility|}}}
|rowclass17 = data-bodydamage infobox-data infobox-col2
|rowclass16 = data-agility infobox-data infobox-col1


|header20      = {{#if:{{{falloffmin|}}}{{{falloffmax|}}}{{{falloffmulti|}}}|Damage Falloff}}
|label17 = Stealth
|rowclass20    = infobox-header
|data17 = {{{stealth|}}}
|rowclass17 = data-stealth infobox-data infobox-col1


|label21 = Min Range
|header19      = General Data
|data21 = {{{falloffmin|}}}
|rowclass19    = infobox-header
|rowclass21 = data-bodydamage infobox-data infobox-col3


|label22 = Max Range
|label20        = Weight
|data22 = {{{falloffmax|}}}
|data20        = {{{weight|}}}
|rowclass22 = data-bodydamage infobox-data infobox-col3
|rowclass20    = data-weight infobox-data infobox-col1


|label23 = Multiplier
|label21        = Sell Price
|data23 = {{{falloffmulti|}}}
|data21        = {{{sellprice|}}}
|rowclass23 = data-bodydamage infobox-data infobox-col3
|rowclass21    = data-sellprice infobox-data infobox-col1


|header30       = {{#if:{{{rpm|}}}{{{magsize|}}}{{{fullreload|}}}{{{tacreload|}}}|Technical}}
|header29       = Related Quests
|rowclass30     = infobox-header
|rowclass29     = infobox-header


|label31       = RPM
|label30       = Previous
|data31         = {{{rpm|}}}
|data30         = {{{previous|}}}
|rowclass31     = data-rpm infobox-data infobox-col2
|rowclass30     = data-previous infobox-column infobox-col2


|label32       = Magazine
|label31       = Next
|data32         = {{{magsize|}}}
|data31         = {{{next|}}}
|rowclass32     = data-magsize infobox-data infobox-col2
|rowclass31     = data-next infobox-column infobox-col2
 
|label33        = Empty Reload
|data33        = {{{fullreload|}}}
|rowclass33    = data-fullreload infobox-data infobox-col2
 
|label34        = Tactical Reload
|data34        = {{{tacreload|}}}
|rowclass34    = data-tacreload infobox-data infobox-col2
 
|label35        = Empty Reload
|data35        = {{{reloadbar|}}}
|rowclass35    = data-reloadbar infobox-data infobox-col1
}}
}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Example:
{{Infobox weapons
{{Infobox weapons
|name=Tempest I/II/III/IV
|image=AKM_Sideview.png
|image=AKM_Sideview.png
|name=AKM
|rarity=Epic
|weaponquote = {{Quote|text=Fully automatic assault rifle}}
|weaponquote = Fully automatic assault rifle with moderate fire rate and accuracy.
|build=Medium
|type=Assault Rifle
|price={{Prices}}
|warning=hello
|wtype=[[:Category:Assault Rifle|Assault Rifle]]
|ammo=Medium Ammo
|bodydamage=20
|magsize = 33
|crit=30
|firingmode = Auto
|falloffmin=10m
|damage=12
|falloffmax=25m
|range=54.2m
|falloffmulti=0.20
|firerate=40
|dps=?
|stability=x / x / 72.9 / 78.9
|rpm=?
|agility=52.1
|magsize=?
|stealth=14
|fullreload=?
|magazine=true
|tacreload=?
|muzzle=true
}}
|weight=5KG
 
|sellprice=5,000<br>6,000<br>7,000<br>8,000
{{Infobox weapons
|previous = -
|image=Knife Sideview.png
|next = [[Topside]]
|name=DAGGER
|weaponquote = {{Quote|text=Close-range melee weapon; can also perform a secondary backstabbing attack}}<blockquote>"As we pass the halfway point of the match, you could cut the tension with a knife. Or an assassin's dagger. Or a cheese slicer."<br>— Scotty</blockquote>
|build=Light
|price={{Prices|1,000}}
|wtype=[[:Category:Melee|Melee]]
|bodydamage=50
|backstab=320
}}
 
{{Infobox weapons
|image=Sledgehammer_Infobox.png
|name=SLEDGEHAMMER
|weaponquote = {{Quote|text=A melee weapon and tool that destroys the arena itself; can also perform a secondary overhead attack}}
|build=Heavy
|price={{Prices}}
|wtype=[[:Category:Melee|Melee]]
|bodydamage=115
|altfire=200
}}
 
{{Infobox weapons
|image=Repeater_Standardissue.png
|name=MODEL 1887
|weaponquote = {{Quote|text=Lever-action shotgun firing pellets.}}
|build=Medium
|price={{Prices|800}}
|wtype=[[:Category:Shotgun|Shotgun]]
|bodydamagebar=11x9 (99 total)
|magsize=6
|falloffmin=?m - ?%
|falloffmax=?m - ?%
|fullreload=4.3
|tacreload=Segmented
|rpm=?
|dps=?
}}
 
{{Infobox weapons
|image=Recurve-Bow Sideview.png
|name=RECURVE BOW
|weaponquote = {{Quote|text=Shoots arrows in a curved arc; the arrows' effective range and damage will increase the further back the bowstring is drawn}}
|build=Light
|price={{Prices|1,000}}
|wtype=[[:Category:Marksman Rifle|Marksman Rifle]]
|bodydamage=60-120
|magsize=∞
|rpm=?
|dps=?
|crit=90-180
|reloadbar=0.75s
}}
}}
</noinclude>
</noinclude>
<templatestyles src="Template:Infobox/styles.css" />
<templatestyles src="Template:Infobox/styles.css" />

Latest revision as of 17:48, 28 May 2025


Example:


Assault Rifle
Epic
Tempest I/II/III/IV
Fully automatic assault rifle with moderate fire rate and accuracy.
hello
AmmoMedium Ammo
Magazine Size33
Firing ModeAuto
Damage12
Fire Rate40
Range54.2m
Stabilityx / x / 72.9 / 78.9
Agility52.1
Stealth14
General Data
Weight5KG
Sell Price5,000
6,000
7,000
8,000
Related Quests
Previous-
NextTopside