Module:Globals: 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.

    4 October 2022

    • curprev 12:4212:42, 4 October 2022Jacmob talk contribs 628 bytes +628 Created page with "-- <nowiki> -- Implements Template:Globals local p = {} local globals = require 'Module:Globals/data' local opairs = require('Module:Utils').opairs function p.main(frame) local args = frame:getParent().args local global = args[1] -- The arg that was passed local val = globals[global][2] -- The value associated with the arg if (val == nil) then val = '' end return val end function p.doc_list() local ret_table = '' for k,v in opairs(globals) do r..."