User:Horblegorble/Sandbox/CollapsibleRow: Difference between revisions

From Veloren Wiki
Content added Content deleted
mNo edit summary
No edit summary
Line 52: Line 52:
<td>
<td>
<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%; padding-left:0.8em;">[[Image:veloren_Apple.png|32px]]</div>
<div style="width=10%; padding-left:0.8em;">[[Image:veloren_Apple.png|32px]]</div>
<div style="width=10%; padding-left:0.5em;">[[Apple]]</div>
<div style="width=90%; padding-left:0.5em;">[[Apple]]</div>
</div>
</div>
</td>
</td>
Line 64: Line 64:
<table class="wikitable mw-collapsible" data-expandtext="+" data-collapsetext="-" style="text-align:left;" cellpadding="0" cellspacing="0" width=100%>
<table class="wikitable mw-collapsible" data-expandtext="+" data-collapsetext="-" style="text-align:left;" cellpadding="0" cellspacing="0" width=100%>
<tr>
<tr>
<td width=52% style="padding-left:1em;">Armor</td>
<td width=52% style="padding-left:1em;"><b>Armor</b></td>
<td width=19% style="padding-left:1em;">1</td>
<td width=19% style="padding-left:1em;"><b>1</b></td>
<td width=29% style="padding-left:1em;" class="rarity-green">40.00%</td>
<td width=29% style="padding-left:1em;" class="rarity-green"><b>40.00%</b></td>
</tr>
</tr>
<tr>
<tr>
Line 74: Line 74:
<td witdth=52%>
<td witdth=52%>
<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=10%;">[[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=90%; padding-left:0.5em;"><b>[[Steel Armor]]</b></div>
</td>
</td>
<td width=20% style="padding-left:1em;"><b>01-01</b></td>
<td width=20% style="padding-left:1em;"><b>01-01</b></td>
Line 83: Line 83:
<td colspan=2>
<td colspan=2>
<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%;">[[Image:veloren_Steel_Cuirass.png|32px]]</div>
<div style="width=10%;">[[Image:veloren_Steel_Cuirass.png|32px]]</div>
<div style="width=10%; padding-left:0.5em;">[[Steel Cuirass]]</div>
<div style="width=90%; padding-left:0.5em;">[[Steel Cuirass]]</div>
</div>
</div>
</td>
</td>
Line 92: Line 92:
<td colspan=2>
<td colspan=2>
<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%;">[[Image:veloren_Steel_Shoulders.png|32px]]</div>
<div style="width=10%;">[[Image:veloren_Steel_Shoulders.png|32px]]</div>
<div style="width=10%; padding-left:0.5em;">[[Steel Shoulders]]</div>
<div style="width=90%; padding-left:0.5em;">[[Steel Shoulders]]</div>
</div>
</div>
</td>
</td>
Line 101: Line 101:
<td colspan=2>
<td colspan=2>
<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%;">[[Image:veloren_Steel_Chausses.png|32px]]</div>
<div style="width=10%;">[[Image:veloren_Steel_Chausses.png|32px]]</div>
<div style="width=10%; padding-left:0.5em;">[[Steel Chausses]]</div>
<div style="width=90%; padding-left:0.5em;">[[Steel Chausses]]</div>
</div>
</div>
</td>
</td>
Line 117: Line 117:
<td witdth=52%>
<td witdth=52%>
<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 Silken Armor Set.png|32px|link=]]</div>
<div style="width=10%;">[[File:Veloren Silken Armor Set.png|32px|link=]]</div>
<div style="width=10%; padding-left:0.5em;"><b>[[Silken Armor]]</b></div>
<div style="width=90%; padding-left:0.5em;"><b>[[Silken Armor]]</b></div>
</div>
</div>
</td>
</td>
Line 127: Line 127:
<td colspan=2>
<td colspan=2>
<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%;">[[Image:veloren_Silken_Robe.png|32px]]</div>
<div style="width=10%;">[[Image:veloren_Silken_Robe.png|32px]]</div>
<div style="width=10%; padding-left:0.5em;">[[Silken Robe]]</div>
<div style="width=90%; padding-left:0.5em;">[[Silken Robe]]</div>
</div>
</div>
</td>
</td>
Line 136: Line 136:
<td colspan=2>
<td colspan=2>
<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%;">[[Image:veloren_Silken_Shoulders.png|32px]]</div>
<div style="width=10%;">[[Image:veloren_Silken_Shoulders.png|32px]]</div>
<div style="width=10%; padding-left:0.5em;">[[Silken Shoulders]]</div>
<div style="width=90%; padding-left:0.5em;">[[Silken Shoulders]]</div>
</div>
</div>
</td>
</td>
Line 145: Line 145:
<td colspan=2>
<td colspan=2>
<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%;">[[Image:veloren_Silken_Skirt.png|32px]]</div>
<div style="width=10%;">[[Image:veloren_Silken_Skirt.png|32px]]</div>
<div style="width=10%; padding-left:0.5em;">[[Silken Skirt]]</div>
<div style="width=90%; padding-left:0.5em;">[[Silken Skirt]]</div>
</div>
</div>
</td>
</td>
Line 165: Line 165:
<td witdth=52%>
<td witdth=52%>
<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 Scale Armor Set.png|32px|link=]]</div>
<div style="width=10%;">[[File:Veloren Scale Armor Set.png|32px|link=]]</div>
<div style="width=10%; padding-left:0.5em;"><b>[[Scale Armor]]</b></div>
<div style="width=90%; padding-left:0.5em;"><b>[[Scale Armor]]</b></div>
</div>
</div>
</td>
</td>
Line 175: Line 175:
<td colspan=2>
<td colspan=2>
<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%;">[[Image:veloren_Scale_Chestpiece.png|32px]]</div>
<div style="width=10%;">[[Image:veloren_Scale_Chestpiece.png|32px]]</div>
<div style="width=10%; padding-left:0.5em;">[[Scale Chestpiece]]</div>
<div style="width=90%; padding-left:0.5em;">[[Scale Chestpiece]]</div>
</div>
</div>
</td>
</td>
Line 184: Line 184:
<td colspan=2>
<td colspan=2>
<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%;">[[Image:veloren_Scale_Shoulderguards.png|32px]]</div>
<div style="width=10%;">[[Image:veloren_Scale_Shoulderguards.png|32px]]</div>
<div style="width=10%; padding-left:0.5em;">[[Scale Shoulderguards]]</div>
<div style="width=90%; padding-left:0.5em;">[[Scale Shoulderguards]]</div>
</div>
</div>
</td>
</td>
Line 193: Line 193:
<td colspan=2>
<td colspan=2>
<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%;">[[Image:veloren_Scale_Leggings.png|32px]]</div>
<div style="width=10%;">[[Image:veloren_Scale_Leggings.png|32px]]</div>
<div style="width=10%; padding-left:0.5em;">[[Scale Leggings]]</div>
<div style="width=90%; padding-left:0.5em;">[[Scale Leggings]]</div>
</div>
</div>
</td>
</td>
Line 206: Line 206:
<td>
<td>
<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%; padding-left:1em;">[[Image:veloren_Coconut.png|32px]]</div>
<div style="width=10%; padding-left:1em;">[[Image:veloren_Coconut.png|32px]]</div>
<div style="width=10%; padding-left:0.5em;">[[Coconut]]</div>
<div style="width=90%; padding-left:0.5em;">[[Coconut]]</div>
</div>
</div>
</td>
</td>

Revision as of 11:26, 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%
Armor 1 40.00%
01-01 20.00%
6.67%
6.67%
6.67%
1 20%
6.67%
6.67%
6.67%
1 10%
3.33%
3.33%
3.33%
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.