Content added Content deleted
Horblegorble (talk | contribs) No edit summary |
Horblegorble (talk | contribs) No edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1:
<includeonly>
<tr>
<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}}} }} }} }}%>
{{#ifeq: {{Bool| {{{noimg|0}}} }} | 1 <!--'IfTrue' template causes issues doesn't work properly here-->
|<div style="
|{{#ifexist: File:Veloren {{{item|}}}.png
|<div style="display:flex; align-items:center; justify-content:left; height:100%; width:100%;">
<div style="width=10%; padding-left:{{#ifeq: {{{depth|0}}} | 0 | 0.8 | 0 }}em;">[[Image:veloren_{{{item|}}}.png|32px]]</div>▼
<div style="
-->[[Image:veloren_{{{item|}}}.png|32px]]
</div>▼
</div>
<div style="padding-left:0.5em;"><!--
-->{{#ifeq: {{Bool| {{{nolink|0}}} }} | 1 <!--'IfTrue' template causes issues doesn't work properly here-->
| {{{item|}}}
| {{#if: {{{page|}}}
| [[{{{page}}}|{{{item|}}}]]
| [[{{{item|}}}]]
}}
}}
</div>
▲ </div>
▲
-->{{#ifeq: {{Bool| {{{nolink|0}}} }} | 1 <!--'IfTrue' template causes issues doesn't work properly here-->
| {{{item|}}}
| {{#if: {{{page|}}}
| [[{{{page}}}|{{{item|}}}]]
| [[{{{item|}}}]]
}}
}}
</div>
}}
}}
</td>
Line 15 ⟶ 35:
|
}}
{{#ifeq: {{Bool| {{{nop|0}}} }} | 0 <!--'IfFalse' template causes issues doesn't work properly here-->
|<td rowspan={{{pspan|1}}} style="padding-left:{{#ifeq: {{{depth|0}}} | 0 | 0.8 | 1 }}em;" 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 | }} }} }} }}"><!--
</td>
|
}}
<td width=1%></td>
</tr>
</includeonly>
Line 31 ⟶ 51:
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable}}
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=0|item=Apple|n=1|p=50}}
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=0|item=
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=0|item=Apple|n=1|p=50|nolink=1}}
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=0|item=Apple|n=1|p=50|page=Modular Crafting}}
{{User:Horblegorble/Sandbox/Template/LootRowSpacer}}
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=0|item=Apple|p=50|pspan=3|noimg=1}}
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=0|item=Apple|p=50|nop=1|noimg=1}}
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=0|item=Apple|p=50|nop=1|noimg=1}}
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable|depth=1|title=Apple|collapsed=no|p=50}}
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=1|item=Apple|n=1|p=50|hidep=1|noimg=1}}
|