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
Tag: Manual revert
No edit summary
Line 1:
<includeonly>
<templatestyles src="https://wiki.veloren.net/wiki/User:Horblegorble/MyStyle.css" />
 
{{#ifeq: {{{depth|0}}} | 0
| <table class="wikitable" style="text-align:left; width:35vw;" cellpadding="2" cellspacing="0">
Line 36 ⟶ 35:
{{#if: {{{p|}}}
|<td width={{#expr: 30 - {{{depth|1}}} }}% style="padding-left:0.8em;" 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:IfFalse {{Bool| {{{hidep|0}}} }} | 1 | | {{{p}}}% }}</b></div>
</td>
|<td></td>
Line 43 ⟶ 42:
</tr>
}}
 
</includeonly><noinclude>
 
Line 63 ⟶ 61:
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable|depth=1|collapsed=0|title=Apple|image=Apple.png|n=1|p=50}}
{{User:Horblegorble/Sandbox/Template/LootEndNested}}
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable|depth=1|collapsed=0|title=Apples|image=Apples.png|n=1|p=50|hidep=1}}
{{User:Horblegorble/Sandbox/Template/LootEndNested}}
<tr>

Revision as of 00:12, 9 October 2023


Item Quantity Rarity
depth=1 | collapsed=1 | title=... | n=1 | p=50
1
50%
Stuff
1
50%
Stuff
50%
Stuff
20.05%
Stuff
10.05%
Stuff
50%
Stuff
50%
1
50%
1
1 50


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