Template:Item template: Difference between revisions

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

Revision as of 00:00, 25 January 2020

} } }

} } } } } } } } } } } } } }
You see a You see a {{{name}}} .