Last 5 Pages Viewed: Form:Program types / Test Program / Special:ApiHelp / Program Coordinator Unlisted Projects / Module:Main page [Edit]

View source for Module:Main page

From MoHA Wiki

Elevated permissions are required to edit this page this content. Contact admin to upgrade.

The action you have requested is limited to users in the group: Users.


You can view and copy the source of this page.

local p = {}
function p.banner(frame)
local params = frame.args
local id = params['id'] or 'banner'
local class = params['class'] or 'banner'
local image = params['image'] or ''
local height = params['height'] or 'auto'
local bgcolor = params['background-color'] or '#fff'
if image ~= '' then
image = frame:preprocess('{{filepath:' .. image .. '}}')
end
local html = mw.html.create()
html:tag('div')
:addClass(class)
:attr({
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
000
1:0
Debug console
* The module exports are available as the variable "p", including unsaved modifications. * Precede a line with "=" to evaluate it as an expression or use print(). Use mw.logObject() for tables. * Use mw.log() and mw.logObject() in module code to send messages to this console.

Template used on this page:

Return to Module:Main page.