Module:Adaptable background: 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.

22 April 2024

  • curprev 03:1003:10, 22 April 2024R74n talk contribs 747 bytes +747 Created page with "-- Code by Melecie (Q684) p = {} -- literally my first lua code ever please don't bite :3 -mel -- Function returns either a solid or gradient background depending on the number of inputs p.bg = function(frame) local length = 0 local colors = {} for i in string.gmatch(frame.args[1], "[^,]+") do table.insert(colors, i) length = length + 1 end if length > 1 then -- return gradient local background = "background-image: linear-gradient(to right" for n = 1..."