Template:Infobox weapon: Difference between revisions

From Totem Arts Wiki
Jump to navigation Jump to search
Lightning (talk | contribs)
mNo edit summary
RaiderAlpha (talk | contribs)
mNo edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 8: Line 8:
|above    = {{#if:{{{name|}}}|{{{name|}}}|Weapon}}
|above    = {{#if:{{{name|}}}|{{{name|}}}|Weapon}}
|image    = {{#if:{{{icon|}}}|[[File:{{{icon|}}}|160px|center]]|}}
|image    = {{#if:{{{icon|}}}|[[File:{{{icon|}}}|160px|center]]|}}
|image2  = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imgsize|}}}|{{{imgsize|}}}|250px}}|center]]|}}
|image2  = {{#if:{{{slides|}}}<!--
  -->|{{SlidesToTabber|{{{slides}}}|{{#if:{{{imgsize|}}}|{{{imgsize}}}|300px}}}}<!--
  -->|{{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imgsize|}}}|{{{imgsize|}}}|300px}}|center]]|}}
}}
|caption2 = {{#if:{{{imgdesc|}}}|{{{imgdesc|}}}|}}
|caption2 = {{#if:{{{imgdesc|}}}|{{{imgdesc|}}}|}}
|header1  = {{#if:{{{is_equipment|}}}|Equipment|Weapon}}
|header1  = {{#if:{{{is_equipment|}}}|Equipment|Weapon}}
|label2  = Carried by
|label2  = Carried by
|data2    = {{#if:{{{carried_by|}}}|{{{carried_by|}}}|}}
|data2    = {{#if:{{{carried_by|}}}|{{{carried_by|}}}|}}
|label3  = Type
|label3   = Cost
|data3   = {{#if:{{{type|}}}|{{{type|}}}|}}
|data3    = {{#if:{{{cost|}}}|{{{cost|}}}|}}
|label4   = Duration
|label4   = Type
|data4   = {{#if:{{{duration|}}}|{{{duration|}}}|}}
|data4   = {{#if:{{{type|}}}|{{{type|}}}|}}
|label5   = Health
|label5   = Duration
|data5   = {{#if:{{{health|}}}|{{{health|}}}|}}
|data5   = {{#if:{{{duration|}}}|{{{duration|}}}|}}
|label6   = Base damage
|label6   = Health
|data6   = {{#if:{{{damage|}}}|{{{damage|}}}|}}
|data6   = {{#if:{{{health|}}}|{{{health|}}}|}}
|label7   = Damage type
|label7   = {{#if:{{{damage_desc|}}}|<abbr title="{{{damage_desc|}}}">Damage</abbr>|<abbr title="Full damage will be inflicted only if the target body is struck completely by the projectile. Higher veterancy ranks will increase the base damage by a specified multiplier.">Damage</abbr>}}
|data7   = {{#if:{{{damage_type|}}}|{{{damage_type|}}}|}}
|data7   = {{#if:{{{damage|}}}|{{{damage|}}}|}}
|label8   = Projectile speed
|label8   = Damage type
|data8   = {{#if:{{{proj_speed|}}}|{{{proj_speed|}}}|}}
|data8   = {{#if:{{{damage_type|}}}|{{{damage_type|}}}|}}
|label9  = Range
|label9   = Projectile speed
|data9    = {{#if:{{{range|}}}|{{{range|}}}|}}
|data9   = {{#if:{{{proj_speed|}}}|{{{proj_speed|}}}|}}
|label10 = Recharge
|label10  = Range
|data10   = {{#if:{{{recharge|}}}|{{{recharge|}}}|}}
|data10  = {{#if:{{{range|}}}|{{{range|}}}|}}
|label11 = Scope lens
|label11 = Recharge
|data11   = {{#if:{{{scope_lens|}}}|{{{scope_lens|}}}|}}
|data11   = {{#if:{{{recharge|}}}|{{{recharge|}}}|}}
|label12 = Rate of fire
|label12 = Scope lens
|data12   = {{#if:{{{rof|}}}|{{{rof|}}}|}}
|data12   = {{#if:{{{scope_lens|}}}|{{{scope_lens|}}}|}}
|label13 = Magazine
|label13 = Rate of fire
|data13   = {{#if:{{{magazine|}}}|{{{magazine|}}}|}}
|data13   = {{#if:{{{rof|}}}|{{{rof|}}}|}}
|label14 = Reserve
|label14 = Magazine
|data14   = {{#if:{{{reserve|}}}|{{{reserve|}}}|}}
|data14   = {{#if:{{{magazine|}}}|{{{magazine|}}}|}}
|label15 = Reserve
|data15   = {{#if:{{{reserve|}}}|{{{reserve|}}}|}}


|header22 = {{#if:{{{internalname|}}}{{{jargon|}}}|Miscellaneous}}
|header22 = {{#if:{{{internalname|}}}{{{jargon|}}}|Miscellaneous}}
Line 65: Line 70:
|scope_lens  =  
|scope_lens  =  
|rof          =  
|rof          =  
|maagzine     =  
|magazine     =  
|reserve      =  
|reserve      =  



Latest revision as of 19:48, 25 April 2021

Weapon
Weapon

Usage

To use this template, insert the following code into the page and fill out the fields:

{{Infobox weapon
|theme        = 
|name         = 
|icon         = 
|image        = 
|imgsize      = 
|imgdesc      = 

<!-- General characteristics -->
|is_equipment = 
|carried_by   = 
|type         = 
|damage_type  = 
|proj_speed   = 
|range        = 
|scope_lens   = 
|rof          = 
|magazine     = 
|reserve      = 

<!-- Miscellaneous -->
|internalname = 
|jargon       = 
}}