User:Horblegorble/Sandbox/CollapsibleRow: Difference between revisions

From Veloren Wiki
Content added Content deleted
Line 60: Line 60:
<tr>
<tr>
<td colspan=3>
<td colspan=3>
<table class="wikitable mw-collapsible mw-collapsed" style="text-align:left;" cellpadding="0" cellspacing="0" width=100%>
<table class="wikitable mw-collapsible mw-collapsible-content" style="text-align:left;" cellpadding="0" cellspacing="0" width=100%>
<tr>
<tr>
<td witdth=55%>
<td witdth=55%>
<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%;">[[File:Veloren Steel Armor Set.png|32px|link=]]</div>
<div style="width=90%;">[[File:Veloren Steel Armor Set.png|32px|link=]]</div>
<div style="width=10%; padding-left:0.5em;"><b>[[Steel Armor]]</b></div>
<div style="width=10%; padding-left:0.5em;"><b>[[Steel Armor]]</b>
<div class="mw-collapsible-toggle-placeholder">expand</div>
</div>
</div>
</div>
</td>
</td>
Line 168: Line 170:
<th width=25%>Rarity</th>
<th width=25%>Rarity</th>
</tr>
</tr>
<tr>
<td colspan=3>
<table class="wikitable mw-collapsible" style="text-align:left;" cellpadding="0" cellspacing="0" width=100%>
<tr>
<td width=55% style="padding-left:1em;">Material</td>
<td width=21% style="padding-left:1em;"><b>*</b></td>
<td width=24% style="padding-left:1em;"><b>15.4%</b></td>
</tr>


<tr>
<td>
<div style="display:flex; align-items:center; justify-content:left; height:100%; width:100%;">
<div style="width=90%; padding-left:0.8em;">[[Image:veloren_Carcanet_of_Wrath.png|32px]]</div>
<div style="width=10%; padding-left:0.5em;">[[Carcanet of Wrath]]</div>
</div>
</td>
<td style="padding-left:1em;">1</td>
<td style="padding-left:0.8em;">3.85%</td>
</tr>
<tr>
<tr>
<td>
<td>
Line 221: Line 221:
</td>
</td>
<td style="padding-left:1em;">2-6</td>
<td style="padding-left:1em;">2-6</td>
<td style="padding-left:0.8em;">3.85%</td>
</tr>

</table>
</tr>

<tr>
<td>
<div style="display:flex; align-items:center; justify-content:left; height:100%; width:100%;">
<div style="width=90%; padding-left:0.8em;">[[Image:veloren_Carcanet_of_Wrath.png|32px]]</div>
<div style="width=10%; padding-left:0.5em;">[[Carcanet of Wrath]]</div>
</div>
</td>
<td style="padding-left:1em;">1</td>
<td style="padding-left:0.8em;">3.85%</td>
<td style="padding-left:0.8em;">3.85%</td>
</tr>
</tr>

Revision as of 09:15, 8 August 2023

Original

copied from https://www.mediawiki.org/wiki/Manual:Collapsible_elements ('translate' elements removed)

Inside another element

You can also use collapsible elements in other elements, such as a table.

My table with collapsible info
Title Sample
Lorem Ipsum
More info
Number Letter  
1 A
2 B
3 C



Horblegorble's Loot Experiment

Item Quantity Rarity
1 60%
Steel Armor
expand
1 20%
3.33%
3.33%
3.33%
1 20%
6.67%
6.67%
6.67%
2-4 10%


(Old) Minotaur Mockup

Item Quantity Rarity
Material * 15.4%
1-3 3.85%
3-8 3.85%
1-3 3.85%
2-6 3.85%
1 3.85%
1 3.33%
0.48%
0.48%
0.48%
0.48%
0.48%
0.48%
0.48%
1 3.33%
0.48%
0.48%
0.48%
0.48%
0.48%
0.48%
0.48%
1 3.33%
0.48%
0.48%
0.48%
0.48%
0.48%
0.48%
0.48%
1 1.28%
1 1.28%
1 1.28%
Cookies help us deliver our services. By using our services, you agree to our use of cookies.