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;">
 
<tr>
&nbsp;
<th scope="row" style="width: 100px; height: 50px;"> {{{image|}}}</th>
 
<th scope="col">
{| border="1" cellpadding="1" cellspacing="1" class="wikitable" style="width: 500px;"
<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">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="row" style="width: 100px; height: 50px;" | {{{image|}}}
}}.<br/> {{#if:{{{weight|}}}|It weighs {{{weight}}} oz.}}{{#if:{{{description|}}}|{{{description}}}}}</th></div>  
! 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">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}}}}})
{{ #if:{{{arm|}}}|
}}.<br/> {{#if:{{{weight|}}}|It weighs {{{weight}}} oz.}}{{#if:{{{description|}}}|{{{description}}}}}</span></div>  
<tr>
|}
<th scope="row"> Armor </th>
<td> {{{arm}}} </td></tr>}}
{{#if:{{{atk|}}}|
<tr>
<th scope="row"> Attack </th>
<td>  {{{atk}}}</td></tr>}}}
{{#if:{{{hitperc|}}}|
<tr>
<th scope="row"> Hit%</th>
<td>  +{{{hitperc}}}%</td></tr>}}}
{{#if:{{{def|}}}|
<tr>
<th scope="row"> Defence</th>
<td>  {{{def}}}</td></tr>}}}
{{#if:{{{hands|}}}|
<tr>
<th scope="row"> Hands</th>
<td>  {{#ifeq: {{{hands}}}|1|One-handed.}}{{#ifeq: {{{hands}}}|2|Two-handed.}} }}</td></tr>}
{{#if:{{{magiclvl|}}}|
<tr>
<th scope="row"> Magic LVL</th>
<td>  +{{{magiclvl}}}&nbsp;mlvl</td></tr>}}}
{{#if:{{{physical|{{{energy|{{{earth|{{{fire|}}}}}}}}}}}}|
<tr>
<th scope="row"> Procections</th>
<td>  {{#if:{{{physical|}}}|Physical: +{{{physical}}}%}}{{#if:{{{energy|}}}|<br/>Energy: +{{{energy}}}%}}{{#if:{{{earth|}}}|<br/>Earth: +{{{earth}}}% }}{{#if:{{{fire|}}}|<br/>Fire: +{{{fire}}}%}}</td></tr>}}}
{{#if:{{{atkspeed|}}}|
<tr>
<th scope="row"> Attack speed</th>
<td>  {{{atkspeed}}}</td></tr>}}}
{{#if:{{{lifesteal|}}}|
<tr>
<th scope="row"> Lifesteal</th>
<td>  {{{lifesteal}}}</td></tr>}}}
{{#if:{{{heal|}}}|
<tr>
<th scope="row"> Heal power</th>
<td>  {{{heal}}}</td></tr>}}}
{{#if:{{{magicdmg|}}}|
<tr>
<th scope="row"> Magic damage</th>
<td>  {{{magicdmg}}}</td></tr>}}}
{{#if:{{{weight|}}}|
<tr>
<th scope="row"> Weight</th>
<td>  {{{weight}}}</td></tr>}}}
{{#if:{{{description|}}}|
<tr>
<th scope="row"> Description</th>
<td>  {{{description}}}</td></tr>}}}
{{#if:{{{loot_value|}}}|
<tr>
<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:02, 25 January 2020

 

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