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
No edit summary
No edit summary
 
(34 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
|}}
 
|data3          = {{{rarity|}}}
|rowclass3      = data-tag {{#switch: {{{rarity|}}}
|Common = data-tag-common
|Rare = data-tag-rare
|Epic = data-tag-epic
|Legendary = data-tag-legendary
|}}
 
|header4 = {{{name|{{PAGENAME}}}}}
|rowclass4 = infobox-title
 
|data5          = {{{weaponquote|}}}
|rowclass5      = data-weaponquote infobox-quote infobox-col1
 
|data6          = {{{warning|-}}}
|rowclass6      = data-warning infobox-data infobox-col1
 
|label7        = Ammo
|data7          = {{{ammo|}}}
|rowclass7      = data-ammo infobox-data infobox-col1


|label2         = Weapon Quote
|label8         = Magazine Size
|data2         = {{{weaponquote|}}}
|data8         = {{{magsize|}}}
|rowclass2     = data-weaponquote infobox-quote infobox-data infobox-col1
|rowclass8     = data-magsize infobox-data infobox-col1


|label4         = Ammo
|label9         = Firing Mode
|data4         = {{{ammo|}}}
|data9         = {{{firingmode|}}}
|rowclass4     = data-ammo infobox-data infobox-col3
|rowclass9     = data-firingmode infobox-data infobox-col1


|label5        = Type
|label10        = Price
|data5          = {{{type|}}}
|data10        = {{{price|}}}
|rowclass5      = infobox-data infobox-col3
|rowclass10    = data-price infobox-data infobox-col1


|label6        = Price
|label12 = Damage
|data6          = {{{price|}}}
|data12 = {{{damage|}}}
|rowclass6      = data-price infobox-data infobox-col3
|rowclass12 = data-damage infobox-data infobox-col1


|label7        = Rarity
|label13 = Fire Rate
|data7          = {{{rarity|}}}
|data13 = {{{firerate|}}}
|rowclass7      = data-rarity infobox-data infobox-col3
|rowclass13 = data-firerate infobox-data infobox-col1


|header10 = Damage
|label14 = Range
|rowclass10 = infobox-header
|data14 = {{{range|}}}
|rowclass14 = data-range infobox-data infobox-col1


|label11 = Damage
|label15 = Stability
|data11 = {{{damage|}}}
|data15 = {{{stability|}}}
|rowclass11 = data-damage infobox-data infobox-col2
|rowclass15 = data-stability infobox-data infobox-col1


|label12 = Fire Rate
|label16 = Agility
|data12 = {{{firerate|}}}
|data16 = {{{agility|}}}
|rowclass12 = data-firerate infobox-data infobox-col2
|rowclass16 = data-agility infobox-data infobox-col1


|label13 = Range
|label17 = Stealth
|data13 = {{{range|}}}
|data17 = {{{stealth|}}}
|rowclass13 = data-range infobox-data infobox-col2
|rowclass17 = data-stealth infobox-data infobox-col1


|label14 = Stability
|header19      = General Data
|data14 = {{{stability|}}}
|rowclass19    = infobox-header
|rowclass14 = data-stability infobox-data infobox-col2


|label15 = Agility
|label20        = Weight
|data15 = {{{agility|}}}
|data20        = {{{weight|}}}
|rowclass15 = data-agility infobox-data infobox-col2
|rowclass20    = data-weight infobox-data infobox-col1


|label16 = Stealth
|label21        = Sell Price
|data16 = {{{stealth|}}}
|data21        = {{{sellprice|}}}
|rowclass16 = data-stealth infobox-data infobox-col2
|rowclass21    = data-sellprice infobox-data infobox-col1


|header20 = Mods
|header29      = Related Quests
|rowclass20 = infobox-header
|rowclass29    = infobox-header


|data21         = {{#if: {{{magazine|}}}|[[File:Epic_IRON_SIGHTS-Sight.png|48px]]|}}{{#if: {{{muzzle|}}}|[[File:Epic_COMPACT_REFLECTOR-Sight.png|48px]]|}}
|label30        = Previous
|rowclass21     = data-mods infobox-data infobox-col1
|data30         = {{{previous|}}}
|rowclass30    = data-previous infobox-column infobox-col2
 
|label31        = Next
|data31        = {{{next|}}}
|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=Rattler
|rarity=Epic
|weaponquote = {{Quote|text=Fully automatic assault rifle}}
|weaponquote = Fully automatic assault rifle with moderate fire rate and accuracy.
|type=Assault Rifle
|type=Assault Rifle
|warning=hello
|ammo=Medium Ammo
|ammo=Medium Ammo
|rarity=Common
|magsize = 33
|damage=7
|firingmode = Auto
|range=53.1m
|damage=12
|range=54.2m
|firerate=40
|stability=x / x / 72.9 / 78.9
|agility=52.1
|stealth=14
|magazine=true
|magazine=true
|muzzle=true
|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