Template:WeaponProperties: Difference between revisions
Jump to navigation
Jump to search
TEVESHSZAT (talk | contribs) No edit summary |
|||
(99 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{brawl}}} | y|yes= | {{#switch: {{{type}}} | bolt|arrow|rock= | {{!}} '''Range:''' {{!}}{{!}} {{#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:''' {{!}}{{!}} {{#if: {{{ammocap|}}} | [[ammo capacity of::{{{ammocap}}}]] | [[missing::Infobox entry on ammo capacity|''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]] | 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=  stick |  brawling weapon}} | {{#switch:{{lc:{{{type}}} }} | bolt|rock|arrow= [[is combat type::{{ucfirst: {{lc: {{{type}}} }} }}]] | [[is combat type::{{SkillCode| {{{type}}} }}]]{{#If: {{{type2|}}} |  \   [[is combat type::{{SkillCode| {{{type2}}} }}]]}}{{#If: {{{type3|}}} |  \   [[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|dart= [[is combat type::{{ucfirst: {{lc: {{{type}}} }} }}]] | [[is combat type::{{SkillCode| {{{type}}} }}]]{{#If: {{{type2|}}} | {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}} | {{!}}{{!}} [[swappable template::true| ]] |  \  }} [[is combat type::{{SkillCode| {{{type2}}} }}]]}}{{#If: {{{type3|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitability3|}}} | {{!}}{{!}} |  \  }} [[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|}}}| ({{#expr:{{{rangedRT}}}-1}}/[[ranged RT is::{{{rangedRT}}}]] RT)| [[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| ]]}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
#If: {{{puncture3|}}} |  \ {{WeaponProcess| {{{puncture}}} | puncture damage is }} | {{#if: {{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitedness3|}}} | [[missing::Infobox entry for puncture damage3| ]] | }} }} puncture damage{{ |
|||
#switch: {{lc: {{{puncturetype}}} }} |i|y|yes=  increase}} <br />{{ |
|||
⚫ | |||
⚫ | |||
#if: {{{slice3|}}} |  \ {{WeaponProcess| {{{slice3}}} | slice damage is }} | {{#if: {{{puncture3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitedness3|}}} | [[missing::Infobox entry for slice damage3| ]] | }} }} slice damage{{ |
|||
#switch: {{lc: {{{slicetype}}} }} |i|y|yes= increase}} <br /> {{ |
|||
⚫ | |||
⚫ | |||
#if: {{{impact3|}}} |  \ {{WeaponProcess| {{{impact3}}} | impact damage is }} | {{#if: {{{slice3|}}}{{{puncture3|}}}{{{balance3|}}}{{{suitedness3|}}} | [[missing::Infobox entry for impact damage3| ]] | }} }} impact damage{{ |
|||
#switch: {{lc: {{{impacttype}}} }} |i|y|yes=  increase }} }} |
|||
|- |
|- |
||
{{#switch: {{lc: {{{ |
{{#switch: {{lc: {{{type}}} }} |sb|lob|cb={{!}} '''Draw Strength:''' {{!}}{{!}} {{ |
||
#if: {{{ |
#if: {{{drawstrength|}}} | [[drawstrength is::{{{drawstrength}}}]] ([[drawstrength is number::{{GearProcess|{{{drawstrength}}}|drawstrength}}]]/8) | [[missing::Infobox entry on drawstrength|''Unknown'']] }} | }} |
||
⚫ | |||
⚫ | |||
|- |
|- |
||
{{#switch: {{lc: {{{ |
{{#switch: {{lc: {{{type}}} }} |sb|lob|cb={{!}} '''Adjustable Draw:''' {{!}}{{!}} {{ |
||
#if: {{{ |
#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'']] }} }} |
||
⚫ | |||
⚫ | |||
|- |
|- |
||
⚫ | |||
| '''Construction:''' || {{#switch: {{lc: {{{construction}}} }} | extremely weak= [[construction is::0 - extremely weak|Extremely weak]] | flimsy= [[construction is::1 - flimsy|Flimsy]] | somewhat flimsy= [[construction is::2 - somewhat flimsy|Somewhat flimsy]] | average strength= [[construction is::3 - average strength|Average strength]] | fairly sturdy= [[construction is::4 - fairly sturdy|Fairly sturdy]] | moderately strong= [[construction is::5 - moderately strong|Moderately strong]] | well constructed= [[construction is::6 - well constructed|Well constructed]] | very strong= [[construction is::7 - very strong|Very strong]] | quite hard= [[construction is::8 - quite hard|Quite hard]] | incredibly hard= [[construction is::9 - incredibly hard|Incredibly hard]] | unbelievably strong= [[construction is::10 - unbelievably strong|Unbelievably strong]] | [[missing::Infobox entry for construction|''Unknown'']]}} |
|||
⚫ | #if: {{{puncture|}}} | {{#switch: {{{brawl}}} | y|yes= [[puncture damage is::{{{puncture}}}]] ([[puncture damage is number::{{GearProcess|{{{puncture}}}|damage}}]]/4) | [[puncture damage is::{{{puncture}}}]] ([[puncture damage is number::{{GearProcess|{{{puncture}}}|damage}}]]/28) }} | [[missing::Infobox entry for puncture damage|''Unknown'']]}}{{ |
||
⚫ | |||
#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:''' {{!}}{{!}} {{ |
|||
⚫ | #if: {{{slice|}}} | {{#switch: {{{brawl}}} | y|yes= [[slice damage is::{{{slice}}}]] ([[slice damage is number::{{GearProcess|{{{slice}}}|damage}}]]/4) | [[slice damage is::{{{slice}}}]] ([[slice damage is number::{{GearProcess|{{{slice}}}|damage}}]]/28) }} | [[missing::Infobox entry for slice damage|''Unknown'']] }}{{ |
||
⚫ | |||
#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:''' {{!}}{{!}} {{ |
|||
⚫ | #if: {{{impact|}}} | {{#switch: {{{brawl}}} | y|yes= [[impact damage is::{{{impact}}}]] ([[impact damage is number::{{GearProcess|{{{impact}}}|damage}}]]/4) | [[impact damage is::{{{impact}}}]] ([[impact damage is number::{{GearProcess|{{{impact}}}|damage}}]]/28) }} | [[missing::Infobox entry on impact damage|''Unknown'']] }}{{ |
||
⚫ | |||
#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) }} |
|||
|- |
|- |
||
{{#if: {{{fire|}}} | |
|||
⚫ | |||
{{!}} '''Fire:''' {{!}}{{!}} {{ |
|||
#if: {{{fire|}}} | [[fire damage is::{{{fire}}}]] ([[fire damage is number::{{GearProcess|{{{fire}}}|damage}}]]/28) | [[missing::Infobox entry for fire damage|''Unknown'']] }} |
|||
{{ |
|||
#switch: {{{span}}} | 2|3={{!}}{{!}}{{#if: {{{fire2|}}} | [[fire damage is::{{{fire2}}}]] ([[fire damage is number::{{GearProcess|{{{fire2}}}|damage}}]]/28) | [[missing::Infobox entry for fire damage2|''Unknown'']] | }} }} |
|||
{{ |
|||
#switch: {{{span}}} | 3={{!}}{{!}}{{#if: {{{fire3|}}} | [[fire damage is::{{{fire3}}}]] ([[fire damage is number::{{GearProcess|{{{fire3}}}|damage}}]]/28) | [[missing::Infobox entry for fire damage3|''Unknown'']] | }} }} |
|||
| }} |
|||
|- |
|- |
||
{{#if: {{{cold|}}} | |
|||
⚫ | |||
{{!}} '''Cold:''' {{!}}{{!}} {{ |
|||
#if: {{{cold|}}} | [[cold damage is::{{{cold}}}]] ([[cold damage is number::{{GearProcess|{{{cold}}}|damage}}]]/28) | [[missing::Infobox entry for cold damage|''Unknown'']] }} |
|||
{{ |
|||
#switch: {{{span}}} | 2|3={{!}}{{!}}{{#if: {{{cold2|}}} | [[cold damage is::{{{cold2}}}]] ([[cold damage is number::{{GearProcess|{{{cold2}}}|damage}}]]/28) | [[missing::Infobox entry for cold damage2|''Unknown'']] | }} }} |
|||
{{ |
|||
#switch: {{{span}}} | 3={{!}}{{!}}{{#if: {{{cold3|}}} | [[cold damage is::{{{cold3}}}]] ([[cold damage is number::{{GearProcess|{{{cold3}}}|damage}}]]/28) | [[missing::Infobox entry for cold damage3|''Unknown'']] | }} }} |
|||
| }} |
|||
|- |
|||
{{#if: {{{electric|}}} | |
|||
{{!}} '''Electric:''' {{!}}{{!}} {{ |
|||
#if: {{{electric|}}} | [[electric damage is::{{{electric}}}]] ([[electric damage is number::{{GearProcess|{{{electric}}}|damage}}]]/28) | [[missing::Infobox entry for electric damage|''Unknown'']] }} |
|||
{{ |
|||
#switch: {{{span}}} | 2|3={{!}}{{!}}{{#if: {{{electric2|}}} | [[electric damage is::{{{electric2}}}]] ([[electric damage is number::{{GearProcess|{{{electric2}}}|damage}}]]/28) | [[missing::Infobox entry for electric damage2|''Unknown'']] | }} }} |
|||
{{ |
|||
#switch: {{{span}}} | 3={{!}}{{!}}{{#if: {{{electric3|}}} | [[electric damage is::{{{electric3}}}]] ([[electric damage is number::{{GearProcess|{{{electric3}}}|damage}}]]/28) | [[missing::Infobox entry for electric damage3|''Unknown'']] | }} }} |
|||
| }} |
|||
|- |
|||
{{#switch: {{lc: {{{brawl}}} }} | y|yes= | {{#switch: {{lc: {{{foi}}} }} | n | -= | | {{!}} '''Force of Impact:''' {{!}}{{!}} {{ |
|||
#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|}}} | [[foi is::{{{foi2}}}]] ([[foi is number::{{GearProcess|{{{foi2}}}|foi}}]]/17) | [[missing::Infobox entry for force of impact2|''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: {{{type}}} }} |feet|hands|elbows|knees= | {{#switch: {{lc: {{{balance}}} }} | n | -= | {{!}} '''Balance:''' {{!}}{{!}} {{ |
|||
#if: {{{balance|}}} | [[balance is::{{{balance}}}]] ([[balance is number::{{GearProcess|{{{balance}}}|balance}}]]/17) | [[missing::Infobox entry for balance|''Unknown'']] }}{{ |
|||
⚫ | |||
⚫ | |||
|- |
|||
{{#switch: {{lc: {{{type}}} }} |feet|hands|elbows|knees= | {{#switch: {{lc: {{{balance}}} }} | n | -= | | {{!}} '''Suitedness:''' {{!}}{{!}} {{ |
|||
#if: {{{suitedness|}}} | [[suitedness is::{{{suitedness}}}]] ([[suitedness is number::{{GearProcess|{{{suitedness}}}|suitedness}}]]/17) | [[missing::Infobox entry on suitedness|''Unknown'']] }}{{ |
|||
⚫ | |||
⚫ | |||
|- |
|||
| '''Construction:''' || colspan="{{{span}}}"{{!}}[[construction is::{{{construction}}}]] ([[construction is number::{{GearProcess|{{{construction}}}|construction}}]]/18) |
|||
|- |
|||
⚫ | |||
|- |
|||
⚫ | |||
</includeonly><noinclude>A plug in for [[Template:Weapon|Weapon template]].{{cat|templates,Templates for Templates}}</noinclude> |
</includeonly><noinclude>A plug in for [[Template:Weapon|Weapon template]].{{cat|templates,Templates for Templates}}</noinclude> |
Latest revision as of 19:36, 8 August 2023
A plug in for Weapon template.