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 |
||
Line 1: | Line 1: | ||
<includeonly> |
<includeonly> |
||
{{# |
{{#ifexpr: {{{depth|0}}} = 0 |
||
| <table class="wikitable sortable" style="text-align:left;" cellpadding="2" cellspacing="0" width=fit> |
| <table class="wikitable sortable" style="text-align:left;" cellpadding="2" cellspacing="0" width=fit> |
||
Line 16: | Line 16: | ||
<tr> |
<tr> |
||
{{#if: {{{image|}}} |
{{#if: {{{image|}}} |
||
|<td |
|<td width={{#expr: 50 + {{#if: {{{n|}}} | 0 | {{#expr: 20 + {{{depth|1}}} }} + {{#if: {{{p|}}} | 0 | {{#expr: 30 - {{{depth|1}}} }} }}%> |
||
<div style="display:flex; align-items:center; justify-content:left; height:100%; width:100%;"> |
<div style="display:flex; align-items:center; justify-content:left; height:100%; width:100%;"> |
||
<div style="width=90%; padding-left:0;">[[File:Veloren {{{image|}}}|32px|link=]]</div> |
<div style="width=90%; padding-left:0;">[[File:Veloren {{{image|}}}|32px|link=]]</div> |
Revision as of 15:10, 27 September 2023