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 Tag: Manual revert |
||
Line 12: | Line 12: | ||
<table class="wikitable mw-collapsible {{#ifexpr: {{Bool| {{{collapsed|1}}} }} | mw-collapsed | }}" style="text-align:left;" data-expandtext="➕" data-collapsetext="➖" cellpadding="0" cellspacing="0" width=100%> |
<table class="wikitable mw-collapsible {{#ifexpr: {{Bool| {{{collapsed|1}}} }} | mw-collapsed | }}" style="text-align:left;" data-expandtext="➕" data-collapsetext="➖" cellpadding="0" cellspacing="0" width=100%> |
||
<tr style=""> |
<tr style=""> |
||
<td colspan={{#expr: |
<td colspan={{#expr: 3 - {{#if: {{{n|}}} | 1 | 0}} - {{#if: {{{p|}}} | 1 | 0 }} }} width={{#expr: 50 + {{#if: {{{n|}}} | 0 | {{#expr: 20 + {{{depth|1}}} }} }} + {{#if: {{{p|}}} | 0 | {{#expr: 30 - {{{depth|1}}} }} }} }}% |
||
{{#if: {{{image|}}} |
{{#if: {{{image|}}} |
||
|{{#ifexist: File:Veloren {{{image|}}} |
|{{#ifexist: File:Veloren {{{image|}}} |