Template:Sandbox: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Immortalbob
No edit summary
imported>Immortalbob
mNo edit summary
Line 21: Line 21:
  | unarmed combat = [[Category:UA Weapon]]
  | unarmed combat = [[Category:UA Weapon]]
  | unarmed weapon = [[Category:UA Weapon]]
  | unarmed weapon = [[Category:UA Weapon]]
}}{{#switch:{{lc:{{{Weapon Type|}}}}}
}}
{{#switch:{{lc:{{{Weapon Type|}}}}}
  | bow = [[Category:Bow]]
  | bow = [[Category:Bow]]
  | crossbow = [[Category:Crossbow]]
  | crossbow = [[Category:Crossbow]]
Line 27: Line 28:
  | thrown weapons = [[Category:Thrown Weapon]]
  | thrown weapons = [[Category:Thrown Weapon]]
  | thrown weapon = [[Category:Thrown Weapon]]
  | thrown weapon = [[Category:Thrown Weapon]]
}}{|border=0 cellpadding=0 cellspacing=3 style=width:100%
}}
{{|border=0 cellpadding=0 cellspacing=3 style=width:100%
|-valign=top
|-valign=top
|
|

Revision as of 18:59, 24 January 2012

Related topics: Wiki Templates, Melee Weapon Template

Syntax

{{Melee Weapon
 |        Weapon Type = 
 |               Name = 
 |         Icon Image =  Icon.png
 |         Live Image =  Live.jpg
 | Live Image Caption = 
 | 
 |              Value = 
 |             Burden = 
 |        Description = 
 | Special Properties = 
 | 
 |             Damage = 
 |      Buffed Damage = 
 |            Element = 
 |              Speed = 
 |       Buffed Speed = 
 |    Bonus to Attack = 
 |      Buffed Attack = 
 |   Bonus to Defense = 
 |     Buffed Defense = 
 |   Bonus to Missile = 
 |     Bonus to Magic = 
 | 
 |     Player Attuned = 
 |          Level Req = 
 |    Base Weapon Req = 
 |  Buffed Weapon Req = 
 |        Special Req = 
 | 
 |             Spells = 
 |    Activation Reqs = 
 |         Spellcraft = 
 |               Mana = 
 |          Mana Cost = 
 |     Cannot Be Sold = False
}}

Usage

This template is one component of the page template Melee Weapon Stat Template, full details and an example can be found there.