Template:WeaponProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(easier formatting, missing tag for incomplete, and bugfixes)
(test for better presentation)
Line 1: Line 1:
<includeonly>| '''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|}}} | &#32;\ &#32; [[is combat type::{{SkillCode| {{{type2}}} }}]]}}{{#If: {{{type3|}}} | &#32;\ &#32; [[is combat type::{{SkillCode| {{{type3}}} }}]]}} }} }} | [[missing::Infobox entry for weapon type|''Unknown'']]}}
<includeonly>{{#switch: {{{brawl}}} | y|yes= | {{#switch: {{{type}}} | bolt|arrow|rock= | {{!}} '''Range:''' {{!}}{{!}}{{#if: {{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitedness2|}}}| {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitedness3|}}}| 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'']]}} }} }}
|-
|-
{{#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'']]}} }} }}
{{#ifeq: {{lc: {{{range|}}} }} | ranged | {{!}} '''Ammo:''' {{!}}{{!}}{{#if: {{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitedness2|}}}| {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitedness3|}}}| 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). | }}
|-
|-
{{#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). | }}
|'''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|}}}{{{balance2|}}}{{{suitedness2|}}}| {{!}}{{!}}| &#32;\ &#32;}} [[is combat type::{{SkillCode| {{{type2}}} }}]]}}{{#If: {{{type3|}}} | {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitedness3|}}}| {{!}}{{!}}| &#32;\ &#32;}} [[is combat type::{{SkillCode| {{{type3}}} }}]]}} }} }} | [[missing::Infobox entry for weapon type|''Unknown'']]}}
|-
|-
{{#switch: {{lc: {{{puncture}}} }} | n | -= | {{!}} '''Damage:''' {{!}}{{!}} {{
{{#switch: {{lc: {{{puncture}}} }} | n | -= | {{!}} '''Damage:''' {{!}}{{!}} {{
#if: {{{puncture|}}} | {{#switch: {{lc: {{{puncturetype}}} }} | i|y|yes= {{{puncture}}} | {{WeaponProcess| {{{puncture}}} | puncture damage is }} }} | [[missing::Infobox entry for puncture damage|''Unknown'']]}}{{
#if: {{{puncture|}}} | {{#switch: {{lc: {{{puncturetype}}} }} | i|y|yes= {{{puncture}}} | {{WeaponProcess| {{{puncture}}} | puncture damage is }} }} | [[missing::Infobox entry for puncture damage|''Unknown'']]}}{{
#If: {{{puncture2|}}} | &#32;\ {{WeaponProcess| {{{puncture2}}} | puncture damage is }} | {{#if: {{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitedness2|}}} | [[missing::Infobox entry for puncture damage2| ]] | }} }}{{
#if:{{{puncture2|}}}{{{slice2|}}}{{{impact2|}}}{{{balance2|}}}{{{suitedness2|}}}| {{!}}{{!}}{{
#If: {{{puncture3|}}} | &#32;\ {{WeaponProcess| {{{puncture}}} | puncture damage is }} | {{#if: {{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitedness3|}}} | [[missing::Infobox entry for puncture damage3| ]] | }} }} puncture damage{{
#If: {{{puncture2|}}} | {{WeaponProcess| {{{puncture2}}} | puncture damage is }} }} | [[missing::Infobox entry for puncture damage2| ]] }}{{
#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitedness3|}}}| {{!}}{{!}}{{
#If: {{{puncture3|}}} | {{WeaponProcess| {{{puncture3}}} | puncture damage is }} }} | [[missing::Infobox entry for puncture damage3| ]] }} puncture damage{{
#switch: {{lc: {{{puncturetype}}} }} |i|y|yes= &#32;increase}} <br />{{
#switch: {{lc: {{{puncturetype}}} }} |i|y|yes= &#32;increase}} <br />{{
#if: {{{slice|}}} | {{#switch: {{lc: {{{slicetype}}} }} |i|y|yes= {{{slice}}} | {{WeaponProcess| {{{slice}}} | slice damage is }} }} | [[missing::Infobox entry for slice damage|''Unknown'']] }}{{
#if: {{{slice|}}} | {{#switch: {{lc: {{{slicetype}}} }} |i|y|yes= {{{slice}}} | {{WeaponProcess| {{{slice}}} | slice damage is }} }} | [[missing::Infobox entry for slice damage|''Unknown'']] }}{{
Line 29: Line 31:
#If: {{{suitedness3|}}} | &#32;\ {{WeaponProcess| {{{suitedness3}}} | suitedness is }} | {{#if: {{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}} | [[missing::Infobox entry for suitedness3| ]] | }} }} }} }}
#If: {{{suitedness3|}}} | &#32;\ {{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|}}}{{{suitedness2|}}}| {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitedness3|}}}| 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|}}}{{{suitedness2|}}}| {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitedness3|}}}| 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|}}}{{{suitedness2|}}}| {{#if:{{{puncture3|}}}{{{slice3|}}}{{{impact3|}}}{{{balance3|}}}{{{suitedness3|}}}| 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 23:01, 8 February 2009

A plug in for Weapon template.