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;" | {{{image|}}} </th>
! 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}}}}})
! 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}}}}})
}}.<br/> {{#if:{{{weight|}}}|It weighs {{{weight}}} oz.}}{{#if:{{{description|}}}|{{{description}}}}}</th></tr></div>  
}}.<br/> {{#if:{{{weight|}}}|It weighs {{{weight}}} oz.}}{{#if:{{{description|}}}|{{{description}}}}}</div>  
 
{{ #if:{{{arm|}}}|{{!}}-
{{ #if:{{{arm|}}}|<tr>
! {{!}} Armor
<th> scope="row" {{!}} Armor </th>
{{!}} {{{arm}}}}} {{#if:{{{atk|}}}|{{!}}-
<td> {{{arm}}}</td>}}
{{#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}}}&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}}}}}
</table>
 
|}

Revision as of 23:27, 24 January 2020

You see a {{{name}}} .