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

Revision as of 00:16, 25 January 2020


}}

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