Template:Throwables: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Sanddh
mNo edit summary
imported>Sanddh
mNo edit summary
Line 29: Line 29:
|-
|-
|colspan=2|  
|colspan=2|  
{{#ifeq:{{{Description|}}}|||{{{Description|}}}<br><br>}}{{#ifeq:{{{Special Properties|}}}|||[[Special Properties]]: {{{Special Properties|}}}<br><br>}}{{#ifeq:{{{Damage|}}}|||Damage: {{{Damage|?? - ??}}}, {{{Element|??}}}<br>}}{{#ifeq:{{{Description Two|}}}|||{{#ifeq:{{{Description Two| }}}| ||{{{Description Two}}}<br><br>}}<br>}}<br>{{#ifeq:{{{Speed|}}}|||Speed: {{{Speed|??}}}}}{{#ifeq:{{{Buffed Speed|}}}||| <b><font color=green> ({{{Buffed Speed|}}})</font></b>}}<br>{{#ifeq:{{{Range|}}}|||Range: {{{Range|}}} }}{{#ifeq:{{{Buffed Range|}}}||| <b><font color=green> ({{{Buffed Range|}}} </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:{{{Cannot Be Sold|False}}}|True|This item cannot be sold.<br><br>|}}
{{#ifeq:{{{Description|}}}|||{{{Description|}}}<br><br>}}{{#ifeq:{{{Special Properties|}}}|||[[Special Properties]]: {{{Special Properties|}}}<br><br>}}{{#ifeq:{{{Weapon Skill|}}}|||Skill:{{{Weapon Skill|}}} ({{{Weapon Type|}}}) <br>}}{{#ifeq:{{{Damage|}}}|||Damage: {{{Damage|?? - ??}}}, {{{Element|??}}}<br>}}{{#ifeq:{{{Description Two|}}}|||{{#ifeq:{{{Description Two| }}}| ||{{{Description Two}}}<br><br>}}<br>}}<br>{{#ifeq:{{{Speed|}}}|||Speed: {{{Speed|??}}}}}{{#ifeq:{{{Buffed Speed|}}}||| <b><font color=green> ({{{Buffed Speed|}}})</font></b>}}<br>{{#ifeq:{{{Range|}}}|||Range: {{{Range|}}} }}{{#ifeq:{{{Buffed Range|}}}||| <b><font color=green> ({{{Buffed Range|}}} </font></b>}}<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:{{{Cannot Be Sold|False}}}|True|This item cannot be sold.<br><br>|}}
|}
|}
|width=20|
|width=20|
Line 47: Line 47:
<pre>
<pre>
{{Throwables
{{Throwables
  |            Weapon Type = Thrown Weapon
  |            Weapon Type = Thrown  
|          Weapon Skill = Missile Weapon
  |                  Name =  
  |                  Name =  
  |            Icon Image =  Icon.png
  |            Icon Image =  Icon.png

Revision as of 17:47, 22 February 2012

Related topics: Wiki Templates, Crafting Template

Syntax

{{Throwables
 |            Weapon Type = Thrown 
 |           Weapon Skill = Missile Weapon
 |                   Name = 
 |             Icon Image =  Icon.png
 |             Live Image =  Live.jpg
 |     Live Image Caption = 
 |                  Value = 
 |                 Burden = 
 |            Description = 
 |     Special Properties =
 |        Description Two = 
 | 
 |                 Damage = 
 |                Element = 
 |        Damage Modifier = 
 | Buffed Damage Modifier = 
 |                  Speed = 
 |           Buffed Speed = 
 |                  Range = yds. (based on STRENGTH 100)
 |           Buffed Range = 
 |       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 = True
}}

Usage

This is a component template that is part of a Page Template. See Throwables Template for details on usage and an example.