Home
Random
Log in
Settings
About Wikialpha
Disclaimers
Wikialpha
Search
Editing
Module:Message box
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
local p = {} -- Define _main function function p._main( frame ) -- Your existing logic here or modify as needed -- Example: returning a simple message box template local args = frame.args local message = args[1] or "No message provided" local title = args[2] or "Notice" return '<div class="message-box"><h3>' .. title .. '</h3><p>' .. message .. '</p></div>' end -- Call the main function function p.message_box( frame ) return p._main(frame) end return p
Summary:
Please note that all contributions to Wikialpha may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
My wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Module:Message box
(
edit
)
Module:Message box/doc
(
edit
)