Module:Damage: 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

17 October 2024

  • curprev 00:0000:00, 17 October 2024Alex talk contribs 1,483 bytes +1,483 Created page with "-- <pre> -- Implements {{MDamage}} local p = {} local function amount(a) -- convert used globals to locals where possible to improve performance local math = math local string = string local table = table local mw = mw local expr = mw.ext.ParserFunctions.expr local ret = {true, true, true, true, '</span>'} ret[1] = '<span class="MDamage Mdamage-' -- strip commas from input -- @example {{GEPrice|Foo}} -> '1,000' a = string.gsub(a, ',', '') -- for..."