Template:Item template: Difference between revisions
From WeAreDragons
Wearetibia (talk | contribs) No edit summary |
Wearetibia (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{ #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> | <td> {{{atk}}}</td></tr>}} {{#if:{{{hitperc|}}}| | ||
{{#if:{{{hitperc|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Hit%</th> | <th scope="row"> Hit%</th> | ||
<td> | <td> +{{{hitperc}}}%</td></tr>}} {{#if:{{{def|}}}| | ||
{{#if:{{{def|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Defence</th> | <th scope="row"> Defence</th> | ||
<td> | <td> {{{def}}}</td></tr>}} | ||
{{#if:{{{hands|}}}| | {{#if:{{{hands|}}}| | ||
<tr> | <tr> | ||
<th scope="row"> Hands</th> | <th scope="row"> Hands</th> | ||
<td> | <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> | <td> +{{{magiclvl}}} 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> | <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> | <td> {{{atkspeed}}}</td></tr>}} {{#if:{{{lifesteal|}}}| | ||
{{#if:{{{lifesteal|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Lifesteal</th> | <th scope="row"> Lifesteal</th> | ||
<td> | <td> {{{lifesteal}}}</td></tr>}} {{#if:{{{heal|}}}| | ||
{{#if:{{{heal|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Heal power</th> | <th scope="row"> Heal power</th> | ||
<td> | <td> {{{heal}}}</td></tr>}} {{#if:{{{magicdmg|}}}| | ||
{{#if:{{{magicdmg|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Magic damage</th> | <th scope="row"> Magic damage</th> | ||
<td> | <td> {{{magicdmg}}}</td></tr>}} {{#if:{{{weight|}}}| | ||
{{#if:{{{weight|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Weight</th> | <th scope="row"> Weight</th> | ||
<td> | <td> {{{weight}}}</td></tr>}} {{#if:{{{description|}}}| | ||
{{#if:{{{description|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Description</th> | <th scope="row"> Description</th> | ||
<td> | <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> | <td> {{{loot_value}}}</td></tr>}} {{#if:{{{droppedby|}}}| | ||
{{#if:{{{droppedby|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Dropped by</th> | <th scope="row"> Dropped by</th> | ||
<td> | <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> | <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> | <td> {{{sell_to}}}</td></tr>}} {{#if:{{{note|}}}| | ||
{{#if:{{{note|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Note</th> | <th scope="row"> Note</th> | ||
<td> | <td> {{{note}}}</td></tr>}} | ||
</ | {| 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}}}, }}{{#if: {{{atk|}}}|Atk: {{{atk}}}, }}{{#if: {{{hitperc|}}}|Hit% +{{{hitperc}}}%,}}{{#if: {{{def|}}}|Def: {{{def}}}, }}{{#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}}} .
|
---|