Template:WeaponProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(adapted to use Template:ConstructionProcess)
(improved handling for brawling weapons)
Line 6: Line 6:
|-
|-
{{#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: {{{brawl}}} | 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| ]] | }} }}
{{!}}-
{{!}}-
{{!}} '''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: {{{brawl}}} | 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| ]] | }} }}
{{!}}-
{{!}}-
{{!}} '''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: {{{brawl}}} }} | 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| ]] | }} }} }}

Revision as of 19:54, 17 March 2011

A plug in for Weapon template.