Template:WeaponProperties: Difference between revisions
Jump to navigation
Jump to search
(grammar (number = countable)) |
(update for FOI) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{brawl}}} | y|yes= | {{#switch: {{{type}}} | bolt|arrow|rock= | {{!}} '''Range:''' {{!}}{{!}} {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="3"{{!}} | colspan="2" {{!}} }} }}{{#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= | {{!}} '''Range:''' {{!}}{{!}} {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="3"{{!}} | colspan="2" {{!}} }} }}{{#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:{{{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 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:''' {{!}}{{!}} {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="3"{{!}} | colspan="2" {{!}} }} }}{{#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). | }} |
||
|- |
|- |
||
| '''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'']]}}{{#Ifeq:{{{range|}}}|ranged|{{#If:{{{rangedRT|}}}| ({{#expr:{{{rangedRT}}}-1}}/[[ranged RT is::{{{rangedRT}}}]] RT)| [[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=  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|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}} | {{!}}{{!}} |  \  }} [[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'']]}}{{#Ifeq:{{{range|}}}|ranged|{{#If:{{{rangedRT|}}}| ({{#expr:{{{rangedRT}}}-1}}/[[ranged RT is::{{{rangedRT}}}]] RT)| [[missing::Infobox entry on ranged roundtime| ]](Unknown RT)|}}}} |
||
|- |
|- |
||
{{#switch: {{lc: {{{puncture}}} }} | n | -= | {{!}} '''Puncture:''' {{!}}{{!}} {{ |
{{#switch: {{lc: {{{puncture}}} }} | n | -= | {{!}} '''Puncture:''' {{!}}{{!}} {{ |
||
#if: {{{puncture|}}} | {{#switch: {{{brawl}}} | 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|}}}{{{foi2|}}}{{{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| ]] | }} }} {{#switch:{{lc:{{{puncturetype}}}}} | i|y|yes=(increase) }} |
#If: {{{puncture3|}}} | {{!}}{{!}} {{WeaponProcess| {{{puncture}}} | puncture damage is}} | {{#if: {{{slice3|}}}{{{impact3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitedness3|}}} | [[missing::Infobox entry for puncture damage3| ]] | }} }} {{#switch:{{lc:{{{puncturetype}}}}} | i|y|yes=(increase) }} |
||
{{!}}- |
{{!}}- |
||
{{!}} '''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}}} | {{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|}}}{{{foi2|}}}{{{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| ]] | }} }} {{#switch:{{lc:{{{slicetype}}}}} | i|y|yes=(increase) }} |
#if: {{{slice3|}}} | {{!}}{{!}} {{WeaponProcess| {{{slice3}}} | slice damage is}} | {{#if: {{{puncture3|}}}{{{impact3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitedness3|}}} | [[missing::Infobox entry for slice damage3| ]] | }} }} {{#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}}} | {{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|}}}{{{foi2|}}}{{{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| ]] | }} }} }} {{#switch:{{lc:{{{impacttype}}}}} | i|y|yes=(increase) }} |
#if: {{{impact3|}}} | {{!}}{{!}} {{WeaponProcess| {{{impact3}}} | impact damage is }} | {{#if: {{{slice3|}}}{{{puncture3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitedness3|}}} | [[missing::Infobox entry for impact damage3| ]] | }} }} }} {{#switch:{{lc:{{{impacttype}}}}} | i|y|yes=(increase) }} |
||
|- |
|||
{{#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: {{{foi2|}}} | {{!}}{{!}} {{WeaponProcess| {{{foi2}}} | foi is}} | {{#if: {{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{foi2|}}}{{{balance2|}}}{{{suitedness2|}}} | [[missing::Infobox entry for force of impact2| ]] | }} }}{{ |
|||
#If: {{{suitedness3|}}} | {{!}}{{!}} {{WeaponProcess| {{{foi3}}} | foi is }} | {{#if: {{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitedness3|}}} | [[missing::Infobox entry for force of impact3| ]] | }} }} }} }} |
|||
|- |
|- |
||
{{#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|}}}{{{foi2|}}}{{{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|}}}{{{foi3|}}}{{{suitedness3|}}} | [[missing::Infobox entry for balance3| ]] | }} }} }} }} |
||
|- |
|- |
||
{{#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'']] }}{{ |
||
#If: {{{suitedness2|}}} | {{!}}{{!}} {{WeaponProcess| {{{suitedness2}}} | suitedness is}} | {{#if: {{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}} | [[missing::Infobox entry for suitedness2| ]] | }} }}{{ |
#If: {{{suitedness2|}}} | {{!}}{{!}} {{WeaponProcess| {{{suitedness2}}} | suitedness is}} | {{#if: {{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{foi2|}}}{{{balance2|}}} | [[missing::Infobox entry for suitedness2| ]] | }} }}{{ |
||
#If: {{{suitedness3|}}} | {{!}}{{!}} {{WeaponProcess| {{{suitedness3}}} | suitedness is }} | {{#if: {{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}} | [[missing::Infobox entry for suitedness3| ]] | }} }} }} }} |
#If: {{{suitedness3|}}} | {{!}}{{!}} {{WeaponProcess| {{{suitedness3}}} | suitedness is }} | {{#if: {{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{foi3|}}}{{{balance3|}}} | [[missing::Infobox entry for suitedness3| ]] | }} }} }} }} |
||
|- |
|- |
||
| '''Construction:''' || {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="3"{{!}} | colspan="2" {{!}} }} }}{{ConstructionProcess|{{{construction}}}}} |
| '''Construction:''' || {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="3"{{!}} | colspan="2" {{!}} }} }}{{ConstructionProcess|{{{construction}}}}} |
||
|- |
|- |
||
| '''Metal:''' || {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="3"{{!}} | colspan="2" {{!}} }} }}{{#switch: {{lc: {{{metal|}}} }} | yes|y= [[is metal::true|Yes]] | no|n= [[is metal::false|No]] | [[missing::Infobox entry for metal|''Unknown'']]}} |
| '''Metal:''' || {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="3"{{!}} | colspan="2" {{!}} }} }}{{#switch: {{lc: {{{metal|}}} }} | yes|y= [[is metal::true|Yes]] | no|n= [[is metal::false|No]] | [[missing::Infobox entry for metal|''Unknown'']]}} |
||
|- |
|- |
||
{{!}} '''Weight:''' || {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="3"{{!}} | colspan="2" {{!}} }} }}{{#if: {{{weight|}}} | {{#arraymap:{{{weight}}}|,|x|[[weight of::x]]|, }} stones | [[missing::Infobox entry for weight|''Unknown'']]}} |
{{!}} '''Weight:''' || {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{foi2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{foi3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="3"{{!}} | colspan="2" {{!}} }} }}{{#if: {{{weight|}}} | {{#arraymap:{{{weight}}}|,|x|[[weight of::x]]|, }} stones | [[missing::Infobox entry for weight|''Unknown'']]}} |
||
</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> |
Revision as of 13:44, 20 January 2013
A plug in for Weapon template.