Template:WeaponProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(rework of the template to use a centralize word to number template)
Line 11: Line 11:
{{!}}-
{{!}}-
{{!}} '''Slice:''' {{!}}{{!}} {{
{{!}} '''Slice:''' {{!}}{{!}} {{
#if: {{{slice|}}} | {{#switch: {{{brawl}}} | y|yes= {{{slice}}} | {{WeaponProcess| {{{slice}}} | slice damage is}} }} | [[missing::Infobox entry for slice damage|''Unknown'']] }}{{
#if: {{{slice|}}} | {{#switch: {{{brawl}}} | y|yes= {{{slice}}} | [[slice damage is::{{{slice}}}]] ([[slice damage is number::{{GearProcess|{{{slice}}}|damage}}]]/26) }} | [[missing::Infobox entry for slice damage|''Unknown'']] }}{{
#switch: {{{span}}} | 2|3={{!}}{{!}}{{#if: {{{slice2|}}} | {{WeaponProcess| {{{slice2}}} | slice damage is}} | [[missing::Infobox entry for slice damage2|''Unknown'']] | }} }}{{
#switch: {{{span}}} | 2|3={{!}}{{!}}{{#if: {{{slice2|}}} | [[slice damage is::{{{slice2}}}]] ([[slice damage is number::{{GearProcess|{{{slice2}}}|damage}}]]/26) | [[missing::Infobox entry for slice damage2|''Unknown'']] | }} }}{{
#switch: {{{span}}} | 3={{!}}{{!}}{{#if: {{{slice3|}}} | {{WeaponProcess| {{{slice3}}} | slice damage is}} | [[missing::Infobox entry for slice damage3|''Unknown'']] | }} }} {{#switch:{{lc:{{{slicetype}}}}} | i|y|yes=(increase) }}
#switch: {{{span}}} | 3={{!}}{{!}}{{#if: {{{slice3|}}} | [[slice damage is::{{{slice3}}}]] ([[slice damage is number::{{GearProcess|{{{slice3}}}|damage}}]]/26) | [[missing::Infobox entry for slice damage3|''Unknown'']] | }} }} {{#switch:{{lc:{{{slicetype}}}}} | i|y|yes=(increase) }}
{{!}}-
{{!}}-
{{!}} '''Impact:''' {{!}}{{!}} {{
{{!}} '''Impact:''' {{!}}{{!}} {{
#if: {{{impact|}}} | {{#switch: {{{brawl}}} | y|yes= {{{impact}}} | {{WeaponProcess| {{{impact}}} | impact damage is}} }} | [[missing::Infobox entry on impact damage|''Unknown'']] }}{{
#if: {{{impact|}}} | {{#switch: {{{brawl}}} | y|yes= {{{impact}}} | [[impact damage is::{{{impact}}}]] ([[impact damage is number::{{GearProcess|{{{impact}}}|damage}}]]/26) }} | [[missing::Infobox entry on impact damage|''Unknown'']] }}{{
#switch: {{{span}}} | 2|3={{!}}{{!}}{{#if: {{{impact2|}}} | {{WeaponProcess| {{{impact2}}} | impact damage is}} | [[missing::Infobox entry for impact damage2|''Unknown'']] | }} }}{{
#switch: {{{span}}} | 2|3={{!}}{{!}}{{#if: {{{impact2|}}} | [[impact damage is::{{{impact2}}}]] ([[impact damage is number::{{GearProcess|{{{impact2}}}|damage}}]]/26) | [[missing::Infobox entry for impact damage2|''Unknown'']] | }} }}{{
#switch: {{{span}}} | 3={{!}}{{!}}{{#if: {{{impact3|}}} | {{WeaponProcess| {{{impact3}}} | impact damage is }} | [[missing::Infobox entry for impact damage3|''Unknown'']] | }} }} }} {{#switch:{{lc:{{{impacttype}}}}} | i|y|yes=(increase) }}
#switch: {{{span}}} | 3={{!}}{{!}}{{#if: {{{impact3|}}} | [[impact damage is::{{{impact3}}}]] ([[impact damage is number::{{GearProcess|{{{impact3}}}|damage}}]]/26) | [[missing::Infobox entry for impact damage3|''Unknown'']] | }} }} }} {{#switch:{{lc:{{{impacttype}}}}} | i|y|yes=(increase) }}
|-
|-
{{#switch: {{lc: {{{brawl}}} }} | y|yes= | {{#switch: {{lc: {{{foi}}} }} | n | -= | | {{!}} '''Force of Impact:''' {{!}}{{!}} {{
{{#switch: {{lc: {{{brawl}}} }} | y|yes= | {{#switch: {{lc: {{{foi}}} }} | n | -= | | {{!}} '''Force of Impact:''' {{!}}{{!}} {{
#if: {{{foi|}}} | {{WeaponProcess| {{{foi}}} | foi is}} | [[missing::Infobox entry on force of impact|''Unknown'']] }}{{
#if: {{{foi|}}} | [[foi is::{{{foi}}}]] ([[foi is number::{{GearProcess|{{{foi}}}|foi}}]]/17) | [[missing::Infobox entry on force of impact|''Unknown'']] }}{{
#switch: {{{span}}} | 2|3={{!}}{{!}}{{#If: {{{foi2|}}} | {{WeaponProcess| {{{foi2}}} | foi is}} | [[missing::Infobox entry for force of impact2|''Unknown'']] | }} }}{{
#switch: {{{span}}} | 2|3={{!}}{{!}}{{#If: {{{foi2|}}} | [[foi is::{{{foi2}}}]] ([[foi is number::{{GearProcess|{{{foi2}}}|foi}}]]/17) | [[missing::Infobox entry for force of impact2|''Unknown'']] | }} }}{{
#switch: {{{span}}} | 3={{!}}{{!}}{{#If: {{{suitedness3|}}} | {{WeaponProcess| {{{foi3}}} | foi is }} | [[missing::Infobox entry for force of impact3|''Unknown'']] | }} }} }} }}
#switch: {{{span}}} | 3={{!}}{{!}}{{#If: {{{foi3|}}} | [[foi is::{{{foi3}}}]] ([[foi is number::{{GearProcess|{{{foi3}}}|foi}}]]/17) | [[missing::Infobox entry for force of impact3|''Unknown'']] | }} }} }} }}
|-
|-
{{#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|}}} | [[balance is::{{{balance}}}]] ([[balance is number::{{GearProcess|{{{balance}}}|balance}}]]/17) | [[missing::Infobox entry for balance|''Unknown'']] }}{{
#switch: {{{span}}} | 2|3={{!}}{{!}}{{#If: {{{balance2|}}} | {{WeaponProcess| {{{balance2}}} | balance is}} | [[missing::Infobox entry for balance2 |''Unknown'']] | }} }}{{
#switch: {{{span}}} | 2|3={{!}}{{!}}{{#If: {{{balance2|}}} | [[balance is::{{{balance2}}}]] ([[balance is number::{{GearProcess|{{{balance2}}}|balance}}]]/17) | [[missing::Infobox entry for balance2 |''Unknown'']] | }} }}{{
#switch: {{{span}}} | 3={{!}}{{!}}{{#If: {{{balance3|}}} | {{WeaponProcess| {{{balance3}}} | balance is}} | [[missing::Infobox entry for balance3|''Unknown'']] | }} }} }} }}
#switch: {{{span}}} | 3={{!}}{{!}}{{#If: {{{balance3|}}} | [[balance is::{{{balance2}}}]] ([[balance is number::{{GearProcess|{{{balance2}}}|balance}}]]/17) | [[missing::Infobox entry for balance3|''Unknown'']] | }} }} }} }}
|-
|-
{{#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|}}} | [[suitedness is::{{{suitedness}}}]] ([[suitedness is number::{{GearProcess|{{{suitedness}}}|suitedness}}]]/17) | [[missing::Infobox entry on suitedness|''Unknown'']] }}{{
#switch: {{{span}}} | 2|3={{!}}{{!}}{{#If: {{{suitedness2|}}} | {{WeaponProcess| {{{suitedness2}}} | suitedness is}} | [[missing::Infobox entry for suitedness2|''Unknown'']] | }}}} {{
#switch: {{{span}}} | 2|3={{!}}{{!}}{{#If: {{{suitedness2|}}} | [[suitedness is::{{{suitedness2}}}]] ([[suitedness is number::{{GearProcess|{{{suitedness2}}}|suitedness}}]]/17) | [[missing::Infobox entry for suitedness2|''Unknown'']] | }}}} {{
#switch: {{{span}}} | 3={{!}}{{!}}{{#If: {{{suitedness3|}}} | {{WeaponProcess| {{{suitedness3}}} | suitedness is }} | [[missing::Infobox entry for suitedness3|''Unknown'']] | }} }} }} }}
#switch: {{{span}}} | 3={{!}}{{!}}{{#If: {{{suitedness3|}}} | [[suitedness is::{{{suitedness3}}}]] ([[suitedness is number::{{GearProcess|{{{suitedness3}}}|suitedness}}]]/17) | [[missing::Infobox entry for suitedness3|''Unknown'']] | }} }} }} }}
|-
|-
| '''Construction:''' || colspan="{{{span}}}"{{!}}{{ConstructionProcess|{{{construction}}}}}
| '''Construction:''' || colspan="{{{span}}}"{{!}}[[construction is::{{{construction}}}]] ([[construction is number::{{GearProcess|{{{construction}}}|construction}}]]/17)
|-
|-
| '''Metal:''' || colspan="{{{span}}}"{{!}} {{#switch: {{lc: {{{metal|}}} }} | yes|y= [[is metal::true|Yes]] | no|n= [[is metal::false|No]] | [[missing::Infobox entry for metal|''Unknown'']]}}
| '''Metal:''' || colspan="{{{span}}}"{{!}} {{#switch: {{lc: {{{metal|}}} }} | yes|y= [[is metal::true|Yes]] | no|n= [[is metal::false|No]] | [[missing::Infobox entry for metal|''Unknown'']]}}

Revision as of 16:56, 18 March 2013

A plug in for Weapon template.