Module:Qud look: Difference between revisions
Jump to navigation
Jump to search
imported>Teamtotobot ((by SublimeText.Mediawiker)) |
imported>Teamtotobot ((by SublimeText.Mediawiker)) |
||
Line 2: | Line 2: | ||
local colorparse = require'Module:ColorParse' | local colorparse = require'Module:ColorParse' | ||
function p.qudlook(frame | function p.qudlook(frame) | ||
local args | local args | ||
local bordercolor | local bordercolor | ||
local padding | local padding | ||
local bottomtext | local bottomtext | ||
local linebreaks | local linebreaks | ||
--[determine notxml]-- | --[determine notxml]-- | ||
Line 16: | Line 17: | ||
notxml = true | notxml = true | ||
end | end | ||
end | |||
if frame.args.linebreaks == "yes" then | |||
linebreaks = true | |||
else | |||
linebreaks = false | |||
end | end | ||