User:Liou/Module:Sign
local p = {}
function p.render(frame)
local title = frame.args.title local titleIcon = frame.args.titleIcon local englishText = frame.args.englishText local germanText = frame.args.germanText local url = frame.args.url local location = frame.args.location local author = frame.args.author local date = frame.args.date
local output = "" output = output.. "".. title.. "\n" output = output.. titleIcon.. "\n" output = output.. "".. englishText.. "\n" output = output.. "".. germanText.. "\n" if url then output = output.. "URL: ".. url.. "\n" end output = output.. "Location: ".. location.. "\n" output = output.. "Author: ".. author.. "\n" output = output.. "Date: ".. date.. "\n"
return output
end
return p