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)
No edit summary
No edit summary
 
(46 intermediate revisions by 3 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
|label2        = Weapon Quote
|Rare = data-tag-rare
|data2          = {{{weaponquote|}}}
|Epic = data-tag-epic
|rowclass2      = data-weaponquote infobox-quote infobox-data infobox-col1
|Legendary = data-tag-legendary
|}}


|header3        = Profile
|data3          = {{{rarity|}}}
|rowclass3      = infobox-header
|rowclass3      = data-tag {{#switch: {{{rarity|}}}
|Common = data-tag-common
|Rare = data-tag-rare
|Epic = data-tag-epic
|Legendary = data-tag-legendary
|}}


|label4        = Build
|header4 = {{{name|{{PAGENAME}}}}}
|data4          = {{{build|}}}
|rowclass4 = infobox-title
|rowclass4     = data-build infobox-data infobox-col3


|label5        = Type
|data5          = {{{weaponquote|}}}
|data5          = {{{wtype|}}}
|rowclass5      = data-weaponquote infobox-quote infobox-col1
|rowclass5      = infobox-data infobox-col3


|label6        = Price
|data6          = {{{warning|-}}}
|data6          = {{{price|}}}
|rowclass6      = data-warning infobox-data infobox-col1
|rowclass6      = data-price infobox-data infobox-col3


|header10 = Damage
|label7        = Ammo
|rowclass10 = infobox-header
|data7          = {{{ammo|}}}
|rowclass7      = data-ammo infobox-data infobox-col1


|label11 = Body
|label8        = Magazine Size
|data11 = {{{bodydamage|}}}
|data8          = {{{magsize|}}}
|rowclass11 = data-bodydamage infobox-data infobox-col2
|rowclass8      = data-magsize infobox-data infobox-col1


|label12 = Head
|label9        = Firing Mode
|data12 = {{{crit|}}}
|data9          = {{{firingmode|}}}
|rowclass12 = data-crit infobox-data infobox-col2
|rowclass9      = data-firingmode infobox-data infobox-col1


|label13 = Backstab
|label10        = Price
|data13 = {{{backstab|}}}
|data10        = {{{price|}}}
|rowclass13 = data-crit infobox-data infobox-col2
|rowclass10    = data-price infobox-data infobox-col1


|label14 = Alt Fire
|label12 = Damage
|data14 = {{{altfire|}}}
|data12 = {{{damage|}}}
|rowclass14 = data-altfire infobox-data infobox-col2
|rowclass12 = data-damage infobox-data infobox-col1


|label15 = Body
|label13 = Fire Rate
|data15 = {{{bodydamagebar|}}}
|data13 = {{{firerate|}}}
|rowclass15 = data-bodydamage infobox-data infobox-col1
|rowclass13 = data-firerate infobox-data infobox-col1


|header20      =
|label14 = Range
|rowclass20    = infobox-header
|data14 = {{{range|}}}
|rowclass14 = data-range infobox-data infobox-col1


|label21 = Min Falloff
|label15 = Stability
|data21 = {{{falloffmin|}}}
|data15 = {{{stability|}}}
|rowclass21 = data-bodydamage infobox-data infobox-col2
|rowclass15 = data-stability infobox-data infobox-col1


|label22 = Max Falloff
|label16 = Agility
|data22 = {{{falloffmax|}}}
|data16 = {{{agility|}}}
|rowclass22 = data-bodydamage infobox-data infobox-col2
|rowclass16 = data-agility infobox-data infobox-col1


|header30      = {{#if:{{{rpm|}}}{{{dps|}}}{{{magsize|}}}{{{fullreload|}}}{{{tacreload|}}}|Technical}}
|label17 = Stealth
|rowclass30    = infobox-header
|data17 = {{{stealth|}}}
|rowclass17 = data-stealth infobox-data infobox-col1


|label31        = RPM
|header19      = General Data
|data31        = {{{rpm|}}}
|rowclass19     = infobox-header
|rowclass31     = data-rpm infobox-data infobox-col3


|label32       = DPS
|label20       = Weight
|data32         = {{{dps|}}}
|data20         = {{{weight|}}}
|rowclass32     = data-dps infobox-data infobox-col3
|rowclass20     = data-weight infobox-data infobox-col1


|label33       = Magazine
|label21       = Sell Price
|data33         = {{{magsize|}}}
|data21         = {{{sellprice|}}}
|rowclass33     = data-magsize infobox-data infobox-col3
|rowclass21     = data-sellprice infobox-data infobox-col1


|label35        = Empty Reload
|header29      = Related Quests
|data35        = {{{fullreload|}}}
|rowclass29     = infobox-header
|rowclass35     = data-fullreload infobox-data infobox-col2


|label36       = Tactical Reload
|label30       = Previous
|data36         = {{{tacreload|}}}
|data30         = {{{previous|}}}
|rowclass36     = data-tacreload infobox-data infobox-col2
|rowclass30     = data-previous infobox-column infobox-col2


|label37       = Empty Reload
|label31       = Next
|data37         = {{{reloadbar|}}}
|data31         = {{{next|}}}
|rowclass37     = data-reloadbar infobox-data infobox-col1
|rowclass31     = data-next infobox-column infobox-col2
}}
}}
</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=30m - ?%
|damage=12
|falloffmax=37.5m - 55%
|range=54.2m
|dps=200
|firerate=40
|magsize=32
|stability=x / x / 72.9 / 78.9
|fullreload=?
|agility=52.1
|tacreload=?
|stealth=14
|rpm=617
|magazine=true
}}
|muzzle=true
 
|weight=5KG
{{Infobox weapons
|sellprice=5,000<br>6,000<br>7,000<br>8,000
|image=Knife Sideview.png
|previous = -
|name=DAGGER
|next = [[Topside]]
|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