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 |
||
(47 intermediate revisions by the same user not shown) | |||
Line 1:
<includeonly><!--
--><templatestyles src="https://wiki.veloren.net/wiki/User:Horblegorble/MyStyle.css" /><!--
-->{{#ifeq: {{{depth|0}}} | 0
| <table class="wikitable
▲| <table class="wikitable sortable" style="text-align:left;" cellpadding="2" cellspacing="0" width=fit>
<tr>
<th width=
<th width=
<th width=30% colspan=2>Rarity</th>
</tr>
| <tr>
<td colspan=
<table class="wikitable mw-collapsible {{#
<tr style="">▼
data-expandtext="+" data-collapsetext="-" style="text-align:left;" cellpadding="0" cellspacing="0" width=100%>▼
▲ <tr>
{{#if: {{{image|}}}
|{{#ifexist: File:Veloren {{{image|}}}
▲ |<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="width=
<div style="width=10%; padding-left:0.5em;"><b>[[{{{title|}}}]]</b></div>
</
|
<div style="margin-left:32px;"><b>[[{{{title|}}}]]</b></div>
| style="padding-left:1em;">
<div><b>{{{title|}}}</b></div>
}}
</td>
{{#if: {{{n|}}}
|<td width={{#expr: 20 + {{{depth|1}}} }}% style="padding-left:
<div><b>{{{n|}}}</b></div>
</td>
|
}}
{{#if: {{{p|}}}
|<td colspan=2 width={{#expr: 30 - {{{depth|1}}} }}% style="padding-left:
<div><b>{{
</td>
|
}}
</tr>
}}
</includeonly><noinclude>▼
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable}}
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable|depth=1|collapsed=0|title=depth=1 {{!}} collapsed=1 {{!}} title=... {{!}} n=1 {{!}} p=50|n=1|p=50}}
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=1|item=Apple|n=1|p=50}}
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=1|item=Apple|n=1|p=50}}
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable|depth=2|collapsed=0|title=Stuff|n=1|p=50}}
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=2|item=Apple|n=1|p=50}}
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=2|item=Apple|n=1|p=50}}
{{User:Horblegorble/Sandbox/Template/LootEndNested}}
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable|depth=2|collapsed=0|title=Stuff|p=50}}
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable|depth=3|collapsed=0|title=Stuff|p=20.05|nop=1}}
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=3|item=Apple|n=1|p=50}}
{{User:Horblegorble/Sandbox/Template/LootRowVariable|depth=3|item=Apple|n=1|p=50}}
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable|depth=4|collapsed=0|title=Stuff|p=10.05|nop=1}}
{{User:Horblegorble/Sandbox/Template/LootEndNested}}
{{User:Horblegorble/Sandbox/Template/LootEndNested}}
{{User:Horblegorble/Sandbox/Template/LootEndNested}}
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable|depth=2|collapsed=0|title=Stuff|p=50|nop=1}}
{{User:Horblegorble/Sandbox/Template/LootEndNested}}
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable|depth=2|collapsed=0|title=Stuff|p=50}}
{{User:Horblegorble/Sandbox/Template/LootEndNested}}
{{User:Horblegorble/Sandbox/Template/LootEndNested}}
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable|depth=1|collapsed=0|title=Apple|image=Apple.png|n=1|p=50}}
{{User:Horblegorble/Sandbox/Template/LootEndNested}}
{{User:Horblegorble/Sandbox/Template/LootHeaderVariable|depth=1|collapsed=0|title=Apples|image=Apples.png|n=1|p=50|hidep=1}}
{{User:Horblegorble/Sandbox/Template/LootEndNested}}
<tr>
<td colspan=3>
▲ <table class="wikitable mw-collapsible
<tr>
<td wdith=52%>
<div style="width=90%; padding-left:0;">[[File:Veloren Apple.png|32px|link=]]</div>
<div style="width=10%; padding-left:0.5em;"><b>[[Apple]]</b></div>
</div>
</td>
<td width=19% style="padding-left:0.8em;"><b>1</b></td>
<td width=29% style="padding-left:0.8em;" class="rarity-green"><b>50</b></td>
</tr>
</table>
</td>
</tr>
{{User:Horblegorble/Sandbox/Template/LootEnd}}
▲</includeonly><noinclude>
[[Category:Templates]] [[Category: Loot templates]]
|