Template:Sandbox: Difference between revisions
From Drunkapedia
imported>Immortalbob No edit summary |
imported>Immortalbob No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[[Category:Weapon]]{{#switch:{{lc:{{{Weapon Type|}}}}} | <includeonly>[[Category:Weapon]] | ||
{{#switch:{{lc:{{{Weapon Skill|}}}}} | |||
| heavy = [[Category:Heavy Combat Weapon]] | |||
| light = [[Category:Light Combat Weapon]] | |||
| finesse = [[Category:Finesse Combat Weapon]] | |||
}} | |||
{{#switch:{{lc:{{{Weapon Type|}}}}} | |||
| axe = [[Category:Axe]] | | axe = [[Category:Axe]] | ||
| dagger = [[Category:Dagger]] | | dagger = [[Category:Dagger]] | ||
Line 21: | Line 27: | ||
| 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:55, 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.