Difference between revisions of "Template:Loot InfoBox"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#vardefine:hasScales|0}}{{#arraydefine:lootArrayBase|{{{loot_base}}}}}{{#arraydefine:lootArraySpecial|{{{loot_special}}}}}{{#arraydefine:lootArrayCarved|{{{loot_carved}}}}}{{#arraydefine:carvedOther|{{{carvedOther}}}}}{{#arraydefine:lootArrayStealing|{{{loot_stealing}}}}}{{#arraysort:lootArrayBase|asc}}{{#arraysort:lootArraySpecial|asc}}{{#arraysort:lootArrayCarved|asc}}{{#arraysort:carvedOther|asc}}{{#arraysort:lootArrayStealing|asc}}{| class=infobox style="clear: right;" | + | {{#vardefine:hasScales|0}}{{#arraydefine:lootArrayBase|{{{loot_base}}}}}{{#arraydefine:lootArraySpecial|{{#replace:{{#replace:{{#replace:{{{loot_special}}}|1|①}}|2|②}}|3|③}} }}{{#arraydefine:lootArrayCarved|{{{loot_carved}}}}}{{#arraydefine:carvedOther|{{{carvedOther}}}}}{{#arraydefine:lootArrayStealing|{{{loot_stealing}}}}}{{#arraysort:lootArrayBase|asc}}{{#arraysort:lootArraySpecial|asc}}{{#arraysort:lootArrayCarved|asc}}{{#arraysort:carvedOther|asc}}{{#arraysort:lootArrayStealing|asc}}{| class=infobox style="clear: right;" |
|class=titlecell colspan="2"| <span class="translatable">Loot</span> | |class=titlecell colspan="2"| <span class="translatable">Loot</span> | ||
|- | |- | ||
Line 7: | Line 7: | ||
|- | |- | ||
| <span class="translatable">Special Loot</span> | | <span class="translatable">Special Loot</span> | ||
− | | style="white-space: nowrap;padding-right: 6px;" | {{#if:{{{loot_special|}}}|{{#arrayprint:lootArraySpecial|<br/> }}|<span class="translatable">unknown</span>{{Missing Info}}}} | + | | style="white-space: nowrap;padding-right: 6px;" | {{#if:{{{loot_special|}}}|{{#arrayprint:lootArraySpecial|<br/>|@@@@ |{{#vardefine:val|{{#replace:{{#replace:{{#replace:@@@@|①|1}}|②|2}}|③|3}} }}[[Category:UO Mobs that drop {{Trim|{{#ifexpr:{{IsNumber|{{#explode:{{#var:val}}| |0}}}}|{{Str right|{{#var:val}}|{{#pos:{{#var:val}}}}}}|{{#var:val}}}}|{{#var:val}}]] }}]][[UO:{{#ifexpr:{{IsNumber|{{#explode:{{#var:val}}| |0}}}}|{{Str right|{{#var:val}}|{{#pos:{{#var:val}}}}}}|{{#var:val}}}}|{{#var:val}}]] }}|<span class="translatable">unknown</span>{{Missing Info}}}} |
|- | |- | ||
| <span class="translatable">Stealing</span> || {{#if:{{{loot_stealing|}}}|{{#arrayprint:lootArrayStealing|<br/> }}|<span class="translatable">unknown</span>{{Missing Info}}}} | | <span class="translatable">Stealing</span> || {{#if:{{{loot_stealing|}}}|{{#arrayprint:lootArrayStealing|<br/> }}|<span class="translatable">unknown</span>{{Missing Info}}}} | ||
Line 14: | Line 14: | ||
{| class=infobox style="clear: right;" | {| class=infobox style="clear: right;" | ||
|class=titlecell colspan="21"| <span class="translatable">Carving</span> | |class=titlecell colspan="21"| <span class="translatable">Carving</span> | ||
+ | |- | ||
{{#vardefine: nocarveables|0}} | {{#vardefine: nocarveables|0}} | ||
{{#ifeq: {{{pileHidesN|}}} | 0 | | {{#vardefine: nocarveables|1}} }} | {{#ifeq: {{{pileHidesN|}}} | 0 | | {{#vardefine: nocarveables|1}} }} | ||
Line 32: | Line 33: | ||
{{#ifeq: {{{dragonScaleYellow|}}} | 0 | | {{#vardefine: nocarveables|1}} }} | {{#ifeq: {{{dragonScaleYellow|}}} | 0 | | {{#vardefine: nocarveables|1}} }} | ||
{{#ifeq: {{#var: nocarveables}} | 0 | | {{#ifeq: {{#var: nocarveables}} | 0 | | ||
− | {{!}} | + | {{!}} colspan="21"{{!}} <span class="translatable">Nothing</span>| |
{{Loot_CarveablesTable | {{Loot_CarveablesTable | ||
| pileHidesN = {{{pileHidesN|}}} | | pileHidesN = {{{pileHidesN|}}} |
Latest revision as of 12:46, 25 May 2020
Loot | |
Gold | unknown |
Base Loot | unknown |
Special Loot | 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 | ||||||||||||||||||||