Content added Content deleted
Horblegorble (talk | contribs) No edit summary |
Horblegorble (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
<tr> |
<tr> |
||
<td colspan={{#expr: 3 - {{#if: {{{n|}}} | 1 | 0}} - {{#if: {{{p|}}} | 1 | 0 }} }} width={{#expr: 50 + {{#if: {{{n|}}} | 0 | {{#expr: 20 + {{{depth|1}}} }} }} + {{#if: {{{p|}}} | 0 | {{#expr: 30 - {{{depth|1}}} }} }} }}%> |
<td colspan={{#expr: 3 - {{#if: {{{n|}}} | 1 | 0}} - {{#if: {{{p|}}} | 1 | 0 }} }} width={{#expr: 50 + {{#if: {{{n|}}} | 0 | {{#expr: 20 + {{{depth|1}}} }} }} + {{#if: {{{p|}}} | 0 | {{#expr: 30 - {{{depth|1}}} }} }} }}%> |
||
⚫ | |||
⚫ | |||
|<div style="margin-left:32px; padding-left:{{#ifeq: {{{depth|0}}} | 0 | 1.3 | 0.5 }}em;">[[{{{item|}}}]]</div> |
|||
⚫ | |||
<div style="width=10%; padding-left:{{#ifeq: {{{depth|0}}} | 0 | 0.8 | 0 }}em;">[[Image:veloren_{{{item|}}}.png|32px]]</div> |
<div style="width=10%; padding-left:{{#ifeq: {{{depth|0}}} | 0 | 0.8 | 0 }}em;">[[Image:veloren_{{{item|}}}.png|32px]]</div> |
||
<div style="width=90%; padding-left:0.5em;">[[{{{item|}}}]]</div> |
<div style="width=90%; padding-left:0.5em;">[[{{{item|}}}]]</div> |
||
</div> |
</div> |
||
⚫ | |||
</td> |
</td> |
||
{{#if: {{{n|}}} |
{{#if: {{{n|}}} |
||
Line 12: | Line 15: | ||
| |
| |
||
}} |
}} |
||
{{#ifeq: {{Bool| {{{nop|0}}} }} | 0 |
|||
<td style="padding-left:{{#ifeq: {{{depth|0}}} | 0 | 0.8 | 1 }}em;" class="rarity-{{#ifexpr: {{{p|0}}} >= 24.999 | green | {{#ifexpr: {{{p|0}}} >= 9.999 | yellow | {{#ifexpr: {{{p|0}}} >= 2.499 | orange | {{#ifexpr: {{{p|0}}} <= 2.5 | red | }} }} }} }}"> |
|<td rowspan={{{pspan|1}}} style="padding-left:{{#ifeq: {{{depth|0}}} | 0 | 0.8 | 1 }}em;" class="rarity-{{#ifexpr: {{{p|0}}} >= 24.999 | green | {{#ifexpr: {{{p|0}}} >= 9.999 | yellow | {{#ifexpr: {{{p|0}}} >= 2.499 | orange | {{#ifexpr: {{{p|0}}} <= 2.5 | red | }} }} }} }}"> |
||
⚫ | |||
<div>{{#ifeq: {{Bool| {{{hidep|0}}} }} | 1 | | {{{p}}}% }}</div> |
|||
⚫ | |||
</td> |
|||
| |
|||
}} |
|||
</tr> |
</tr> |
||
Line 20: | Line 26: | ||
<noinclude> |
<noinclude> |
||
<!--Isnumeric needed for displaying p=always--> |
|||
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable}} |
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable}} |
||
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=0|item=Apple|n=1|p=50}} |
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=0|item=Apple|n=1|p=50}} |
||
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=0|item=Apple|n=1|p=50}} |
|||
<tr><td colspan=3></td></tr> |
|||
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=0|item=Apple|p=50|pspan=3|noimg=1}} |
|||
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=0|item=Apple|p=50|nop=1|noimg=1}} |
|||
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=0|item=Apple|p=50|nop=1|noimg=1}} |
|||
<tr><td colspan=3></td></tr> |
|||
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable|depth=1|title=Apple|collapsed=no|p=50}} |
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable|depth=1|title=Apple|collapsed=no|p=50}} |
||
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=1|item=Apple|n=1|p=50| |
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=1|item=Apple|n=1|p=50|hidep=1|noimg=1}} |
||
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=1|item=Apple|p=50| |
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=1|item=Apple|p=50|hidep=1}} |
||
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable|depth=2|title=Apple|collapsed=no|p=50}} |
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable|depth=2|title=Apple|collapsed=no|p=50}} |
||
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=2|item=Apple|n=1|p=50| |
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=2|item=Apple|n=1|p=50|hidep=1}} |
||
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable|depth=3|title=Apple|collapsed=no|p=50}} |
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable|depth=3|title=Apple|collapsed=no|p=50}} |
||
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=3|item=Apple|n=1|p=50| |
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=3|item=Apple|n=1|p=50|hidep=1}} |
||
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=3|item=Apple|p=50| |
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=3|item=Apple|p=50|hidep=1|noimg=1}} |
||
{{User:Horblegorble/Sandbox/Template/LootEndNested}} |
{{User:Horblegorble/Sandbox/Template/LootEndNested}} |
||
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=2|item=Apple|p=50| |
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=2|item=Apple|p=50|hidep=1}} |
||
{{User:Horblegorble/Sandbox/Template/LootEndNested}} |
{{User:Horblegorble/Sandbox/Template/LootEndNested}} |
||
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=1|item=Apple|n=1|p=50| |
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=1|item=Apple|n=1|p=50|hidep=1}} |
||
{{User:Horblegorble/Sandbox/Template/LootEndNested}} |
{{User:Horblegorble/Sandbox/Template/LootEndNested}} |
||
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=0|item=Apple|p=50| |
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=0|item=Apple|p=50|hidep=1|noimg=1}} |
||
{{User:Horblegorble/Sandbox/Template/LootEnd}} |
{{User:Horblegorble/Sandbox/Template/LootEnd}} |
||