Template:WeaponProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
(31 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{brawl}}} | y|yes= | {{#switch: {{{type}}} | bolt|arrow|rock= | {{!}} '''Range:''' {{!}}{{!}} colspan="{{{span}}}"{{!}} {{#switch:{{lc:{{{range}}} }} | ranged= [[range is::ranged|Ranged]] | pole= [[range is::pole|Pole]] | melee= [[range is::melee|Melee]] | [[missing::Infobox entry on weapon range|''Unknown'']]}} }} }}
<includeonly>{{#switch: {{{brawl}}} | y|yes= | {{#switch: {{{type}}} | bolt|arrow|rock|dart= | {{!}} '''Range:''' {{!}}{{!}} colspan="{{{span}}}"{{!}} {{#switch:{{lc:{{{range}}} }} | ranged= [[range is::ranged|Ranged]] | pole= [[range is::pole|Pole]] | melee= [[range is::melee|Melee]] | [[missing::Infobox entry on weapon range|''Unknown'']]}} }} }}
|-
|-
{{#ifeq: {{lc: {{{range|}}} }} | ranged | {{!}} '''Ammo:''' {{!}}{{!}} colspan="{{{span}}}"{{!}} {{#if: {{{ammocap|}}} | [[ammo capacity of::{{{ammocap}}}]] | [[missing::Infobox entry on ammo capacity|''Unknown number 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:''' {{!}}{{!}} colspan="{{{span}}}"{{!}} {{#if: {{{ammocap|}}} | [[ammo capacity of::{{{ammocap}}}]] | [[missing::Infobox entry on ammo capacity|''Unknown number of'']]}} {{#switch: {{lc: {{{ammo}}} }} | bolt|bolts= [[has ammo type::bolt]] | rock|rocks= [[has ammo type::rock]] | arrow|arrows= [[has ammo type::arrow]] | dart|darts= [[has ammo type::dart]] |[[missing::Infobox entry on ammo type|''unknown type'']]}}(s). | }}
|-
|-
| '''Type:''' || {{#If:{{{type|}}} | {{#switch: {{lc: {{{brawl}}} }} | y|yes= [[is combat type::{{ucfirst: {{lc: {{{type}}} }} }}]]{{#switch: {{lc: {{{type}}} }} | parry= &#32;stick | &#32;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|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}} | {{!}}{{!}} | &#32;\ &#32;}} [[is combat type::{{SkillCode| {{{type2}}} }}]]}}{{#If: {{{type3|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitability3|}}} | {{!}}{{!}} | &#32;\ &#32;}} [[is combat type::{{SkillCode| {{{type3}}} }}]]}} }} }} | [[missing::Infobox entry for weapon type|''Unknown'']]}}{{#if:{{IfMatch2|{{{type|}}},{{{type2|}}},{{{type3|}}}|hands|feet|elbows|knees|parry}}|<!--[[is combat type::Brawling| ]]-->|}}{{#Ifeq:{{{range|}}}|ranged|{{#If:{{{rangedRT|}}}|&#32;({{#expr:{{{rangedRT}}}-1}}/[[ranged RT is::{{{rangedRT}}}]] RT)|&#32;[[missing::Infobox entry on ranged roundtime| ]](Unknown RT)|}}}}
| '''Type:''' || {{#If:{{{type|}}} | {{#switch: {{lc: {{{brawl}}} }} | y|yes= [[is combat type::{{ucfirst: {{lc: {{{type}}} }} }}]]{{#switch: {{lc: {{{type}}} }} | parry= &#32;stick | &#32;brawling weapon}} | {{#switch:{{lc:{{{type}}} }} | bolt|rock|arrow|dart= [[is combat type::{{ucfirst: {{lc: {{{type}}} }} }}]] | [[is combat type::{{SkillCode| {{{type}}} }}]]{{#If: {{{type2|}}} | {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}} | {{!}}{{!}} | &#32;\ &#32;}} [[is combat type::{{SkillCode| {{{type2}}} }}]]}}{{#If: {{{type3|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitability3|}}} | {{!}}{{!}} | &#32;\ &#32;}} [[is combat type::{{SkillCode| {{{type3}}} }}]]}} }} }} | [[missing::Infobox entry for weapon type|''Unknown'']]}}{{#if:{{IfMatch2|{{{type|}}},{{{type2|}}},{{{type3|}}}|hands|feet|elbows|knees|parry}}|<!--[[is combat type::Brawling| ]]-->|}}{{#Ifeq:{{{range|}}}|ranged|{{#If:{{{rangedRT|}}}|&#32;({{#expr:{{{rangedRT}}}-1}}/[[ranged RT is::{{{rangedRT}}}]] RT)|&#32;[[missing::Infobox entry on ranged roundtime| ]](Unknown RT)|}}}}
|-
| '''Range:''' || {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} {{#If:{{{range|}}}|[[range is::{{{range}}}]]|''unknown''[[missing::Infobox entry on range required| ]]}}
|-
{{#switch: {{lc: {{{type}}} }} |sb|lob|cb={{!}} '''Draw Strength:''' {{!}}{{!}} {{
#if: {{{drawstrength|}}} | [[drawstrength is::{{{drawstrength}}}]] ([[drawstrength is number::{{GearProcess|{{{drawstrength}}}|drawstrength}}]]/8) | [[missing::Infobox entry on drawstrength|''Unknown'']] }} | }}
|-
{{#switch: {{lc: {{{type}}} }} |sb|lob|cb={{!}} '''Adjustable Draw:''' {{!}}{{!}} {{
#if: {{{adraw|}}} | {{#switch: {{lc: {{{adraw}}} }} | y|yes|t|true=[[adjustable draw::true|yes]] | n|no|f|false=[[adjustable draw::false|no]] | [[missing::Infobox entry for adjustable draw|''Unknown'']] }} | [[missing::Infobox entry for adjustable draw|''Unknown'']] }} }}
|-
|-
{{#switch: {{lc: {{{puncture}}} }} | n | -= | {{!}} '''Puncture:''' {{!}}{{!}} {{
{{#switch: {{lc: {{{puncture}}} }} | n | -= | {{!}} '''Puncture:''' {{!}}{{!}} {{
#if: {{{puncture|}}} | {{#switch: {{{brawl}}} | y|yes= {{{puncture}}} | [[puncture damage is::{{{puncture}}}]] ([[puncture damage is number::{{GearProcess|{{{puncture}}}|damage}}]]/26) }} | [[missing::Infobox entry for puncture damage|''Unknown'']]}}{{
#if: {{{puncture|}}} | {{#switch: {{{brawl}}} | y|yes= {{{puncture}}} | [[puncture damage is::{{{puncture}}}]] ([[puncture damage is number::{{GearProcess|{{{puncture}}}|damage}}]]/28) }} | [[missing::Infobox entry for puncture damage|''Unknown'']]}}{{
#switch: {{{span}}} | 2|3={{!}}{{!}}{{#If: {{{puncture2|}}} | [[puncture damage is::{{{puncture2}}}]] ([[puncture damage is number::{{GearProcess|{{{puncture2}}}|damage}}]]/26) | [[missing::Infobox entry for puncture damage2|''Unknown'']] | }} }}{{
#switch: {{{span}}} | 2|3={{!}}{{!}}{{#If: {{{puncture2|}}} | [[puncture damage is::{{{puncture2}}}]] ([[puncture damage is number::{{GearProcess|{{{puncture2}}}|damage}}]]/28) | [[missing::Infobox entry for puncture damage2|''Unknown'']] | }} }}{{
#switch: {{{span}}} | 3={{!}}{{!}}{{#If: {{{puncture3|}}} | [[puncture damage is::{{{puncture3}}}]] ([[puncture damage is number::{{GearProcess|{{{puncture3}}}|damage}}]]/26) | [[missing::Infobox entry for puncture damage3|''Unknown'']] | }} }} {{#switch:{{lc:{{{puncturetype}}}}} | i|y|yes=(increase) }}
#switch: {{{span}}} | 3={{!}}{{!}}{{#If: {{{puncture3|}}} | [[puncture damage is::{{{puncture3}}}]] ([[puncture damage is number::{{GearProcess|{{{puncture3}}}|damage}}]]/28) | [[missing::Infobox entry for puncture damage3|''Unknown'']] | }} }} {{#switch:{{lc:{{{puncturetype}}}}} | i|y|yes=(increase) }}
{{!}}-
{{!}}-
{{!}} '''Slice:''' {{!}}{{!}} {{
{{!}} '''Slice:''' {{!}}{{!}} {{
#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'']] }}{{
#if: {{{slice|}}} | {{#switch: {{{brawl}}} | y|yes= {{{slice}}} | [[slice damage is::{{{slice}}}]] ([[slice damage is number::{{GearProcess|{{{slice}}}|damage}}]]/28) }} | [[missing::Infobox entry for slice damage|''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}}} | 2|3={{!}}{{!}}{{#if: {{{slice2|}}} | [[slice damage is::{{{slice2}}}]] ([[slice damage is number::{{GearProcess|{{{slice2}}}|damage}}]]/28) | [[missing::Infobox entry for slice damage2|''Unknown'']] | }} }}{{
#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) }}
#switch: {{{span}}} | 3={{!}}{{!}}{{#if: {{{slice3|}}} | [[slice damage is::{{{slice3}}}]] ([[slice damage is number::{{GearProcess|{{{slice3}}}|damage}}]]/28) | [[missing::Infobox entry for slice damage3|''Unknown'']] | }} }} {{#switch:{{lc:{{{slicetype}}}}} | i|y|yes=(increase) }}
{{!}}-
{{!}}-
{{!}} '''Impact:''' {{!}}{{!}} {{
{{!}} '''Impact:''' {{!}}{{!}} {{
#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'']] }}{{
#if: {{{impact|}}} | {{#switch: {{{brawl}}} | y|yes= {{{impact}}} | [[impact damage is::{{{impact}}}]] ([[impact damage is number::{{GearProcess|{{{impact}}}|damage}}]]/28) }} | [[missing::Infobox entry on impact damage|''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}}} | 2|3={{!}}{{!}}{{#if: {{{impact2|}}} | [[impact damage is::{{{impact2}}}]] ([[impact damage is number::{{GearProcess|{{{impact2}}}|damage}}]]/28) | [[missing::Infobox entry for impact damage2|''Unknown'']] | }} }}{{
#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: {{{span}}} | 3={{!}}{{!}}{{#if: {{{impact3|}}} | [[impact damage is::{{{impact3}}}]] ([[impact damage is number::{{GearProcess|{{{impact3}}}|damage}}]]/28) | [[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:''' {{!}}{{!}} {{
Line 28: Line 36:
#if: {{{balance|}}} | [[balance is::{{{balance}}}]] ([[balance is number::{{GearProcess|{{{balance}}}|balance}}]]/17) | [[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|}}} | [[balance is::{{{balance2}}}]] ([[balance is number::{{GearProcess|{{{balance2}}}|balance}}]]/17) | [[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|}}} | [[balance is::{{{balance2}}}]] ([[balance is number::{{GearProcess|{{{balance2}}}|balance}}]]/17) | [[missing::Infobox entry for balance3|''Unknown'']] | }} }} }} }}
#switch: {{{span}}} | 3={{!}}{{!}}{{#If: {{{balance3|}}} | [[balance is::{{{balance3}}}]] ([[balance is number::{{GearProcess|{{{balance3}}}|balance}}]]/17) | [[missing::Infobox entry for balance3|''Unknown'']] | }} }} }} }}
|-
|-
{{#switch: {{lc: {{{type}}} }} |feet|hands|elbows|knees= | {{#switch: {{lc: {{{balance}}} }} | n | -= | | {{!}} '''Suitedness:''' {{!}}{{!}} {{
{{#switch: {{lc: {{{type}}} }} |feet|hands|elbows|knees= | {{#switch: {{lc: {{{balance}}} }} | n | -= | | {{!}} '''Suitedness:''' {{!}}{{!}} {{
Line 35: Line 43:
#switch: {{{span}}} | 3={{!}}{{!}}{{#If: {{{suitedness3|}}} | [[suitedness is::{{{suitedness3}}}]] ([[suitedness is number::{{GearProcess|{{{suitedness3}}}|suitedness}}]]/17) | [[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}}}"{{!}}[[construction is::{{{construction}}}]] ([[construction is number::{{GearProcess|{{{construction}}}|construction}}]]/18)
{{#switch: {{lc: {{{type}}} }} |sb|lb|cb={{!}} '''Draw Strength:''' {{!}}{{!}} {{
#if: {{{drawstrength|}}} | [[drawstrength is::{{{drawstrength}}}]] ([[drawstrength is number::{{GearProcess|{{{drawstrength}}}|drawstrength}}]]/8) | [[missing::Infobox entry on drawstrength|''Unknown'']] }}{{
#switch: {{{span}}} | 2|3={{!}}{{!}}{{#If: {{{drawstrength2|}}} | [[drawstrength is::{{{drawstrength2}}}]] ([[drawstrength is number::{{GearProcess|{{{drawstrength2}}}|drawstrength}}]]/17) | [[missing::Infobox entry for drawstrength2|''Unknown'']] | }}}} {{
#switch: {{{span}}} | 3={{!}}{{!}}{{#If: {{{drawstrength3|}}} | [[drawstrength is::{{{drawstrength3}}}]] ([[drawstrength is number::{{GearProcess|{{{drawstrength3}}}|drawstrength}}]]/17) | [[missing::Infobox entry for drawstrength3|''Unknown'']] | }} }} }}
|-
| '''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 21:20, 7 May 2021

A plug in for Weapon template.