Template:WeaponProperties: Difference between revisions
Jump to navigation
Jump to search
(further test steps) |
(further steps) |
||
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= | {{!}} '''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'']]}} }} }} |
||
|- |
|- |
||
{{#ifeq: {{lc: {{{range|}}} }} | ranged | {{!}} '''Ammo:''' {{!}}{{!}} {{#if: {{{ammocap|}}} | [[ammo capacity of::{{{ammocap}}}]] | [[missing::Infobox entry on ammo capacity|''Unknown amount 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|}}}{{{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 amount 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'']]}} |
| '''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'']]}} |
||
Line 22: | Line 22: | ||
{{#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|}}} | |
#If: {{{balance2|}}} | {{!}}{{!}} {{WeaponProcess| {{{balance2}}} | balance is }} | {{#if: {{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{suitedness2|}}} | [[missing::Infobox entry for balance2 | ]] | }} }}{{ |
||
#If: {{{balance3|}}} | |
#If: {{{balance3|}}} | {{!}}{{!}} {{WeaponProcess| {{{balance3}}} | balance is }} | {{#if: {{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{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|}}} | |
#If: {{{suitedness2|}}} | {{!}}{{!}} {{WeaponProcess| {{{suitedness2}}} | suitedness is }} | {{#if: {{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}} | [[missing::Infobox entry for suitedness2| ]] | }} }}{{ |
||
#If: {{{suitedness3|}}} | |
#If: {{{suitedness3|}}} | {{!}}{{!}} {{WeaponProcess| {{{suitedness3}}} | suitedness is }} | {{#if: {{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}} | [[missing::Infobox entry for suitedness3| ]] | }} }} }} }} |
||
|- |
|- |
||
| '''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'']]}} |
| '''Construction:''' || {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="3"{{!}} | colspan="2" {{!}} }} }}{{#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'']]}} |
||
|- |
|- |
||
| '''Metal:''' || {{#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|}}}{{{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'']]}} |
||
|- |
|- |
||
| '''Weight:''' || {{#if: {{{weight|}}} | [[weight of::{{{weight}}}]] stones | [[missing::Infobox entry for weight|''Unknown'']]}} |
| '''Weight:''' || {{#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitability2|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitability3|}}} | colspan="3"{{!}} | colspan="2" {{!}} }} }}{{#if: {{{weight|}}} | [[weight of::{{{weight}}}]] 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 22:20, 8 February 2009
A plug in for Weapon template.