Toggle menu
1.3K
1.7K
703
23.9K
Veloren Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:Horblegorble/Sandbox/Template/LootHeaderVariable: Difference between revisions

From Veloren Wiki
Content added Content deleted
No edit summary
No edit summary
Line 29: Line 29:
</td>
</td>
{{#if: {{{n|}}}
{{#if: {{{n|}}}
|<td width={{#expr: 20 + {{{depth|1}}} }}% style="padding-left:1em;">
|<td width={{#expr: 20 + {{{depth|1}}} }}% style="padding-left:0.7em;">
<div><b>{{{n|}}}</b></div>
<div><b>{{{n|}}}</b></div>
</td>
</td>
Line 35: Line 35:
}}
}}
{{#if: {{{p|}}}
{{#if: {{{p|}}}
|<td width={{#expr: 30 - {{{depth|1}}} }}% style="padding-left:0.7em;" 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 width={{#expr: 30 - {{{depth|1}}} }}% style="padding-left:0.5em;" 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><b>{{#ifeq: {{Bool| {{{hidep|0}}} }} | 1 | | {{{p}}}% }}</b></div>
<div><b>{{#ifeq: {{Bool| {{{hidep|0}}} }} | 1 | | {{{p}}}% }}</b></div>
</td>
</td>

Revision as of 14:46, 7 October 2023


Item Quantity Rarity
depth=1 | collapsed=1 | title=... | n=1 | p=50
1
50%
Stuff
1
50%
Stuff
50%
Stuff
0.05%
Stuff
50%
Stuff
50%
1
50%
1
50%
Expand
1 50


Cookies help us deliver our services. By using our services, you agree to our use of cookies.