Template:WeaponProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(further steps)
mNo edit summary
Line 2: Line 2:
|-
|-
{{#ifeq: {{lc: {{{range|}}} }} | ranged | {{!}} '''Ammo:''' {{!}}{{!}} {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="3"{{!}} | colspan="2" {{!}} }} }}{{#if: {{{ammocap|}}} | [[ammo capacity of::{{{ammocap}}}]] | [[missing::Infobox entry on ammo capacity|''Unknown amount of'']]}} {{#switch: {{lc: {{{ammo}}} }} | bolt|bolts= [[has ammo type::bolt]] | rock|rocks= [[has ammo type::rock]] | arrow|arrows= [[has ammo type::arrow]] | [[missing::Infobox entry on ammo type|''unknown type'']]}}(s). | }}
{{#ifeq: {{lc: {{{range|}}} }} | ranged | {{!}} '''Ammo:''' {{!}}{{!}} {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="3"{{!}} | colspan="2" {{!}} }} }}{{#if: {{{ammocap|}}} | [[ammo capacity of::{{{ammocap}}}]] | [[missing::Infobox entry on ammo capacity|''Unknown amount of'']]}} {{#switch: {{lc: {{{ammo}}} }} | bolt|bolts= [[has ammo type::bolt]] | rock|rocks= [[has ammo type::rock]] | arrow|arrows= [[has ammo type::arrow]] | [[missing::Infobox entry on ammo type|''unknown type'']]}}(s). | }}
|-{{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitability2|}}}{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitability3|}}}| align="center"}}
|-
| '''Type:''' || {{#If:{{{type|}}} | {{#switch: {{lc: {{{brawl}}} }} | y|yes= [[is combat type::{{ucfirst: {{lc: {{{type}}} }} }}]]{{#switch: {{lc: {{{type}}} }} | parry=  stick |  brawling weapon}} | {{#switch:{{lc:{{{type}}} }} | bolt|rock|arrow= [[is combat type::{{ucfirst: {{lc: {{{type}}} }} }}]] | [[is combat type::{{SkillCode| {{{type}}} }}]]{{#If: {{{type2|}}} | {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitability2|}}} | {{!}}{{!}} |  \  }} [[is combat type::{{SkillCode| {{{type2}}} }}]]}}{{#If: {{{type3|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitability3|}}} | {{!}}{{!}} |  \  }} [[is combat type::{{SkillCode| {{{type3}}} }}]]}} }} }} | [[missing::Infobox entry for weapon type|''Unknown'']]}}
| '''Type:''' || {{#If:{{{type|}}} | {{#switch: {{lc: {{{brawl}}} }} | y|yes= [[is combat type::{{ucfirst: {{lc: {{{type}}} }} }}]]{{#switch: {{lc: {{{type}}} }} | parry=  stick |  brawling weapon}} | {{#switch:{{lc:{{{type}}} }} | bolt|rock|arrow= [[is combat type::{{ucfirst: {{lc: {{{type}}} }} }}]] | [[is combat type::{{SkillCode| {{{type}}} }}]]{{#If: {{{type2|}}} | {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitability2|}}} | {{!}}{{!}} |  \  }} [[is combat type::{{SkillCode| {{{type2}}} }}]]}}{{#If: {{{type3|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitability3|}}} | {{!}}{{!}} |  \  }} [[is combat type::{{SkillCode| {{{type3}}} }}]]}} }} }} | [[missing::Infobox entry for weapon type|''Unknown'']]}}
|-{{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitability2|}}}{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitability3|}}}| align="center"}}
|-
{{#switch: {{lc: {{{puncture}}} }} | n | -= | {{!}} '''Puncture:''' {{!}}{{!}} {{
{{#switch: {{lc: {{{puncture}}} }} | n | -= | {{!}} '''Puncture:''' {{!}}{{!}} {{
#if: {{{puncture|}}} | {{#switch: {{lc: {{{puncturetype}}} }} | i|y|yes= {{{puncture}}} | {{WeaponProcess| {{{puncture}}} | puncture damage is }} }} | [[missing::Infobox entry for puncture damage|''Unknown'']]}}{{
#if: {{{puncture|}}} | {{#switch: {{lc: {{{puncturetype}}} }} | i|y|yes= {{{puncture}}} | {{WeaponProcess| {{{puncture}}} | puncture damage is }} }} | [[missing::Infobox entry for puncture damage|''Unknown'']]}}{{
#If: {{{puncture2|}}} | {{!}}{{!}} {{WeaponProcess| {{{puncture2}}} | puncture damage is }} | {{#if: {{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitedness2|}}} | [[missing::Infobox entry for puncture damage2| ]] | }} }}{{
#If: {{{puncture2|}}} | {{!}}{{!}} {{WeaponProcess| {{{puncture2}}} | puncture damage is }} | {{#if: {{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitedness2|}}} | [[missing::Infobox entry for puncture damage2| ]] | }} }}{{
#If: {{{puncture3|}}} | {{!}}{{!}} {{WeaponProcess| {{{puncture}}} | puncture damage is }} | {{#if: {{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitedness3|}}} | [[missing::Infobox entry for puncture damage3| ]] | }} }}
#If: {{{puncture3|}}} | {{!}}{{!}} {{WeaponProcess| {{{puncture}}} | puncture damage is }} | {{#if: {{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitedness3|}}} | [[missing::Infobox entry for puncture damage3| ]] | }} }}
{{!}}-{{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitability2|}}}{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitability3|}}}| align="center"}}
{{!}}-
{{!}} '''Slice:''' {{!}}{{!}} {{
{{!}} '''Slice:''' {{!}}{{!}} {{
#if: {{{slice|}}} | {{#switch: {{lc: {{{slicetype}}} }} |i|y|yes= {{{slice}}} | {{WeaponProcess| {{{slice}}} | slice damage is }} }} | [[missing::Infobox entry for slice damage|''Unknown'']] }}{{
#if: {{{slice|}}} | {{#switch: {{lc: {{{slicetype}}} }} |i|y|yes= {{{slice}}} | {{WeaponProcess| {{{slice}}} | slice damage is }} }} | [[missing::Infobox entry for slice damage|''Unknown'']] }}{{
#if: {{{slice2|}}} | {{!}}{{!}} {{WeaponProcess| {{{slice2}}} | slice damage is }} | {{#if: {{{puncture2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitedness2|}}} | [[missing::Infobox entry for slice damage2| ]] | }} }}{{
#if: {{{slice2|}}} | {{!}}{{!}} {{WeaponProcess| {{{slice2}}} | slice damage is }} | {{#if: {{{puncture2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitedness2|}}} | [[missing::Infobox entry for slice damage2| ]] | }} }}{{
#if: {{{slice3|}}} | {{!}}{{!}} {{WeaponProcess| {{{slice3}}} | slice damage is }} | {{#if: {{{puncture3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitedness3|}}} | [[missing::Infobox entry for slice damage3| ]] | }} }}
#if: {{{slice3|}}} | {{!}}{{!}} {{WeaponProcess| {{{slice3}}} | slice damage is }} | {{#if: {{{puncture3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitedness3|}}} | [[missing::Infobox entry for slice damage3| ]] | }} }}
{{!}}-{{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitability2|}}}{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitability3|}}}| align="center"}}
{{!}}-
{{!}} '''Impact:''' {{!}}{{!}} {{
{{!}} '''Impact:''' {{!}}{{!}} {{
#if: {{{impact|}}} | {{#switch: {{lc: {{{impacttype}}} }} |i|y|yes= {{{impact}}} | {{WeaponProcess| {{{impact}}} | impact damage is }} }} | [[missing::Infobox entry on impact damage|''Unknown'']] }}{{
#if: {{{impact|}}} | {{#switch: {{lc: {{{impacttype}}} }} |i|y|yes= {{{impact}}} | {{WeaponProcess| {{{impact}}} | impact damage is }} }} | [[missing::Infobox entry on impact damage|''Unknown'']] }}{{
#if: {{{impact2|}}} | {{!}}{{!}} {{WeaponProcess| {{{impact2}}} | impact damage is }} | {{#if: {{{slice2|}}}{{{puncture2|}}}{{{balance2|}}}{{{suitedness2|}}} | [[missing::Infobox entry for impact damage2| ]] | }} }}{{
#if: {{{impact2|}}} | {{!}}{{!}} {{WeaponProcess| {{{impact2}}} | impact damage is }} | {{#if: {{{slice2|}}}{{{puncture2|}}}{{{balance2|}}}{{{suitedness2|}}} | [[missing::Infobox entry for impact damage2| ]] | }} }}{{
#if: {{{impact3|}}} | {{!}}{{!}} {{WeaponProcess| {{{impact3}}} | impact damage is }} | {{#if: {{{slice3|}}}{{{puncture3|}}}{{{balance3|}}}{{{suitedness3|}}} | [[missing::Infobox entry for impact damage3| ]] | }} }} }}
#if: {{{impact3|}}} | {{!}}{{!}} {{WeaponProcess| {{{impact3}}} | impact damage is }} | {{#if: {{{slice3|}}}{{{puncture3|}}}{{{balance3|}}}{{{suitedness3|}}} | [[missing::Infobox entry for impact damage3| ]] | }} }} }}
|-{{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitability2|}}}{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitability3|}}}| align="center"}}
|-
{{#switch: {{lc: {{{brawl}}} }} | y|yes= | {{#switch: {{lc: {{{balance}}} }} | n | -= | {{!}} '''Balance:''' {{!}}{{!}} {{
{{#switch: {{lc: {{{brawl}}} }} | y|yes= | {{#switch: {{lc: {{{balance}}} }} | n | -= | {{!}} '''Balance:''' {{!}}{{!}} {{
#if: {{{balance|}}} | {{WeaponProcess| {{{balance}}} | balance is }} | [[missing::Infobox entry for balance|''Unknown'']] }}{{
#if: {{{balance|}}} | {{WeaponProcess| {{{balance}}} | balance is }} | [[missing::Infobox entry for balance|''Unknown'']] }}{{
#If: {{{balance2|}}} | {{!}}{{!}} {{WeaponProcess| {{{balance2}}} | balance is }} | {{#if: {{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{suitedness2|}}} | [[missing::Infobox entry for balance2 | ]] | }} }}{{
#If: {{{balance2|}}} | {{!}}{{!}} {{WeaponProcess| {{{balance2}}} | balance is }} | {{#if: {{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{suitedness2|}}} | [[missing::Infobox entry for balance2 | ]] | }} }}{{
#If: {{{balance3|}}} | {{!}}{{!}} {{WeaponProcess| {{{balance3}}} | balance is }} | {{#if: {{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{suitedness3|}}} | [[missing::Infobox entry for balance3| ]] | }} }} }} }}
#If: {{{balance3|}}} | {{!}}{{!}} {{WeaponProcess| {{{balance3}}} | balance is }} | {{#if: {{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{suitedness3|}}} | [[missing::Infobox entry for balance3| ]] | }} }} }} }}
|-{{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitability2|}}}{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitability3|}}}| align="center"}}
|-
{{#switch: {{lc: {{{brawl}}} }} | y|yes= | {{#switch: {{lc: {{{balance}}} }} | n | -= | | {{!}} '''Suitedness:''' {{!}}{{!}} {{
{{#switch: {{lc: {{{brawl}}} }} | y|yes= | {{#switch: {{lc: {{{balance}}} }} | n | -= | | {{!}} '''Suitedness:''' {{!}}{{!}} {{
#if: {{{suitedness|}}} | {{WeaponProcess| {{{suitedness}}} | suitedness is }} | [[missing::Infobox entry on suitedness|''Unknown'']] }}{{
#if: {{{suitedness|}}} | {{WeaponProcess| {{{suitedness}}} | suitedness is }} | [[missing::Infobox entry on suitedness|''Unknown'']] }}{{

Revision as of 23:42, 8 February 2009

A plug in for Weapon template.