Calculator:HighLite/Nameplates: Difference between revisions

No edit summary
No edit summary
Tag: Manual revert
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="farts">[[Calculators|← Back to Calculators]]</div>
<div class="farts">[[Calculators|← Back to Calculators]]</div>
<h1 style="margin-top: 0 !important;"><span class="mw-headline" id="Item_Nameplate_Calculator">HighLite Nameplate Calculator</span></h1>
<h1 style="margin-top: 0 !important;"><span class="mw-headline" id="Item_Nameplate_Calculator">HighLite Nameplate Setting Generator</span></h1>
<p>Configure your [[HighLite]] nameplate settings below. Simply toggle the visibility for items you want, and then copy and paste the following generated list into the "[https://highspell.wiki/w/images/e/ef/HighLite-Item-Priorities.png Item Priorities]" field under the <code style="border: 1px solid var(--border-color-base) !important; background: var(--bg-contrast) !important;">Nameplates</code> settings menu.</p>
<p>The list below is a recommended all-purpose filter setup suitable for medium to high-level players. If you already have a custom list prepared, you can paste it into the textarea below to load it and continue editing.</p>
<html><div id="nameplate-calculator-wrapper"></div>
<table id="item-display-table" class="wikitable sortable">
<thead>
<tr>
<th colspan="2">Item</th>
<th>Price</th>
<th>Nameplate Setting</th>
</tr>
</thead>
<tbody></html>
{{#cargo_query:
tables=Items
|fields=_pageName,Name,Price
|order by=Name ASC
|limit=10000
|format=template
|template=Calculator/HighLite/Nameplates
|named args=yes
|cacheable=yes
}}
<html></tbody></table></html>


<p>Select display setting for each item:</p>
{{#widget:Calculator/HighLite/Nameplates}}
<input type="text" id="item-search" placeholder="Search items..." style="width: calc(100% - 20px); padding: 8px 10px; margin-bottom: 15px; background-color: var(--bg-secondary, #28292d); color: var(--text-main, #b6b4b2); border: 1px solid var(--border-color-base, #3d3d3d); border-radius: 4px;">
 
<html><table id="item-display-table" class="wikitable sortable">
    <thead>
        <tr>
            <th>Item Name</th>
            <th>Price</th>
            <th>Nameplate Setting</th> <!-- New column header for the buttons -->
        </tr>
    </thead>
    <tbody></html>
        {{#cargo_query:
            tables=Items
            |fields=Name,Price  |order by=Name ASC
            |limit=10000
            |format=template
            |template=Calculator/HighLite/Nameplates
            |named args=yes
            |cacheable=yes
        }}
        <html></tbody>
</table>
 
<hr/>
<h3>Generated List:</h3>
<textarea id="output-list" rows="10" readonly style="width: 100%; background-color: var(--bg-secondary, #28292d); color: var(--text-main, #b6b4b2); border: 1px solid var(--border-color-base, #2d2d2d); border-radius: 4px; padding: 10px; font-family: monospace; resize: vertical;"></textarea>
<button id="copy-button" style="background-color: #007bff; color: white; border: none; border-radius: 4px; padding: 10px 15px; cursor: pointer; font-size: 16px; margin-top: 10px;">Copy to Clipboard</button>
<span id="copy-feedback" style="margin-left: 10px; color: green;"></span></html>
 
<!-- The widget itself (CSS and JS) is embedded here -->
{{#widget:Calculator/HighLite/NameplateCalculator}}


[[Category:Calculators]][[Category:HighLite Calculators]]
[[Category:Calculators]][[Category:HighLite Calculators]]