Module:Growth stages: 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:1200:12, 17 October 2024Alex talk contribs 1,474 bytes +1,474 Created page with "local p = {} local MAX_STAGES = 13 function hasEntry(args, paramName) for i = 1, MAX_STAGES do if args[paramName..i] then return true end end return false end function addEntry(args, tr, paramName, i) if args[paramName..i] then tr:tag('td'):addClass('growth-stage'):wikitext(args[paramName..i]) else tr:tag('td'):addClass('table-na'):wikitext('N/A') end end function p._main(args) local hasWatered = hasEntry(args, 'watered') local hasDiseased = hasEnt..."