Template:Item template: Difference between revisions

From WeAreDragons
No edit summary
No edit summary
Line 6: Line 6:
'''You see {{{article|a}}} <span style="text-transform:lowercase">{{{name}}}</span> {{#if:{{{range|{{{arm|{{{atk|{{{hitperc|{{{def|{{{hands|{{{magiclvl|{{{physical|{{{energy|{{{earth|{{{fire|{{{atkspeed|{{{lifesteal|{{{heal|{{{magicdmg|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}|({{#if: {{{range|}}}|Range: {{{range}}},}}{{#if: {{{arm|}}}|Arm: {{{arm}}},&nbsp;}}{{#if: {{{atk|}}}|Atk: {{{atk}}},&nbsp;}}{{#if: {{{hitperc|}}}|Hit% +{{{hitperc}}}%,}}{{#if: {{{def|}}}|Def: {{{def}}},&nbsp;}}{{#if: {{{hands|}}}|Hands: {{{hands}}},}}{{#if: {{{magiclvl|}}}|magic level +{{{magiclvl}}},}}{{#if: {{{physical|}}}|protection physical +{{{physical}}}%,}}{{#if: {{{energy|}}}|energy +{{{energy}}}%,}}{{#if: {{{fire|}}}|fire +{{{fire}}}%,}}{{#if: {{{atkspeed|}}}|atk speed: +{{{atkspeed}}}%,}}{{#if: {{{lifesteal|}}}|lifesteal +{{{lifesteal}}}%,}}{{#if: {{{heal|}}}|heal +{{{heal}}},}}{{#if: {{{magicdmg|}}}|magic +{{{magicdmg}}}}})
'''You see {{{article|a}}} <span style="text-transform:lowercase">{{{name}}}</span> {{#if:{{{range|{{{arm|{{{atk|{{{hitperc|{{{def|{{{hands|{{{magiclvl|{{{physical|{{{energy|{{{earth|{{{fire|{{{atkspeed|{{{lifesteal|{{{heal|{{{magicdmg|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}|({{#if: {{{range|}}}|Range: {{{range}}},}}{{#if: {{{arm|}}}|Arm: {{{arm}}},&nbsp;}}{{#if: {{{atk|}}}|Atk: {{{atk}}},&nbsp;}}{{#if: {{{hitperc|}}}|Hit% +{{{hitperc}}}%,}}{{#if: {{{def|}}}|Def: {{{def}}},&nbsp;}}{{#if: {{{hands|}}}|Hands: {{{hands}}},}}{{#if: {{{magiclvl|}}}|magic level +{{{magiclvl}}},}}{{#if: {{{physical|}}}|protection physical +{{{physical}}}%,}}{{#if: {{{energy|}}}|energy +{{{energy}}}%,}}{{#if: {{{fire|}}}|fire +{{{fire}}}%,}}{{#if: {{{atkspeed|}}}|atk speed: +{{{atkspeed}}}%,}}{{#if: {{{lifesteal|}}}|lifesteal +{{{lifesteal}}}%,}}{{#if: {{{heal|}}}|heal +{{{heal}}},}}{{#if: {{{magicdmg|}}}|magic +{{{magicdmg}}}}})
}}.'''<br/> {{#if:{{{weight|}}}|It weighs {{{weight}}} oz.}} {{#if:{{{description|}}}|{{{description}}}}}
}}.'''<br/> {{#if:{{{weight|}}}|It weighs {{{weight}}} oz.}} {{#if:{{{description|}}}|{{{description}}}}}
</div>
</div>  
{{ #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<!--
{{!}} {{{hands}}}}}
-->{{!}} {{{hands}}}}}
{{#if:{{{magiclvl|}}}|{{!}}-
{{#if:{{{magiclvl|}}}|{{!}}-
! scope="row" {{!}} Magic LVL
! scope="row" {{!}} Magic LVL<!--
{{!}} +{{{magiclvl}}}&nbsp;mlvl}}
-->{{!}} +{{{magiclvl}}}&nbsp;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 19:10, 24 January 2020

You see a {{{name}}} .