User:Horblegorble/Sandbox/Template/LootHeaderVariable: Difference between revisions
From Veloren Wiki
Content added Content deleted
Horblegorble (talk | contribs) No edit summary |
Horblegorble (talk | contribs) 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: |
|<td width={{#expr: 20 + {{{depth|1}}} }}% style="padding-left:0.8em;"> |
||
<div><b>{{{n|}}}</b></div> |
<div><b>{{{n|}}}</b></div> |
||
</td> |
</td> |