Template:AdvancedTooltip: Difference between revisions

From MalveraWiki
Kuba445 (talk | contribs)
No edit summary
Kuba445 (talk | contribs)
No edit summary
Tag: Manual revert
Line 1: Line 1:
<noinclude><pre>{{ItemAttr | Name | Values | Chance }}</pre></noinclude><includeonly><div style="flex: 1 1 125px; min-width: 125px; display: flex; flex-direction: column;"><table class="wikitable" style="margin: 0 !important; width: 100%; height: 100%; text-align: center; border-collapse: collapse; table-layout: fixed;">
<noinclude><pre>{{ItemTooltip | Name | {{ItemAttr|...}} }}</pre></noinclude><includeonly><div class="tooltip-wrapper"><span style="border-bottom: 1px dotted #e2d8ff; cursor: help; font-weight:bold;">{{{1|?}}}</span><div class="custom-tooltip" style="width: auto; min-width: 300px; max-width: 500px; padding: 10px;"><div style="text-align: center; font-weight: bold; font-size: 1.2em; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 5px; color:#e2d8ff;">{{{1}}}</div><div style="display: flex; flex-wrap: wrap; gap: 5px; align-items: stretch; justify-content: center;">{{{2}}}</div></div></div></includeonly>
<tr style="height: 32px;">
  <th style="color:#cbb4ff; text-align:center; padding: 4px; width: 65%; vertical-align: middle; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;">{{{1}}}</th>
  <th style="color:#a89ad1; font-size:0.9em; text-align:center; padding: 4px; width: 35%; vertical-align: middle;">Chance</th>
</tr>
<tr>
  <td style="vertical-align:top; text-align:center; padding: 6px 4px;">{{{2}}}</td>
  <td style="color:#ccc; vertical-align:top; text-align:center; padding: 6px 4px;">{{{3}}}</td>
</tr>
</table></div></includeonly>

Revision as of 20:02, 2 February 2026

{{ItemTooltip | Name | {{ItemAttr|...}} }}