Template:Item template: Difference between revisions

From WeAreDragons
No edit summary
No edit summary
Line 1: Line 1:
<table border="1" cellpadding="1" cellspacing="1" class="wikitable" style="width: 500px;">


{| border="1" cellpadding="1" cellspacing="1" class="wikitable" style="width: 500px;"
<tr>
|-
<th scope="row" style="width: 100px; height: 50px;">
! scope="row" style="width: 100px; height: 50px;" | {{{image|}}}
</th>
! scope="col" | <div style="font-family: Tahoma; font-size: 9pt; color: #00eb00; text-align: center; font-weight: bold; text-shadow: #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px;">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}}}}})
<th scope="col"> <div style="font-family: Tahoma; font-size: 9pt; color: #00eb00; text-align: center; font-weight: bold; text-shadow: #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px;">You see a <span style="text-transform:lowercase">{{{name}}}</span> .<br /> </div>
}}.<br/> {{#if:{{{weight|}}}|It weighs {{{weight}}} oz.}}{{#if:{{{description|}}}|{{{description}}}}}</div>  
<p><br />
{{ #if:{{{arm|}}}|{{!}}-
</p><p><br />
! scope="row" {{!}} Armor
</p><p><br />
{{!}} {{{arm}}}}}
</p><p><br />
{{#if:{{{atk|}}}|{{!}}-
</p><p><br />
! scope="row" {{!}} Attack
</p><p><br />
{{!}} {{{atk}}}}}
</p><p><br />
{{#if:{{{hitperc|}}}|{{!}}-
</p><p><br />
! scope="row" {{!}} Hit%
</p><p><br />
{{!}} +{{{hitperc}}}%}}
</p>
{{#if:{{{def|}}}|{{!}}-
</th></tr></table>
! scope="row" {{!}} Defence
{{!}} {{{def}}}}}
{{#if:{{{hands|}}}|{{!}}-
! scope="row" {{!}} Hands
{{!}} {{#ifeq: {{{hands}}}|1|One-handed.}}{{#ifeq: {{{hands}}}|2|Two-handed.}} }}
{{#if:{{{magiclvl|}}}|{{!}}-
! scope="row" {{!}} Magic LVL
{{!}} +{{{magiclvl}}}&nbsp;mlvl}}
{{#if:{{{physical|{{{energy|{{{earth|{{{fire|}}}}}}}}}}}}|{{!}}-
! scope="row" {{!}} Procections
{{!}} {{#if:{{{physical|}}}|Physical: +{{{physical}}}%}}{{#if:{{{energy|}}}|<br/>Energy: +{{{energy}}}%}}{{#if:{{{earth|}}}|<br/>Earth: +{{{earth}}}% }}{{#if:{{{fire|}}}|<br/>Fire: +{{{fire}}}%}}}}
{{#if:{{{atkspeed|}}}|{{!}}-
! scope="row" {{!}} Attack speed
{{!}} {{{atkspeed}}}}}
{{#if:{{{lifesteal|}}}|{{!}}-
! scope="row" {{!}} Lifesteal
{{!}} {{{lifesteal}}}}}
{{#if:{{{heal|}}}|{{!}}-
! scope="row" {{!}} Heal power
{{!}} {{{heal}}}}}
{{#if:{{{magicdmg|}}}|{{!}}-
! scope="row" {{!}} Magic damage
{{!}} {{{magicdmg}}}}}
{{#if:{{{weight|}}}|{{!}}-
! scope="row" {{!}} Weight
{{!}} {{{weight}}}}}
{{#if:{{{description|}}}|{{!}}-
! scope="row" {{!}} Description
{{!}} {{{description}}}}}
{{#if:{{{loot_value|}}}|{{!}}-
! scope="row" {{!}} Loot value
{{!}} {{{loot_value}}}}}
{{#if:{{{droppedby|}}}|{{!}}-
! scope="row" {{!}} Dropped by
{{!}} {{{droppedby}}}}}
{{#if:{{{buy_from|}}}|{{!}}-
! scope="row" {{!}} Buy from
{{!}} {{{buy_from}}}}}
{{#if:{{{sell_to|}}}|{{!}}-
! scope="row" {{!}} Sell to
{{!}} {{{sell_to}}}}}
{{#if:{{{note|}}}|{{!}}-
! scope="row" {{!}} Note
{{!}} {{{note}}}}}
|}

Revision as of 23:31, 24 January 2020

You see a {{{name}}} .