Template:Ammunition: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Sanddh
mNo edit summary
imported>Arkalor's Bot
No edit summary
 
(11 intermediate revisions by 3 users not shown)
Line 10: Line 10:
|-
|-
|colspan=2|  
|colspan=2|  
{{#ifeq:{{{Description|}}}|||{{#ifeq:{{{Description| }}}| ||{{{Description}}}<br><br>}}{{#ifeq:{{{Damage|}}}|||Damage: {{{Damage|?? - ??}}}, {{{Element|??}}}}}<br><br>}}<br><br>}}{{#ifeq:{{{Special Properties|}}}|||{{#ifeq:{{{Special Properties| }}}| ||[[Special Properties]]: {{{Special Properties}}}<br><br>}}}}{{#ifeq:{{{Description Two|}}}|||{{#ifeq:{{{Description Two| }}}| ||{{{Description Two}}}<br><br>{{#ifeq:{{{Base Weapon Req|}}}|||Your base {{{Type}}} must be at least {{{Base Weapon Req|}}} to wield this item.<br>}}<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 Missile Weapons 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|
Line 23: Line 23:
   }}
   }}
}}
}}
|}</includeonly><noinclude>
|}[[Category:Ammunition]]</includeonly><noinclude>
{{Related|Wiki Templates|Crafting Template}}
{{Related|Wiki Templates|Crafting Template}}
== Syntax ==
== Syntax ==
<pre>
<pre>
{{Ammunition
{{Ammunition
  |              Type = Bow - Crossbow - Thrown Weapons
  |              Type = Missile Weapons
  |              Name =  
  |              Name =  
  |        Icon Image =  Icon.png
  |        Icon Image =  Icon.png

Latest revision as of 16:23, 9 October 2012

Related topics: Wiki Templates, Crafting Template

Syntax

{{Ammunition
 |               Type = Missile 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.