Template:WeaponProperties: Difference between revisions
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|}}}| \ {{WeaponProcess|{{{puncture2}}}|puncture damage is}}}}{{#If:{{{puncture3|}}}| \ {{WeaponProcess|{{{puncture}}}|puncture damage is}}}} puncture damage{{#switch:{{lc:{{{puncturetype}}}}}|i|y|yes= increase}}<br/>{{#if:{{{slice|}}}|{{#switch:{{lc:{{{slicetype}}}}}|i|y|yes={{{slice}}}|{{WeaponProcess|{{{slice}}}|slice damage is}}}}|''Unknown''}}{{#if:{{{slice2|}}}| \ {{WeaponProcess|{{{slice2}}}|slice damage is}}}}{{#if:{{{slice3|}}}| \ {{WeaponProcess|{{{slice3}}}|slice damage is}}}} slice damage{{#switch:{{lc:{{{slicetype}}}}}|i|y|yes= increase}}<br/>{{#if:{{{impact|}}}|{{#switch:{{lc:{{{impacttype}}}}}|i|y|yes={{{impact}}}|{{WeaponProcess|{{{impact}}}|impact damage is}}}}|''Unknown''}}{{#if:{{{impact2|}}}| \ {{WeaponProcess|{{{impact2}}}|impact damage is}}}}{{#if:{{{impact3|}}}| \ {{WeaponProcess|{{{impact3}}}|impact damage is}}}} impact damage{{#switch:{{lc:{{{impacttype}}}}}|i|y|yes= 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|}}}| \ {{WeaponProcess|{{{puncture2}}}|puncture damage is}}}}{{#If:{{{puncture3|}}}| \ {{WeaponProcess|{{{puncture}}}|puncture damage is}}}} puncture damage{{#switch:{{lc:{{{puncturetype}}}}}|i|y|yes= increase}}<br/>{{#if:{{{slice|}}}|{{#switch:{{lc:{{{slicetype}}}}}|i|y|yes={{{slice}}}|{{WeaponProcess|{{{slice}}}|slice damage is}}}}|''Unknown''}}{{#if:{{{slice2|}}}| \ {{WeaponProcess|{{{slice2}}}|slice damage is}}}}{{#if:{{{slice3|}}}| \ {{WeaponProcess|{{{slice3}}}|slice damage is}}}} slice damage{{#switch:{{lc:{{{slicetype}}}}}|i|y|yes= increase}}<br/>{{#if:{{{impact|}}}|{{#switch:{{lc:{{{impacttype}}}}}|i|y|yes={{{impact}}}|{{WeaponProcess|{{{impact}}}|impact damage is}}}}|''Unknown''}}{{#if:{{{impact2|}}}| \ {{WeaponProcess|{{{impact2}}}|impact damage is}}}}{{#if:{{{impact3|}}}| \ {{WeaponProcess|{{{impact3}}}|impact damage is}}}} impact damage{{#switch:{{lc:{{{impacttype}}}}}|i|y|yes= 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|}}}| \ {{WeaponProcess|{{{balance2}}}|balance is}}}}{{#If:{{{balance3|}}}| \ {{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|}}}| \ {{WeaponProcess|{{{balance2}}}|balance is}}}}{{#If:{{{balance3|}}}| \ {{WeaponProcess|{{{balance3}}}|balance is}}}}}}}} |
Revision as of 18:53, 4 November 2008
A plug in for Weapon template.