Template:Infobox weapon: Difference between revisions

From Totem Arts Wiki
Jump to navigation Jump to search
RaiderAlpha (talk | contribs)
No edit summary
RaiderAlpha (talk | contribs)
mNo edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|headerstyle = {{Infobox style|infobox_header}}
|headerstyle = {{Infobox style|infobox_header}}
|labelstyle  = {{Infobox style|infobox_label}}
|labelstyle  = {{Infobox style|infobox_label}}
|imagestyle = background: #11425b;


|above    = {{#if:{{{name|}}}|{{{name|}}}|Weapon}}
|above    = {{#if:{{{name|}}}|{{{name|}}}|Weapon}}
|image    = {{#if:{{{icon|}}}|<br />[[File:{{{icon|}}}|72px|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   = Base damage
|label4   = Type
|data4   = {{#if:{{{damage|}}}|{{{damage|}}}|}}
|data4   = {{#if:{{{type|}}}|{{{type|}}}|}}
|label5   = Damage type
|label5  = Duration
|data5   = {{#if:{{{damage_type|}}}|{{{damage_type|}}}|}}
|data5    = {{#if:{{{duration|}}}|{{{duration|}}}|}}
|label6   = Projectile speed
|label6  = Health
|data6   = {{#if:{{{proj_speed|}}}|{{{proj_speed|}}}|}}
|data6    = {{#if:{{{health|}}}|{{{health|}}}|}}
|label7  = Range
|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:{{{range|}}}|{{{range|}}}|}}
|data7   = {{#if:{{{damage|}}}|{{{damage|}}}|}}
|label8   = Scope lens
|label8   = Damage type
|data8    = {{#if:{{{scope_lens|}}}|{{{scope_lens|}}}|}}
|data8   = {{#if:{{{damage_type|}}}|{{{damage_type|}}}|}}
|label9  = Rate of fire
|label9   = Projectile speed
|data9    = {{#if:{{{rof|}}}|{{{rof|}}}|}}
|data9   = {{#if:{{{proj_speed|}}}|{{{proj_speed|}}}|}}
|label10 = Clip
|label10  = Range
|data10   = {{#if:{{{clip|}}}|{{{clip|}}}|}}
|data10  = {{#if:{{{range|}}}|{{{range|}}}|}}
|label11 = Magazine
|label11  = Recharge
|data11   = {{#if:{{{magazine|}}}|{{{magazine|}}}|}}
|data11   = {{#if:{{{recharge|}}}|{{{recharge|}}}|}}
|label12  = Scope lens
|data12  = {{#if:{{{scope_lens|}}}|{{{scope_lens|}}}|}}
|label13  = Rate of fire
|data13  = {{#if:{{{rof|}}}|{{{rof|}}}|}}
|label14 = Magazine
|data14   = {{#if:{{{magazine|}}}|{{{magazine|}}}|}}
|label15 = Reserve
|data15   = {{#if:{{{reserve|}}}|{{{reserve|}}}|}}


|header22 = {{#if:{{{internalname|}}}{{{jargon|}}}|Miscellaneous}}
|header22 = {{#if:{{{internalname|}}}{{{jargon|}}}|Miscellaneous}}
Line 56: Line 68:
|proj_speed  =  
|proj_speed  =  
|range        =  
|range        =  
|scope_lens  =
|rof          =  
|rof          =  
|clip        =
|magazine    =  
|magazine    =  
|reserve      =


<!-- Miscellaneous -->
<!-- Miscellaneous -->

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       = 
}}