Template:Missile Weapon: Difference between revisions
Jump to navigation
Jump to search
imported>Arkalor's Bot No edit summary |
imported>Arkalor's Bot No edit summary |
||
Line 36: | Line 36: | ||
<div style="float:right">{{#ifeq:{{{Live Image|}}}|||{{#ifeq:{{{Live Image|}}}|Live.jpg||[[File:{{{Live Image|}}}{{!}}thumb{{!}}{{{Live Image Caption}}}]]}}}}</div></div> | <div style="float:right">{{#ifeq:{{{Live Image|}}}|||{{#ifeq:{{{Live Image|}}}|Live.jpg||[[File:{{{Live Image|}}}{{!}}thumb{{!}}{{{Live Image Caption}}}]]}}}}</div></div> | ||
<!-- Categories --> | <!-- Categories --> | ||
{{#if:{{{nocat|}}} | | {{#ifeq:{{lc:{{{Weapon Type|}}}}}|ammunition||{{#ifeq:{{{Live Image|}}} | Live.jpg | [[Category:Images Needed (Weapons)]] | {{#ifeq:{{{Live Image|}}} | | [[Category:Images Needed (Weapons)]] |}}}}}} | {{#if:{{{nocat|}}} | | {{#ifeq:{{lc:{{{Weapon Type|}}}}}|ammunition||{{#ifeq:{{{Live Image|}}} | Live.jpg | [[Category:Images Needed (Weapons)]] | {{#ifeq:{{{Live Image|}}} | | [[Category:Images Needed (Weapons)]] |}}}}}} | ||
{{#switch:{{lc:{{{Weapon Type|}}}}} | {{#switch:{{lc:{{{Weapon Type|}}}}} | ||
| ammunition = [[Category:Ammunition]] | | ammunition = [[Category:Ammunition]] | ||
Line 47: | Line 47: | ||
| thrown weapons = {{#if:{{{Damage|}}}|{{#if:{{{Special Req|}}}|[[Category:Thrown Weapons: Alchemy Phial]]|[[Category:Thrown Weapons: Non Atlatl]]}}|[[Category:Thrown Weapons: Atlatl]]}} | | thrown weapons = {{#if:{{{Damage|}}}|{{#if:{{{Special Req|}}}|[[Category:Thrown Weapons: Alchemy Phial]]|[[Category:Thrown Weapons: Non Atlatl]]}}|[[Category:Thrown Weapons: Atlatl]]}} | ||
}} | }} | ||
{{#ifeq:{{lc:{{{Weapon Type|}}}}}|ammunition||{{#if:{{{Base Weapon Req|}}}|[[Category:Missile Weapons: Wield {{{Base Weapon Req}}}]]|[[Category:Missile Weapons: No Wield Requirement]]}}}}}}</includeonly><noinclude>{{Documentation}}[[Category:Wiki Templates]]</noinclude> | {{#ifeq:{{lc:{{{Weapon Type|}}}}}|ammunition||[[Category:Missile Weapons]]{{#if:{{{Base Weapon Req|}}}|[[Category:Missile Weapons: Wield {{{Base Weapon Req}}}]]|[[Category:Missile Weapons: No Wield Requirement]]}}}}}}</includeonly><noinclude>{{Documentation}}[[Category:Wiki Templates]]</noinclude> |
Revision as of 10:39, 26 June 2015
Template Documentation: | Weapon&action=edit Edit Documentation |
---|
Related topics: Wiki Templates, Missile Weapon Template
Syntax
{{Missile Weapon | Weapon Type = | Weapon Skill = Missile Weapons | Name = | Icon Image = Icon.png | Live Image = Live.jpg | Live Image Caption = | | Value = | Burden = | Description = | Special Properties = | | Damage Bonus = | Buffed Damage Bonus = | Elemental Damage Bonus = | Element = | Damage Modifier = | Buffed Damage Modifier = | Speed = | Buffed Speed = | Range = | Buffed Range = | Ammunition = | 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 Missile Weapon Stat Template, full details and an example can be found there.