User:Liou/Module:Sign

Revision as of 15:18, 18 January 2025 by Lb34 (talk | contribs) (Created page with "local p = {} function p.render(frame) local title = frame.args[1] local symbol = frame.args[2] local name_english = frame.args[3] local name_german = frame.args[4] local message_english = frame.args[5] local message_german = frame.args[6] local author = frame.args[7] local location = frame.args[8] local date = frame.args[9] local output = "" output = output.. "= ".. title.. " =\n" output = output.. symbol.. "\n" outpu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

local p = {}

function p.render(frame)

   local title = frame.args[1]
   local symbol = frame.args[2]
   local name_english = frame.args[3]
   local name_german = frame.args[4]
   local message_english = frame.args[5]
   local message_german = frame.args[6]
   local author = frame.args[7]
   local location = frame.args[8]
   local date = frame.args[9]
   local output = ""
   output = output.. "= ".. title.. " =\n"
   output = output.. symbol.. "\n"
   output = output.. "== ".. name_english.. " ==\n"
   output = output.. "".. name_german.. "\n"
   output = output.. message_english.. "\n"
   output = output.. "".. message_german.. "\n"
   output = output.. "URL: \n"
   output = output.. "Location: ".. location.. "\n"
   output = output.. "Author: ".. author.. "\n"
   output = output.. "Date: ".. date.. "\n"
   return output

end

return p