Template:Melee Weapon: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk's Bot
(New page: <includeonly> Category:Weapon {{#switch:{{lc:{{{Weapon Type|}}}}} | axe = Category:Axe | bow = Category:Bow | crossbow = Category:Crossbow | dagger = [[Category:Dagger]...)
 
imported>Tlosk's Bot
No edit summary
Line 33: Line 33:
{{#ifeq:{{{Bonus to Magic|}}}|||{{#ifeq:{{{Bonus to Magic| }}}| ||Bonus to Magic Defense: +{{{Bonus to Magic}}}%<br>}}}}<br>
{{#ifeq:{{{Bonus to Magic|}}}|||{{#ifeq:{{{Bonus to Magic| }}}| ||Bonus to Magic Defense: +{{{Bonus to Magic}}}%<br>}}}}<br>
{{#ifeq:{{lc:{{{Player Attuned|}}}}}|true|This item can only be wielded by <Player>.<br><br>|}}
{{#ifeq:{{lc:{{{Player Attuned|}}}}}|true|This item can only be wielded by <Player>.<br><br>|}}
{{#ifeq:{{{Level Req|}}}|||{{#ifeq:{{{Level Req| }}}| ||You must be at least level {{{Level Req}}} to wield this item.<br>}}}}
{{#ifeq:{{{Base Weapon Req|}}}|||{{#ifeq:{{{Base Weapon Req| }}}| ||Your base {{{Weapon Type}}} must be at least {{{Base Weapon Req}}} to wield this item.<br>}}}}
{{#ifeq:{{{Base Weapon Req|}}}|||{{#ifeq:{{{Base Weapon Req| }}}| ||Your base {{{Weapon Type}}} must be at least {{{Base Weapon Req}}} to wield this item.<br>}}}}
{{#ifeq:{{{Buffed Weapon Req|}}}|||{{#ifeq:{{{Buffed Weapon Req| }}}| ||Your {{{Weapon Type}}} must be at least {{{Buffed Weapon Req}}} to wield this item.<br>}}}}<br>
{{#ifeq:{{{Buffed Weapon Req|}}}|||{{#ifeq:{{{Buffed Weapon Req| }}}| ||Your {{{Weapon Type}}} must be at least {{{Buffed Weapon Req}}} to wield this item.<br>}}}}<br>
Line 80: Line 81:
  |    Bonus to Magic =  
  |    Bonus to Magic =  
  |    Player Attuned =  
  |    Player Attuned =  
|          Level Req =
  |    Base Weapon Req =  
  |    Base Weapon Req =  
  |  Buffed Weapon Req =  
  |  Buffed Weapon Req =  

Revision as of 14:54, 3 February 2009

Related topics: Wiki Templates, Melee Weapon Stat Template

Syntax

{{Melee Weapon
 |        Weapon Type = 
 |               Name = 
 |              Value = 
 |             Burden = 
 |         Icon Image = 
 |         Live Image = 
 | Live Image Caption = 
 |        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 = 
 |             Spells = 
 |    Activation Reqs = 
 |         Spellcraft = 
 |               Mana = 
 |          Mana Cost =  
}}

Usage

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