Module:ResourceIcon: Revision history

From Corsair Cove Official Wiki

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.

2 August 2026

  • curprev 21:3021:30, 2 August 2026 Dorce talk contribs 531 bytes +17 No edit summary
  • curprev 20:2520:25, 2 August 2026 Dorce talk contribs 514 bytes +514 Created page with "local p = {} local rData = mw.loadData("Module:ResourceData") local sizeMap = { xs = 16, sm = 32, md = 64, lg = 96, xl = 128, } function p.icon(frame) local args = frame.args local resource = args[1] or args.resource or "" local size = args.size or "xs" local px = sizeMap[size] or sizeMap.xs local entry = rData[resource] local filename = entry and entry.icon_file or "Filename needed.png" return string.format( "x%dpx|link=%s|%s", filename,..."