Module:Quantity box: 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

15 October 2024

  • curprev 16:3816:38, 15 October 2024Alex talk contribs 633 bytes +633 Created page with "local p = {} local commas = require('Module:Addcommas')._add function p._main(arg, init) if arg == '' or arg == nil then return '' end -- convert init to string if it is a number, or set to '1' if it is not a (string of a) number init = tonumber(init) and tostring(init) or '1' if tonumber(arg) then return string.format('<span class="infobox-quantity" data-val-each="%s" data-value="%s"><span class="infobox-quantity-replace">%s</span> xp</span>', arg, init, comma..."