Template:Ammunition: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Sanddh
mNo edit summary
imported>Sanddh
mNo edit summary
Line 10: Line 10:
|-
|-
|colspan=2|  
|colspan=2|  
{{#ifeq:{{{Description|}}}|||{{{Description|}}}<br>}}{{#ifeq:{{{Damage|}}}|||Damage: {{{Damage|?? - ??}}}, {{{Element|??}}}<br>}}<br>}}{{#ifeq:{{{Description Two|}}}|||{{#ifeq:{{{Description Two| }}}| ||{{{Description Two}}}<br><br>}}{{#ifeq:{{{Special Properties|}}}|||{{#ifeq:{{{Special Properties| }}}| ||[[Special Properties]]: {{{Special Properties}}}<br>}}<br>}}{{#ifeq:{{{Base Weapon Req|}}}|||Your base {{{Type}}} must be at least {{{Base Weapon Req|}}} to wield this item.<br>}}}}<br>{{#ifeq:{{{Cannot Be Sold|False}}}|True|This item cannot be sold.<br><br>|}}
{{#ifeq:{{{Description|}}}|||{{{Description|}}}<br>}}{{#ifeq:{{{Damage|}}}|||Damage: {{{Damage|?? - ??}}}, {{{Element|??}}}<br>}}{{#ifeq:{{{Description Two|}}}|||{{#ifeq:{{{Description Two| }}}| ||{{{Description Two}}}<br><br>}}{{#ifeq:{{{Special Properties|}}}|||{{#ifeq:{{{Special Properties| }}}| ||[[Special Properties]]: {{{Special Properties}}}<br>}}<br>}}{{#ifeq:{{{Base Weapon Req|}}}|||Your base {{{Type}}} must be at least {{{Base Weapon Req|}}} to wield this item.<br>}}}}<br>{{#ifeq:{{{Cannot Be Sold|False}}}|True|This item cannot be sold.<br><br>|}}
|}
|}
|width=20|
|width=20|

Revision as of 10:00, 23 April 2009

Related topics: Wiki Templates, Crafting Template

Syntax

{{Ammunition
 |               Type = Bow - Crossbow - Thrown Weapons
 |               Name = 
 |         Icon Image =  Icon.png
 |         Live Image =  Live.jpg
 | Live Image Caption = 
 |              Value = 
 |             Burden = 
 |        Description = 
 |             Damage = 
 |            Element = 
 |    Description Two = Used as ammunition by bows crossbows atlatls
 |    Base Weapon Req = 
 | Special Properties = 
 |     Cannot Be Sold = True
}}

Usage

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