View source for Module:Outdent
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
local p = {}
local getArgs = require('Module:Arguments').getArgs
function p.outdent (frame)
local args = getArgs (frame)
local count = 0
local Start = '┌'
local End = '┘'
local i = 0
local line = ''
local outside = mw.html.create('span')
local indentTable = {'reverse','indent','in','r'} -- lsit of parameters that mean reverse/indent
for k,v in pairs(indentTable) do -- set start and end if reversed
if args[v] then
Start = '└'
End = '┐'
end
end
if not args[1] then args[1] = '' end -- un-nil args[1]
000
1:0
Template used on this page:
Return to Module:Outdent.