Template:WeaponProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(adapted to use - as a disable bit and to uses Template:WeaponProcess)
(bugfix)
Line 5: Line 5:
{{#ifeq:{{lc:{{{range|}}}}}|ranged|{{!}}'''Ammo:'''{{!}}{{!}}{{#if:{{{ammocap|}}}|[[ammo capacity of::{{{ammocap}}}]]|''Unknown amount of''}} {{#if:{{{ammo|}}}|{{#switch:{{lc:{{{ammo}}}}}|bolt|bolts=[[has ammo type::bolt]]|rock|rocks=[[has ammo type::rock]]|arrow|arrows=[[has ammo type::arrow]]|''unknown type''}}(s).|''unknown type''}}}}
{{#ifeq:{{lc:{{{range|}}}}}|ranged|{{!}}'''Ammo:'''{{!}}{{!}}{{#if:{{{ammocap|}}}|[[ammo capacity of::{{{ammocap}}}]]|''Unknown amount of''}} {{#if:{{{ammo|}}}|{{#switch:{{lc:{{{ammo}}}}}|bolt|bolts=[[has ammo type::bolt]]|rock|rocks=[[has ammo type::rock]]|arrow|arrows=[[has ammo type::arrow]]|''unknown type''}}(s).|''unknown type''}}}}
|-
|-
{{#if:{{#ifeq:{{lc:{{{puncture}}}}}|n|1}}{{#ifeq:{{{puncture}}}|-|1}}||{{!}}'''Damage:'''{{!}}{{!}}{{#if:{{{puncture|}}}|{{WeaponProcess|{{{puncture}}}|puncture damage is}}}}|''Unknown''}}{{#If:{{{puncture2|}}}|&nbsp;\&nbsp;{{WeaponProcess|{{{puncture2}}}|puncture damage is}}}}{{#If:{{{puncture3|}}}|&nbsp;\&nbsp;{{WeaponProcess|{{{puncture}}}|puncture damage is}}}} puncture damage{{#switch:{{lc:{{{puncturetype}}}}}|i|y|yes=&nbsp;increase}}<br/>{{#if:{{{slice|}}}|{{#switch:{{lc:{{{slicetype}}}}}|i|y|yes={{{slice}}}|{{WeaponProcess|{{{slice}}}|slice damage is}}}}|''Unknown''}}{{#if:{{{slice2|}}}|&nbsp;\&nbsp;{{WeaponProcess|{{{slice2}}}|slice damage is}}}}{{#if:{{{slice3|}}}|&nbsp;\&nbsp;{{WeaponProcess|{{{slice3}}}|slice damage is}}}} slice damage{{#switch:{{lc:{{{slicetype}}}}}|i|y|yes=&nbsp;increase}}<br/>{{#if:{{{impact|}}}|{{#switch:{{lc:{{{impacttype}}}}}|i|y|yes={{{impact}}}|{{WeaponProcess|{{{impact}}}|impact damage is}}}}|''Unknown''}}{{#if:{{{impact2|}}}|&nbsp;\&nbsp;{{WeaponProcess|{{{impact2}}}|impact damage is}}}}{{#if:{{{impact3|}}}|&nbsp;\&nbsp;{{WeaponProcess|{{{impact3}}}|impact damage is}}}} impact damage{{#switch:{{lc:{{{impacttype}}}}}|i|y|yes=&nbsp;increase}}}}
{{#if:{{#ifeq:{{lc:{{{puncture}}}}}|n|1}}{{#ifeq:{{{puncture}}}|-|1}}||{{!}}'''Damage:'''{{!}}{{!}}{{#if:{{{puncture|}}}|{{#switch:{{lc:{{{puncturetype}}}}}|i|y|yes={{{puncture}}}|{{WeaponProcess|{{{puncture}}}|puncture damage is}}}}|''Unknown''}}{{#If:{{{puncture2|}}}|&nbsp;\&nbsp;{{WeaponProcess|{{{puncture2}}}|puncture damage is}}}}{{#If:{{{puncture3|}}}|&nbsp;\&nbsp;{{WeaponProcess|{{{puncture}}}|puncture damage is}}}} puncture damage{{#switch:{{lc:{{{puncturetype}}}}}|i|y|yes=&nbsp;increase}}<br/>{{#if:{{{slice|}}}|{{#switch:{{lc:{{{slicetype}}}}}|i|y|yes={{{slice}}}|{{WeaponProcess|{{{slice}}}|slice damage is}}}}|''Unknown''}}{{#if:{{{slice2|}}}|&nbsp;\&nbsp;{{WeaponProcess|{{{slice2}}}|slice damage is}}}}{{#if:{{{slice3|}}}|&nbsp;\&nbsp;{{WeaponProcess|{{{slice3}}}|slice damage is}}}} slice damage{{#switch:{{lc:{{{slicetype}}}}}|i|y|yes=&nbsp;increase}}<br/>{{#if:{{{impact|}}}|{{#switch:{{lc:{{{impacttype}}}}}|i|y|yes={{{impact}}}|{{WeaponProcess|{{{impact}}}|impact damage is}}}}|''Unknown''}}{{#if:{{{impact2|}}}|&nbsp;\&nbsp;{{WeaponProcess|{{{impact2}}}|impact damage is}}}}{{#if:{{{impact3|}}}|&nbsp;\&nbsp;{{WeaponProcess|{{{impact3}}}|impact damage is}}}} impact damage{{#switch:{{lc:{{{impacttype}}}}}|i|y|yes=&nbsp;increase}}}}
|-
|-
{{#switch:{{lc:{{{brawl}}}}}|y|yes=|{{#if:{{#ifeq:{{lc:{{{balance}}}}}|n|1}}{{#ifeq:{{{balance}}}|-|1}}||{{!}}'''Balance:'''{{!}}{{!}}{{#if:{{{balance|}}}|{{WeaponProcess|{{{balance}}}|balance is}}|''Unknown''}}{{#If:{{{balance2|}}}|&nbsp;\&nbsp;{{WeaponProcess|{{{balance2}}}|balance is}}}}{{#If:{{{balance3|}}}|&nbsp;\&nbsp;{{WeaponProcess|{{{balance3}}}|balance is}}}}}}}}
{{#switch:{{lc:{{{brawl}}}}}|y|yes=|{{#if:{{#ifeq:{{lc:{{{balance}}}}}|n|1}}{{#ifeq:{{{balance}}}|-|1}}||{{!}}'''Balance:'''{{!}}{{!}}{{#if:{{{balance|}}}|{{WeaponProcess|{{{balance}}}|balance is}}|''Unknown''}}{{#If:{{{balance2|}}}|&nbsp;\&nbsp;{{WeaponProcess|{{{balance2}}}|balance is}}}}{{#If:{{{balance3|}}}|&nbsp;\&nbsp;{{WeaponProcess|{{{balance3}}}|balance is}}}}}}}}

Revision as of 18:53, 4 November 2008

A plug in for Weapon template.