Template:Sandbox: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Immortalbob
No edit summary
imported>Immortalbob
No edit summary
Line 6: Line 6:
  | staff = [[Category:Staff]]
  | staff = [[Category:Staff]]
  | sword = [[Category:Sword]]
  | sword = [[Category:Sword]]
| two handed = [[Category:Two Handed Weapon]]
| thw = [[Category:Two Handed Weapon]]
| two handed weapon = [[Category:Two Handed Weapon]]
| two handed weapons = [[Category:Two Handed Weapon]]
| two handed combat = [[Category:Two Handed Weapon]]
  | ua = [[Category:UA Weapon]]
  | ua = [[Category:UA Weapon]]
  | unarmed = [[Category:UA Weapon]]
  | unarmed = [[Category:UA Weapon]]
  | unarmed combat = [[Category:UA Weapon]]
  | unarmed combat = [[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]]
| xbow = [[Category:Crossbow]]
  | tw = [[Category:Thrown Weapon]]
  | tw = [[Category:Thrown Weapon]]
  | thrown weapons = [[Category:Thrown Weapon]]
  | thrown weapons = [[Category:Thrown Weapon]]
Line 27: Line 32:
|-
|-
|colspan=2|  
|colspan=2|  
{{#ifeq:{{{Description|}}}|||{{{Description|}}}<br><br>}}{{#ifeq:{{{Special Properties|}}}|||[[Special Properties]]: {{{Special Properties|}}}<br><br>}}{{#ifeq:{{{Damage Bonus|}}}|||Damage Bonus: {{{Damage Bonus|}}}{{#ifeq:{{{Buffed Damage Bonus|}}}|||<b><font color=green> ({{{Buffed Damage Bonus|}}})</font></b>}}}}{{#ifeq:{{{Damage Bonus|}}}|||<br>}}{{#ifeq:{{{Elemental Damage Bonus|}}}|||Elemental Damage Bonus: {{{Elemental Damage Bonus|}}}{{#ifeq:{{{Element|}}}|||, {{{Element|}}} }}}}{{#ifeq:{{{Elemental Damage Bonus|}}}|||<br>}}{{#ifeq:{{{Damage Modifier|}}}|||Damage Modifier: +{{{Damage Modifier|}}}%}}{{#ifeq:{{{Buffed Damage Modifier|}}}||| <b><font color=green> ({{{Buffed Damage Modifier|}}}%)</font></b>}}{{#ifeq:{{{Damage Modifier|}}}|||<br>}}{{#ifeq:{{{Modifier|}}}|||Damage Modifier: {{{Modifier|}}}<br>}}{{#ifeq:{{{Speed|}}}|||Speed: {{{Speed|??}}}}}{{#ifeq:{{{Buffed Speed|}}}||| <b><font color=green> ({{{Buffed Speed|}}})</font></b>}}<br>{{#ifeq:{{{Range|}}}|||Range: {{{Range|}}} yds}}{{#ifeq:{{{Buffed Range|}}}||| <b><font color=green> ({{{Buffed Range|}}} yds)</font></b>}}<br>{{#ifeq:{{{Weapon Type|}}}|||Uses {{{Weapon Type|}}} Skill<br>}}{{#ifeq:{{{Ammunition|}}}|||Uses {{{Ammunition|}}} as ammunition.<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:{{{Defense|}}}|||Bonus to Melee Defense: {{{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:{{{Special Req|}}}|||{{{Special Req|}}}<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|}}}||{{#ifeq:{{{Base Weapon Req|}}}||{{#ifeq:{{{Buffed Weapon Req|}}}|||<br>}}|<br>}}|<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:{{lc:{{{Cannot Be Sold|False}}} }}|true|<br>This item cannot be sold.<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:{{{Defense|}}}|||Bonus to Melee Defense: {{{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:{{{Special Req|}}}|||{{{Special Req|}}}<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|}}}||{{#ifeq:{{{Base Weapon Req|}}}||{{#ifeq:{{{Buffed Weapon Req|}}}|||<br>}}|<br>}}|<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 Cost|}}}|||Mana Cost: 1 point per {{{Mana Cost|??}}} seconds.<br>}}{{#ifeq:{{lc:{{{Cannot Be Sold|False}}} }}|true|<br>This item cannot be sold.<br>|}}
|-
|-
|}
|}
Line 42: Line 47:
}}
}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{Related|Wiki Templates|Missile Weapon Template}}
{{Related|Wiki Templates|Melee Weapon Template}}
== Syntax ==
== Syntax ==
<pre>
<pre>
{{Missile Weapon
{{Melee Weapon
  |           Weapon Type =  
  |       Weapon Type =  
  |                   Name =  
  |               Name =  
  |             Icon Image =  Icon.png
  |         Icon Image =  Icon.png
  |             Live Image =  Live.jpg
  |         Live Image =  Live.jpg
  |     Live Image Caption =  
  | Live Image Caption =  
  |  
  |  
  |                 Value =  
  |             Value =  
  |                 Burden =  
  |             Burden =  
  |           Description =  
  |       Description =  
  |     Special Properties =  
  | Special Properties =  
  |  
  |  
  |           Damage Bonus =  
  |             Damage =  
  |   Buffed Damage Bonus =
  |     Buffed Damage =  
| Elemental Damage Bonus =  
  |           Element =  
  |               Element =  
  |             Speed =  
  |       Damage Modifier =
  |       Buffed Speed =  
| Buffed Damage Modifier =
  |   Bonus to Attack =  
|                  Speed =  
  |     Buffed Attack =  
  |           Buffed Speed =  
  |   Bonus to Defense =  
  |                 Range =
  |     Buffed Defense =  
  |           Buffed Range =
  |   Bonus to Missile =  
|            Ammunition =  
  |     Bonus to Magic =  
  |       Bonus to Defense =  
  |         Buffed Defense =  
  |       Bonus to Missile =  
  |         Bonus to Magic =  
  |  
  |  
  |         Player Attuned =  
  |     Player Attuned =  
  |             Level Req =  
  |         Level Req =  
  |       Base Weapon Req =  
  |   Base Weapon Req =  
  |     Buffed Weapon Req =  
  | Buffed Weapon Req =  
  |           Special Req =  
  |       Special Req =  
  |  
  |  
  |                 Spells =  
  |             Spells =  
  |       Activation Reqs =  
  |   Activation Reqs =  
  |             Spellcraft =  
  |         Spellcraft =  
  |                   Mana =  
  |               Mana =  
  |             Mana Cost =  
  |         Mana Cost =  
  |         Cannot Be Sold = False
  |     Cannot Be Sold = False
}}
}}
</pre>
</pre>


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


[[Category:Wiki Template]]
[[Category:Wiki Template]]
</noinclude>
</noinclude>

Revision as of 20:33, 23 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.