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

11 August 2023

  • curprev 22:0722:07, 11 August 2023Penguinplushie talk contribs 2,063 bytes +2,063 Created page with "local p = {} function p.indent(frame) -- Trim whitespace from the arguments and remove blank values. local args = {} if type(frame.args) == 'table' then for k, v in pairs( frame.args ) do v = mw.text.trim(v) if v ~= '' then args[k] = v end end end -- Set variables. local indent = tonumber( args[1] ) local br = args[2] local ret = '' -- Insert line breaks to..."