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

From Veloren Wiki
Content added Content deleted
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:
--><templatestyles src="https://wiki.veloren.net/wiki/User:Horblegorble/MyStyle.css" /><!--
--><templatestyles src="https://wiki.veloren.net/wiki/User:Horblegorble/MyStyle.css" /><!--
-->{{#ifeq: {{{depth|0}}} | 0
-->{{#ifeq: {{{depth|0}}} | 0
| <table class="wikitable" style="text-align:left; width:35vw;" cellpadding="2" cellspacing="0">
| <table class="wikitable" style="text-align:left; width:35vw; min-width:30%; max-width:70%;" cellpadding="2" cellspacing="0">
<tr>
<tr>
<th width=50%>Item</th>
<th width=50% style="padding-left:10px;">Item</th>
<th width=20%>Quantity</th>
<th width=20%>Quantity</th>
<th width=30% colspan=2>Rarity</th>
<th width=30% colspan=2>Rarity</th>
Line 28: Line 28:
</td>
</td>
{{#if: {{{n|}}}
{{#if: {{{n|}}}
|<td width={{#expr: 19 + {{{depth|1}}} }}% style="padding-left:0.8em;">
|<td width={{#expr: 20 + {{{depth|1}}} }}% style="padding-left:0.8em;">
<div><b>{{{n|}}}</b></div>
<div><b>{{{n|}}}</b></div>
</td>
</td>

Latest revision as of 10:56, 6 January 2024


Item Quantity Rarity
depth=1 | collapsed=1 | title=... | n=1 | p=50
1
50%
1 50%
1 50%
Stuff
1
50%
1 50%
1 50%
Stuff
50%
Stuff
20.05%
1 50%
1 50%
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.