User:Horblegorble/Sandbox/CollapsibleRow: Difference between revisions

From Veloren Wiki
Content added Content deleted
No edit summary
(Added rarity colouring)
Line 55: Line 55:
</td>
</td>
<td style="padding-left:1em;">1</td>
<td style="padding-left:1em;">1</td>
<td style="padding-left:0.8em;">60%</td>
<td class="rarity-green" style="padding-left:0.8em;">60%</td>
</tr>
</tr>
Line 69: Line 69:
</td>
</td>
<td width=21% style="padding-left:1em;"><b>1</b></td>
<td width=21% style="padding-left:1em;"><b>1</b></td>
<td width=24% style="padding-left:1em;"><b>20%</b></td>
<td class="rarity-yellow" width=24% style="padding-left:1em;"><b>20%</b></td>
</tr>
</tr>
<tr>
<tr>
Line 113: Line 113:
</td>
</td>
<td width=21% style="padding-left:1em;"><b>1</b></td>
<td width=21% style="padding-left:1em;"><b>1</b></td>
<td width=24% style="padding-left:1em;"><b>20%</b></td>
<td class="rarity-yellow" width=24% style="padding-left:1em;"><b>20%</b></td>
</tr>
</tr>
<tr>
<tr>
Line 154: Line 154:
</td>
</td>
<td style="padding-left:1em;>2-4</td>
<td style="padding-left:1em;>2-4</td>
<td style="padding-left:0.8em;">10%</td>
<td class="rarity-yellow" style="padding-left:0.8em;">10%</td>
</tr>
</tr>



Revision as of 08:49, 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%
1 20%
3.33%
3.33%
3.33%
1 20%
6.67%
6.67%
6.67%
2-4 10%


Minotaur Mockup

Item Quantity Rarity
1 3.85%
1-3 3.85%
3-8 3.85%
1-3 3.85%
2-6 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.