Template:Item template: Difference between revisions

From WeAreDragons
No edit summary
No edit summary
Line 1: Line 1:


{| border="1" cellpadding="1" cellspacing="1" class="wikitable" style="width: 500px;"
<table border="1" cellpadding="1" cellspacing="1" class="wikitable" style="width: 500px;">
|-
<tr>
! 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}}}}})
<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}}}}})
}}.<br/> {{#if:{{{weight|}}}|It weighs {{{weight}}} oz.}}{{#if:{{{description|}}}|{{{description}}}}}</div> <!--
}}.<br/> {{#if:{{{weight|}}}|It weighs {{{weight}}} oz.}}{{#if:{{{description|}}}|{{{description}}}}}</th></tr></div>  
-->{{ #if:{{{arm|}}}|{{!}}-<!--
 
-->! scope="row" {{!}} Armor<!--
{{ #if:{{{arm|}}}|<tr>
-->{{!}} {{{arm}}}}}<!--
<th> scope="row" {{!}} Armor </th>
-->{{#if:{{{atk|}}}|{{!}}-<!--
<td> {{{arm}}}</td>}}
-->! scope="row" {{!}} Attack<!--
{{#if:{{{atk|}}}|{{!}}-
-->{{!}} {{{atk}}}}}<!--
! scope="row" {{!}} Attack
-->{{#if:{{{hitperc|}}}|{{!}}-<!--
{{!}} {{{atk}}}}}
-->! scope="row" {{!}} Hit%<!--
{{#if:{{{hitperc|}}}|{{!}}-
-->{{!}} +{{{hitperc}}}%}}<!--
! scope="row" {{!}} Hit%
-->{{#if:{{{def|}}}|{{!}}-<!--
{{!}} +{{{hitperc}}}%}}
-->! scope="row" {{!}} Defence<!--
{{#if:{{{def|}}}|{{!}}-
-->}}}}}<!--
! scope="row" {{!}} Defence
-->{{#if:{{{hands|}}}|{{!}}-<!--
{{!}} {{{def}}}}}
-->! scope="row" {{!}} Hands<!--
{{#if:{{{hands|}}}|{{!}}-
-->{{!}} {{#ifeq: {{{hands}}}|1|One-handed.}}{{#ifeq: {{{hands}}}|2|Two-handed.}} }}<!--
! scope="row" {{!}} Hands
-->{{#if:{{{magiclvl|}}}|{{!}}-<!--
{{!}} {{#ifeq: {{{hands}}}|1|One-handed.}}{{#ifeq: {{{hands}}}|2|Two-handed.}} }}
-->! scope="row" {{!}} Magic LVL<!--
{{#if:{{{magiclvl|}}}|{{!}}-
-->{{!}} +{{{magiclvl}}}&nbsp;mlvl}}<!--
! scope="row" {{!}} Magic LVL
-->{{#if:{{{physical|{{{energy|{{{earth|{{{fire|}}}}}}}}}}}}|{{!}}-<!--
{{!}} +{{{magiclvl}}}&nbsp;mlvl}}
-->! scope="row" {{!}} Procections<!--
{{#if:{{{physical|{{{energy|{{{earth|{{{fire|}}}}}}}}}}}}|{{!}}-
-->{{!}} {{#if:{{{physical|}}}|Physical: +{{{physical}}}%}}{{#if:{{{energy|}}}|<br/>Energy: +{{{energy}}}%}}{{#if:{{{earth|}}}|<br/>Earth: +{{{earth}}}% }}{{#if:{{{fire|}}}|<br/>Fire: +{{{fire}}}%}}}}<!--
! scope="row" {{!}} Procections
-->{{#if:{{{atkspeed|}}}|{{!}}-<!--
{{!}} {{#if:{{{physical|}}}|Physical: +{{{physical}}}%}}{{#if:{{{energy|}}}|<br/>Energy: +{{{energy}}}%}}{{#if:{{{earth|}}}|<br/>Earth: +{{{earth}}}% }}{{#if:{{{fire|}}}|<br/>Fire: +{{{fire}}}%}}}}
-->! scope="row" {{!}} Attack speed<!--
{{#if:{{{atkspeed|}}}|{{!}}-
-->{{!}} {{{atkspeed}}}}}<!--
! scope="row" {{!}} Attack speed
-->{{#if:{{{lifesteal|}}}|{{!}}-<!--
{{!}} {{{atkspeed}}}}}
-->! scope="row" {{!}} Lifesteal<!--
{{#if:{{{lifesteal|}}}|{{!}}-
-->{{!}} {{{lifesteal}}}}}<!--
! scope="row" {{!}} Lifesteal
-->{{#if:{{{heal|}}}|{{!}}-<!--
{{!}} {{{lifesteal}}}}}
-->! scope="row" {{!}} Heal power<!--
{{#if:{{{heal|}}}|{{!}}-
-->{{!}} {{{heal}}}}}<!--
! scope="row" {{!}} Heal power
-->{{#if:{{{magicdmg|}}}|{{!}}-<!--
{{!}} {{{heal}}}}}
-->! scope="row" {{!}} Magic damage<!--
{{#if:{{{magicdmg|}}}|{{!}}-
-->{{!}} {{{magicdmg}}}}}<!--
! scope="row" {{!}} Magic damage
-->{{#if:{{{weight|}}}|{{!}}-<!--
{{!}} {{{magicdmg}}}}}
-->="row" {{!}} Weight<!--
{{#if:{{{weight|}}}|{{!}}-
-->{{!}} {{{weight}}}}}<!--
! scope="row" {{!}} Weight
-->{{#if:{{{description|}}}|{{!}}-<!--
{{!}} {{{weight}}}}}
-->! scope="row" {{!}} Description<!--
{{#if:{{{description|}}}|{{!}}-
-->{{!}} {{{description}}}}}<!--
! scope="row" {{!}} Description
-->{{#if:{{{loot_value|}}}|{{!}}-<!--
{{!}} {{{description}}}}}
-->! scope="row" {{!}} Loot value<!--
{{#if:{{{loot_value|}}}|{{!}}-
-->{{!}} {{{loot_value}}}}}<!--
! scope="row" {{!}} Loot value
-->{{#if:{{{droppedby|}}}|{{!}}-<!--
{{!}} {{{loot_value}}}}}
-->! scope="row" {{!}} Dropped by<!--
{{#if:{{{droppedby|}}}|{{!}}-
-->{{!}} {{{droppedby}}}}}<!--
! scope="row" {{!}} Dropped by
-->{{#if:{{{buy_from|}}}|{{!}}-<!--
{{!}} {{{droppedby}}}}}
-->! scope="row" {{!}} Buy from<!--
{{#if:{{{buy_from|}}}|{{!}}-
-->{{!}} {{{buy_from}}}}}<!--
! scope="row" {{!}} Buy from
-->{{#if:{{{sell_to|}}}|{{!}}-<!--
{{!}} {{{buy_from}}}}}
-->! scope="row" {{!}} Sell to<!--
{{#if:{{{sell_to|}}}|{{!}}-
-->{{!}} {{{sell_to}}}}}<!--
! scope="row" {{!}} Sell to
-->:{{{note|}}}|{{!}}-<!--
{{!}} {{{sell_to}}}}}
-->! scope="row" {{!}} Note<!--
{{#if:{{{note|}}}|{{!}}-
-->{{!}} {{{note}}}}}<!--
! scope="row" {{!}} Note
-->|}
{{!}} {{{note}}}}}
</table>

Revision as of 23:26, 24 January 2020










scope="row" style="width: 100px; height: 50px;" | scope="col" |
You see a {{{name}}} .