Module:Key press: 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 March 2024

  • curprev 18:3318:33, 22 March 2024BlackHawk talk contribs 484 bytes +484 Created page with "-- <pre> local p = {} function p.main(frame) local args = frame:getParent().args local ret = mw.html.create('span') :css('white-space','nowrap') local sep = args.sep or '+' local keys = {} local tblsize = 0 for i, v in ipairs(args) do tblsize = i table.insert(keys,v) end for i, v in ipairs(keys) do ret :tag('kbd') :addClass('keypress') :wikitext(v) :done() if i < tblsize then ret:wikitext(sep) end end return tostring(ret) end..."