No edit summary
No edit summary
Line 23: Line 23:
|-
|-
|colspan=2|  
|colspan=2|  
{{#ifeq:{{{Description|}}}|||{{{Description}}}<br><br>}}{{#ifeq:{{{Special Properties|}}}|||[[Special Properties]]: {{{Special Properties}}}<br><br>}}{{#ifeq:{{{Damage|}}}|||Damage: {{{Damage|?? - ??}}}{{#ifeq:{{{Buffed Damage|}}}|||<b><font color=green> ({{{Buffed Damage|}}})</font></b>}}, {{{Element|??}}}}}{{#ifeq:{{{Damage|}}}|||<br>}}{{#ifeq:{{{Speed|}}}|||Speed: {{{Speed|??}}}}}{{#ifeq:{{{Buffed Speed|}}}||| <b><font color=green> ({{{Buffed Speed}}})</font></b>}}<br>{{#ifeq:{{{Weapon Type|}}}|||Uses {{{Weapon Type}}} Skill<br>}}{{#ifeq:{{{Bonus to Attack|}}}|||Bonus to Attack Skill: +{{{Bonus to Attack}}}%}}{{#ifeq:{{{Buffed Attack|}}}|||<b><font color=green> ({{{Buffed Attack|}}})%</font></b>}}{{#ifeq:{{{Bonus to Attack|}}}|||<br>}}{{#ifeq:{{{Bonus to Defense|}}}|||Bonus to Melee Defense: +{{{Bonus to Defense}}}%}}{#ifeq:{{{Buffed Defense|}}}<b><font color=green> ({{{Buffed Defense|}}})%</font></b>}}{{#ifeq:{{{Bonus to Defense|}}}|||<br>}}{{#ifeq:{{{Bonus to Missile|}}}|||Bonus to Missile Defense: +{{{Bonus to Missile}}}%<br>}}{{#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:{{{Level Req|}}}|||You must be at least level {{{Level Req}}} to wield this item.<br>}}{{#ifeq:{{{Base Weapon Req|}}}|||Your base {{{Weapon Type}}} must be at least {{{Base Weapon Req}}} to wield this item.<br>}}{{#ifeq:{{{Buffed Weapon Req|}}}|||Your {{{Weapon Type}}} must be at least {{{Buffed Weapon Req}}} to wield this item.<br>}}{{#ifeq:{{{Level Req|}}}||<br>|{{#ifeq:{{{Base Weapon Req|}}}||<br>|{{#ifeq:{{{Buffed Weapon Req|}}}||<br>|}}}}}}{{#ifeq:{{{Spells|}}}|||Casts the following spells: {{{Spells}}}<br><br>}}{{#ifeq:{{{Activation Reqs|}}}|||Activation Requirements: {{{Activation Reqs}}}<br><br>}}{{#ifeq:{{{Spellcraft|}}}|||Spellcraft: {{{Spellcraft}}}<br>}}{{#ifeq:{{{Mana|}}}|||Mana: {{{Mana}}}<br>}}{{#ifeq:{{{Mana|}}}|||Mana Cost: 1 point per {{{Mana Cost|??}}} seconds.<br>}}
{{#ifeq:{{{Description|}}}|||{{{Description}}}<br><br>}}{{#ifeq:{{{Special Properties|}}}|||[[Special Properties]]: {{{Special Properties}}}<br><br>}}{{#ifeq:{{{Damage|}}}|||Damage: {{{Damage|?? - ??}}}{{#ifeq:{{{Buffed Damage|}}}|||<b><font color=green> ({{{Buffed Damage|}}})</font></b>}}, {{{Element|??}}}}}{{#ifeq:{{{Damage|}}}|||<br>}}{{#ifeq:{{{Speed|}}}|||Speed: {{{Speed|??}}}}}{{#ifeq:{{{Buffed Speed|}}}||| <b><font color=green> ({{{Buffed Speed}}})</font></b>}}<br>{{#ifeq:{{{Weapon Type|}}}|||Uses {{{Weapon Type}}} Skill<br>}}{{#ifeq:{{{Bonus to Attack|}}}|||Bonus to Attack Skill: +{{{Bonus to Attack}}}%}}{{#ifeq:{{{Buffed Attack|}}}|||<b><font color=green> ({{{Buffed Attack|}}})%</font></b>}}{{#ifeq:{{{Bonus to Attack|}}}|||<br>}}{{#ifeq:{{{Bonus to Defense|}}}|||Bonus to Melee Defense: +{{{Bonus to Defense}}}%}}{#ifeq:{{{Buffed Defense|}}}<b><font color=green> ({{{Buffed Defense|}}})%</font></b>}}{{#ifeq:{{{Bonus to Defense|}}}|||<br>}}{{#ifeq:{{{Bonus to Missile|}}}|||Bonus to Missile Defense: +{{{Bonus to Missile}}}%<br>}}{{#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:{{{Level Req|}}}|||You must be at least level {{{Level Req}}} to wield this item.<br>}}{{#ifeq:{{{Base Weapon Req|}}}|||Your base {{{Weapon Type}}} must be at least {{{Base Weapon Req}}} to wield this item.<br>}}{{#ifeq:{{{Buffed Weapon Req|}}}|||Your {{{Weapon Type}}} must be at least {{{Buffed Weapon Req}}} to wield this item.<br>}}{{#ifeq:{{{Level Req|}}}||<br>|{{#ifeq:{{{Base Weapon Req|}}}||<br>|{{#ifeq:{{{Buffed Weapon Req|}}}||<br>|}}}}}}{{#ifeq:{{{Spells|}}}|||Casts the following spells: {{{Spells}}}<br><br>}}{{#ifeq:{{{Activation Reqs|}}}|||Activation Requirements: {{{Activation Reqs}}}<br><br>}}{{#ifeq:{{{Spellcraft|}}}|||Spellcraft: {{{Spellcraft}}}<br>}}
{{#ifeq:{{{Mana|}}}|||Mana: {{{Mana}}}<br>}}{{#ifeq:{{{Mana|}}}|||Mana Cost: 1 point per {{{Mana Cost|??}}} seconds.<br>}}
|-
|-
|}
|}

Revision as of 11:46, 4 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.