|
|
| (10 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| <noinclude>
| |
| This template displays an item tooltip.
| |
| <pre>
| |
| {{AdvancedTooltip | ItemName
| |
| | Attr1 Name | Attr1 Values | Attr1 Chance
| |
| | Attr2 Name | Attr2 Values | Attr2 Chance
| |
| }}
| |
| </pre>
| |
| </noinclude><includeonly><div class="tooltip-wrapper">
| |
| <span style="border-bottom: 1px dotted #e2d8ff; cursor: help;">{{{1|?}}}</span>
| |
| <div class="custom-tooltip" style="width: auto; min-width: 350px; max-width: 650px;">
| |
|
| |
|
| {{#if:{{{1|}}}|<div style="text-align: center; font-weight: bold; font-size: 1.2em; margin-bottom: 10px; 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: 6px; justify-content: center;">
| |
|
| |
| {{#if:{{{2|}}}|
| |
| <div style="flex: 1 1 140px; min-width: 140px;">
| |
| <table class="wikitable" style="margin:0; width:100%; text-align:center;">
| |
| <tr>
| |
| <th style="color:#cbb4ff; text-align:center;">{{{2}}}</th>
| |
| <th style="width:35%; color:#a89ad1; font-size:0.9em; text-align:center;">Chance</th>
| |
| </tr>
| |
| <tr>
| |
| <td style="vertical-align:top; text-align:center;">{{{3}}}</td>
| |
| <td style="color:#ccc; vertical-align:top; text-align:center;">{{{4}}}</td>
| |
| </tr>
| |
| </table>
| |
| </div>
| |
| }}
| |
|
| |
| {{#if:{{{5|}}}|
| |
| <div style="flex: 1 1 140px; min-width: 140px;">
| |
| <table class="wikitable" style="margin:0; width:100%; text-align:center;">
| |
| <tr>
| |
| <th style="color:#cbb4ff; text-align:center;">{{{5}}}</th>
| |
| <th style="width:35%; color:#a89ad1; font-size:0.9em; text-align:center;">Chance</th>
| |
| </tr>
| |
| <tr>
| |
| <td style="vertical-align:top; text-align:center;">{{{6}}}</td>
| |
| <td style="color:#ccc; vertical-align:top; text-align:center;">{{{7}}}</td>
| |
| </tr>
| |
| </table>
| |
| </div>
| |
| }}
| |
|
| |
| {{#if:{{{8|}}}|
| |
| <div style="flex: 1 1 140px; min-width: 140px;">
| |
| <table class="wikitable" style="margin:0; width:100%; text-align:center;">
| |
| <tr>
| |
| <th style="color:#cbb4ff; text-align:center;">{{{8}}}</th>
| |
| <th style="width:35%; color:#a89ad1; font-size:0.9em; text-align:center;">Chance</th>
| |
| </tr>
| |
| <tr>
| |
| <td style="vertical-align:top; text-align:center;">{{{9}}}</td>
| |
| <td style="color:#ccc; vertical-align:top; text-align:center;">{{{10}}}</td>
| |
| </tr>
| |
| </table>
| |
| </div>
| |
| }}
| |
|
| |
| {{#if:{{{11|}}}|
| |
| <div style="flex: 1 1 140px; min-width: 140px;">
| |
| <table class="wikitable" style="margin:0; width:100%; text-align:center;">
| |
| <tr>
| |
| <th style="color:#cbb4ff; text-align:center;">{{{11}}}</th>
| |
| <th style="width:35%; color:#a89ad1; font-size:0.9em; text-align:center;">Chance</th>
| |
| </tr>
| |
| <tr>
| |
| <td style="vertical-align:top; text-align:center;">{{{12}}}</td>
| |
| <td style="color:#ccc; vertical-align:top; text-align:center;">{{{13}}}</td>
| |
| </tr>
| |
| </table>
| |
| </div>
| |
| }}
| |
|
| |
| {{#if:{{{14|}}}|
| |
| <div style="flex: 1 1 140px; min-width: 140px;">
| |
| <table class="wikitable" style="margin:0; width:100%; text-align:center;">
| |
| <tr>
| |
| <th style="color:#cbb4ff; text-align:center;">{{{14}}}</th>
| |
| <th style="width:35%; color:#a89ad1; font-size:0.9em; text-align:center;">Chance</th>
| |
| </tr>
| |
| <tr>
| |
| <td style="vertical-align:top; text-align:center;">{{{15}}}</td>
| |
| <td style="color:#ccc; vertical-align:top; text-align:center;">{{{16}}}</td>
| |
| </tr>
| |
| </table>
| |
| </div>
| |
| }}
| |
|
| |
| {{#if:{{{17|}}}|
| |
| <div style="flex: 1 1 140px; min-width: 140px;">
| |
| <table class="wikitable" style="margin:0; width:100%; text-align:center;">
| |
| <tr>
| |
| <th style="color:#cbb4ff; text-align:center;">{{{17}}}</th>
| |
| <th style="width:35%; color:#a89ad1; font-size:0.9em; text-align:center;">Chance</th>
| |
| </tr>
| |
| <tr>
| |
| <td style="vertical-align:top; text-align:center;">{{{18}}}</td>
| |
| <td style="color:#ccc; vertical-align:top; text-align:center;">{{{19}}}</td>
| |
| </tr>
| |
| </table>
| |
| </div>
| |
| }}
| |
|
| |
| </div>
| |
| </div>
| |
| </div></includeonly>
| |