Module:Break

From LIMSWiki
Revision as of 17:08, 31 October 2013 by Shawndouglas (talk | contribs) (Created as needed.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

-- This module implements

local p = {}

function p.main( frame )

   local num = frame.args[1] or 
   num = tonumber( num )
   if not num or num < 1 or math.floor( num ) ~= num or num == math.huge then
       num = 1
   end
   return mw.ustring.rep( '
', num )

end

return p