Module:Quantity box: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

26 November 2024

  • curprev 21:4821:48, 26 November 2024BlackHawk 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..."