Template:Item template: Difference between revisions
From WeAreDragons
Wearetibia (talk | contribs) No edit summary |
Wearetibia (talk | contribs) 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}}}, }}{{#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}}}}}</th></div> | |||
{{ #if:{{{arm|}}}| | {{ #if:{{{arm|}}}| | ||
<tr> | <tr> | ||
<th scope="row"> Armor </th> | <th scope="row"> Armor </th> | ||
<td> {{{arm}}} </td></tr>}} {{#if:{{{atk|}}}| | <td> {{{arm}}} </td></tr>}} | ||
{{#if:{{{atk|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Attack </th> | <th scope="row"> Attack </th> | ||
<td> {{{atk}}}</td></tr>}} {{#if:{{{hitperc|}}}| | <td> {{{atk}}}</td></tr>}} | ||
{{#if:{{{hitperc|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Hit%</th> | <th scope="row"> Hit%</th> | ||
<td> +{{{hitperc}}}%</td></tr>}} {{#if:{{{def|}}}| | <td> +{{{hitperc}}}%</td></tr>}} | ||
{{#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> {{#ifeq: {{{hands}}}|1|One-handed.}}{{#ifeq: {{{hands}}}|2|Two-handed.}}</td></tr>}} | ||
{{#if:{{{magiclvl|}}}| | {{#if:{{{magiclvl|}}}| | ||
<tr> | <tr> | ||
<th scope="row"> Magic LVL</th> | <th scope="row"> Magic LVL</th> | ||
<td> +{{{magiclvl}}} mlvl</td></tr>}} {{#if:{{{physical|{{{energy|{{{earth|{{{fire|}}}}}}}}}}}}| | <td> +{{{magiclvl}}} mlvl</td></tr>}} | ||
{{#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>}} {{#if:{{{atkspeed|}}}| | <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> | <tr> | ||
<th scope="row"> Attack speed</th> | <th scope="row"> Attack speed</th> | ||
<td> {{{atkspeed}}}</td></tr>}} {{#if:{{{lifesteal|}}}| | <td> {{{atkspeed}}}</td></tr>}} | ||
{{#if:{{{lifesteal|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Lifesteal</th> | <th scope="row"> Lifesteal</th> | ||
<td> {{{lifesteal}}}</td></tr>}} {{#if:{{{heal|}}}| | <td> {{{lifesteal}}}</td></tr>}} | ||
{{#if:{{{heal|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Heal power</th> | <th scope="row"> Heal power</th> | ||
<td> {{{heal}}}</td></tr>}} {{#if:{{{magicdmg|}}}| | <td> {{{heal}}}</td></tr>}} | ||
{{#if:{{{magicdmg|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Magic damage</th> | <th scope="row"> Magic damage</th> | ||
<td> {{{magicdmg}}}</td></tr>}} {{#if:{{{weight|}}}| | <td> {{{magicdmg}}}</td></tr>}} | ||
{{#if:{{{weight|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Weight</th> | <th scope="row"> Weight</th> | ||
<td> {{{weight}}}</td></tr>}} {{#if:{{{description|}}}| | <td> {{{weight}}}</td></tr>}} | ||
{{#if:{{{description|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Description</th> | <th scope="row"> Description</th> | ||
<td> {{{description}}}</td></tr>}} {{#if:{{{loot_value|}}}| | <td> {{{description}}}</td></tr>}} | ||
{{#if:{{{loot_value|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Loot value</th> | <th scope="row"> Loot value</th> | ||
<td> {{{loot_value}}}</td></tr>}} {{#if:{{{droppedby|}}}| | <td> {{{loot_value}}}</td></tr>}} | ||
{{#if:{{{droppedby|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Dropped by</th> | <th scope="row"> Dropped by</th> | ||
<td> {{{droppedby}}}</td></tr>}} {{#if:{{{buy_from|}}}| | <td> {{{droppedby}}}</td></tr>}} | ||
{{#if:{{{buy_from|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Buy from</th> | <th scope="row"> Buy from</th> | ||
<td> {{{buy_from}}}</td></tr>}} {{#if:{{{sell_to|}}}| | <td> {{{buy_from}}}</td></tr>}} | ||
{{#if:{{{sell_to|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Sell to</th> | <th scope="row"> Sell to</th> | ||
<td> {{{sell_to}}}</td></tr>}} {{#if:{{{note|}}}| | <td> {{{sell_to}}}</td></tr>}} | ||
{{#if:{{{note|}}}| | |||
<tr> | <tr> | ||
<th scope="row"> Note</th> | <th scope="row"> Note</th> | ||
<td> {{{note}}}</td></tr>}} | <td> {{{note}}}</td></tr>}} | ||
</table> | |||
Revision as of 00:17, 25 January 2020
You see a You see a {{{name}}}
. |
---|