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 |
||
(23 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
▲{{#ifeq: {{{depth|0}}} | 0
▲| <table class="wikitable sortable" style="text-align:left;" cellpadding="2" cellspacing="0" width="fit">
<tr>
<th width=50% style="padding-left:10px;">Item</th>
<th width=20%>Quantity</th>
<th width=30% colspan=2>Rarity</th>
</tr>
| <tr>
<td colspan=
<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="">
Line 29 ⟶ 28:
</td>
{{#if: {{{n|}}}
|<td width={{#expr: 20 + {{{depth|1}}} }}% style="padding-left:
<div><b>{{{n|}}}</b></div>
</td>
Line 35 ⟶ 34:
}}
{{#if: {{{p|}}}
|<td colspan=2 width={{#expr: 30 - {{{depth|1}}} }}% style="padding-left:0.
<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=
{{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}}
Line 61 ⟶ 67:
{{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>
Line 71 ⟶ 77:
<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:
<td width=29% style="padding-left:
</tr>
</table>
|