Template:Item template: Difference between revisions

From WeAreDragons
No edit summary
No edit summary
Line 7: Line 7:
{{ #if:{{{arm|}}}|{{!}}-
{{ #if:{{{arm|}}}|{{!}}-
! scope="row" {{!}} Armor
! scope="row" {{!}} Armor
{{!}} {{{arm}}}}}
{{!}} {{{arm}}}}} {{#if:{{{atk|}}}|{{!}}-
{{#if:{{{atk|}}}|{{!}}-
! scope="row" {{!}} Attack
! scope="row" {{!}} Attack
{{!}} {{{atk}}}}}
{{!}} {{{atk}}}}} {{#if:{{{hitperc|}}}|{{!}}-
{{#if:{{{hitperc|}}}|{{!}}-
! scope="row" {{!}} Hit%
! scope="row" {{!}} Hit%
{{!}} +{{{hitperc}}}%}}
{{!}} +{{{hitperc}}}%}} {{#if:{{{def|}}}|{{!}}-
{{#if:{{{def|}}}|{{!}}-
! scope="row" {{!}} Defence
! scope="row" {{!}} Defence
{{!}} {{{def}}}}}
{{!}} {{{def}}}}} {{#if:{{{hands|}}}|{{!}}-
{{#if:{{{hands|}}}|{{!}}-
! scope="row" {{!}} Hands
! scope="row" {{!}} Hands
{{!}} {{#ifeq: {{{hands}}}|1|One-handed.}}{{#ifeq: {{{hands}}}|2|Two-handed.}} }}
{{!}} {{#ifeq: {{{hands}}}|1|One-handed.}}{{#ifeq: {{{hands}}}|2|Two-handed.}} }} {{#if:{{{magiclvl|}}}|{{!}}-
{{#if:{{{magiclvl|}}}|{{!}}-
! scope="row" {{!}} Magic LVL
! scope="row" {{!}} Magic LVL
{{!}} +{{{magiclvl}}} mlvl}}
{{!}} +{{{magiclvl}}} mlvl}} {{#if:{{{physical|{{{energy|{{{earth|{{{fire|}}}}}}}}}}}}|{{!}}-
{{#if:{{{physical|{{{energy|{{{earth|{{{fire|}}}}}}}}}}}}|{{!}}-
! scope="row" {{!}} Procections
! scope="row" {{!}} Procections
{{!}} {{#if:{{{physical|}}}|Physical: +{{{physical}}}%}}{{#if:{{{energy|}}}|<br/>Energy: +{{{energy}}}%}}{{#if:{{{earth|}}}|<br/>Earth: +{{{earth}}}% }}{{#if:{{{fire|}}}|<br/>Fire: +{{{fire}}}%}}}}
{{!}} {{#if:{{{physical|}}}|Physical: +{{{physical}}}%}}{{#if:{{{energy|}}}|<br/>Energy: +{{{energy}}}%}}{{#if:{{{earth|}}}|<br/>Earth: +{{{earth}}}% }}{{#if:{{{fire|}}}|<br/>Fire: +{{{fire}}}%}}}} {{#if:{{{atkspeed|}}}|{{!}}-
{{#if:{{{atkspeed|}}}|{{!}}-
! scope="row" {{!}} Attack speed
! scope="row" {{!}} Attack speed
{{!}} {{{atkspeed}}}}}
{{!}} {{{atkspeed}}}}} {{#if:{{{lifesteal|}}}|{{!}}-
{{#if:{{{lifesteal|}}}|{{!}}-
! scope="row" {{!}} Lifesteal
! scope="row" {{!}} Lifesteal
{{!}} {{{lifesteal}}}}}
{{!}} {{{lifesteal}}}}} {{#if:{{{heal|}}}|{{!}}-
{{#if:{{{heal|}}}|{{!}}-
! scope="row" {{!}} Heal power
! scope="row" {{!}} Heal power
{{!}} {{{heal}}}}}
{{!}} {{{heal}}}}} {{#if:{{{magicdmg|}}}|{{!}}-
{{#if:{{{magicdmg|}}}|{{!}}-
! scope="row" {{!}} Magic damage
! scope="row" {{!}} Magic damage
{{!}} {{{magicdmg}}}}}
{{!}} {{{magicdmg}}}}} {{#if:{{{weight|}}}|{{!}}-
{{#if:{{{weight|}}}|{{!}}-
! scope="row" {{!}} Weight
! scope="row" {{!}} Weight
{{!}} {{{weight}}}}}
{{!}} {{{weight}}}}} {{#if:{{{description|}}}|{{!}}-
{{#if:{{{description|}}}|{{!}}-
! scope="row" {{!}} Description
! scope="row" {{!}} Description
{{!}} {{{description}}}}}
{{!}} {{{description}}}}} {{#if:{{{loot_value|}}}|{{!}}-
{{#if:{{{loot_value|}}}|{{!}}-
! scope="row" {{!}} Loot value
! scope="row" {{!}} Loot value
{{!}} {{{loot_value}}}}}
{{!}} {{{loot_value}}}}} {{#if:{{{droppedby|}}}|{{!}}-
{{#if:{{{droppedby|}}}|{{!}}-
! scope="row" {{!}} Dropped by
! scope="row" {{!}} Dropped by
{{!}} {{{droppedby}}}}}
{{!}} {{{droppedby}}}}} {{#if:{{{buy_from|}}}|{{!}}-
{{#if:{{{buy_from|}}}|{{!}}-
! scope="row" {{!}} Buy from
! scope="row" {{!}} Buy from
{{!}} {{{buy_from}}}}}
{{!}} {{{buy_from}}}}} {{#if:{{{sell_to|}}}|{{!}}-
{{#if:{{{sell_to|}}}|{{!}}-
! scope="row" {{!}} Sell to
! scope="row" {{!}} Sell to
{{!}} {{{sell_to}}}}}
{{!}} {{{sell_to}}}}} {{#if:{{{note|}}}|{{!}}-
{{#if:{{{note|}}}|{{!}}-
! scope="row" {{!}} Note
! scope="row" {{!}} Note
{{!}} {{{note}}}}}
{{!}} {{{note}}}}}
|}
|}

Revision as of 22:21, 24 January 2020

You see a {{{name}}} .