Difference between revisions of "Template:Loot InfoBox"

m
m
Line 32: Line 32:
 
|style="color:white;background-color: #345!important;"|{{#if: {{{feathers|}}} | {{#ifexpr: {{{feathers|}}} > 0 | <div style="transform: translate(0,4px);position: relative;left: -17px;">{{UO_Image|image|Feather|no}}</div> }} }}
 
|style="color:white;background-color: #345!important;"|{{#if: {{{feathers|}}} | {{#ifexpr: {{{feathers|}}} > 0 | <div style="transform: translate(0,4px);position: relative;left: -17px;">{{UO_Image|image|Feather|no}}</div> }} }}
 
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonBlood|}}} | {{#ifexpr: {{{dragonBlood|}}} > 0 | <div style="position: relative;left: -17px;">{{UO_Image|image|Dragon's Blood|no}}</div> }} }}
 
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonBlood|}}} | {{#ifexpr: {{{dragonBlood|}}} > 0 | <div style="position: relative;left: -17px;">{{UO_Image|image|Dragon's Blood|no}}</div> }} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleBlack|}}} | {{#ifexpr: {{{dragonScaleBlack|}}} > 0 | <div style="position: relative;left: -17px;">{{UO_Image|image|Black Dragon Scale|no}}</div>{{#vardefine:hasScales|0}} }} }}
+
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleBlack|}}} | {{#ifexpr: {{{dragonScaleBlack|}}} > 0 | <div style="position: relative;left: -17px;">{{UO_Image|image|Black Dragon Scale|no}}</div>{{#vardefine:hasScales|1}} }} }} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleBlue|}}} | {{#ifexpr: {{{dragonScaleBlue|}}} > 0 | <div style="position: relative;left: -17px;">{{UO_Image|image|Blue Dragon Scale|no}}</div>{{#vardefine:hasScales|0}} }} }}
+
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleBlue|}}} | {{#ifexpr: {{{dragonScaleBlue|}}} > 0 | <div style="position: relative;left: -17px;">{{UO_Image|image|Blue Dragon Scale|no}}</div>{{#vardefine:hasScales|{{#expr: {{#var:hasScales}} + 1 }}}} }} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleGreen|}}} | {{#ifexpr: {{{dragonScaleGreen|}}} > 0 | <div style="position: relative;left: -17px;">{{UO_Image|image|Green Dragon Scale|no}}</div>{{#vardefine:hasScales|0}} }} }}
+
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleGreen|}}} | {{#ifexpr: {{{dragonScaleGreen|}}} > 0 | <div style="position: relative;left: -17px;">{{UO_Image|image|Green Dragon Scale|no}}</div>{{#vardefine:hasScales|{{#expr: {{#var:hasScales}} + 1 }}}} }} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleRed|}}} | {{#ifexpr: {{{dragonScaleRed|}}} > 0 | <div style="position: relative;left: -17px;">{{UO_Image|image|Red Dragon Scale|no}}</div>{{#vardefine:hasScales|0}} }} }}
+
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleRed|}}} | {{#ifexpr: {{{dragonScaleRed|}}} > 0 | <div style="position: relative;left: -17px;">{{UO_Image|image|Red Dragon Scale|no}}</div>{{#vardefine:hasScales|{{#expr: {{#var:hasScales}} + 1 }}}} }} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleWhite|}}} | {{#ifexpr: {{{dragonScaleWhite|}}} > 0 | <div style="position: relative;left: -17px;">{{UO_Image|image|White Dragon Scale|no}}</div>{{#vardefine:hasScales|0}} }} }}
+
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleWhite|}}} | {{#ifexpr: {{{dragonScaleWhite|}}} > 0 | <div style="position: relative;left: -17px;">{{UO_Image|image|White Dragon Scale|no}}</div>{{#vardefine:hasScales|{{#expr: {{#var:hasScales}} + 1 }}}} }} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleYellow|}}} | {{#ifexpr: {{{dragonScaleYellow|}}} > 0 | <div style="position: relative;left: -17px;">{{UO_Image|image|Yellow Dragon Scale|no}}</div>{{#vardefine:hasScales|0}} }} }}
+
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleYellow|}}} | {{#ifexpr: {{{dragonScaleYellow|}}} > 0 | <div style="position: relative;left: -17px;">{{UO_Image|image|Yellow Dragon Scale|no}}</div>{{#vardefine:hasScales|{{#expr: {{#var:hasScales}} + 1 }}}} }} }}
 
|- style="border-bottom: 1px solid #999"
 
|- style="border-bottom: 1px solid #999"
 
|Elf/Gargoyle
 
|Elf/Gargoyle
Line 242: Line 242:
 
{{!}}colspan="21"{{!}}{{#arrayprint:carvedOther|<br/> }} }}
 
{{!}}colspan="21"{{!}}{{#arrayprint:carvedOther|<br/> }} }}
 
|- style="border-top: 1px solid #999"
 
|- style="border-top: 1px solid #999"
{{#ifeq: {{#var:hasScales}} | 1 |{{!}} colspan="21" {{!}} * Only 1 color of Dragon Scale will be given.}}
+
| colspan="21" |{{#expr: {{#var:hasScales}} > 1 | * Only 1 color of Dragon Scale will be given.}}
 
|}
 
|}

Revision as of 22:43, 22 June 2017

Loot
Gold unknown
Base Loot unknown
Special Loot unknown
...w/Harvester's unknown
Stealing unknown
Carving
Non-Felucca
}}
Elf/Gargoyle
...w/Harvester's
Human
...w/Harvester's
Felucca
Elf/Gargoyle
...w/Harvester's
Human
...w/Harvester's
0