Module:Rune pouch: Revision history

Jump to navigation Jump to search
Diff selection: mark the radio boxes of the versions to compare or click on a revision date to view it. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit

14 October 2024

  • curprev 05:0605:06, 14 October 2024Eq talk contribs 2,020 bytes +2,020 Created page with "local p = {} local trim = mw.text.trim -- Get a rune's name, and the quantity to display function getItem(str) backSlash, _ = str:find('\\') if(backSlash) then itemName = str:sub(0, backSlash - 1) amountOfItem = tonumber(str:sub(backSlash + 1)) or 1 if(amountOfItem < 1) then amountOfItem = 1 elseif(amountOfItem > 16000) then amountOfItem = 16000 end return itemName, amountOfItem else return str, 1 end end -- Get page alignement setting function..."