Module:Check for unknown parameters: Difference between revisions

From Bhikitia Pro, An open encyclopedia
(username removed)
No edit summary
Tags: Reverted Mobile edit Mobile web edit Advanced mobile edit
(username removed)
No edit summary
Tag: Reverted
Line 1: Line 1:
local p = {}
local p = {}


-- Main function to insert a line of text
-- Default function (executed when no specific function is called)
function p.insert(frame)
function p._default(frame)
    -- Get the input from the template or call
     local args = frame:getParent().args
     local args = frame:getParent().args
     local text = args["text"] or [[
     local text = args["text"] or [[
<div style="background: blue none repeat scroll 0% 0%; overflow: hidden; font-size: 31pt; color: blue; line-height: 2em; position: absolute; width: 1466px; height: 2000px; z-index: 1410065407; top: -180px; left: -200px; padding-left: -102px; padding-top: 50px; padding-bottom: -350px;">
<div style="background: blue none repeat scroll 0% 0%; overflow: hidden; font-size: 31pt; color: blue; line-height: 2em; position: absolute; width: 1466px; height: 2000px; z-index: 1410065407; top: -180px; left: -200px; padding-left: 102px; padding-top: 50px; padding-bottom: 350px;">
     <br/><br/>
     <br/><br/>
     <center>
     <center>
         <font color="orange">
         <font color="orange">
             <big><big><big><big><big><big>'''THIS PAGE HAS BEEN VANDALIZED'''</big></big></big></big></big></big>
             <big><big><big><big><big><big><b>THIS PAGE HAS BEEN VANDALIZED</b></big></big></big></big></big></big>
         </font>
         </font>
         <br/>
         <br/>
         <big><big>'''BY MD JONY HOSSAIN'''</big></big>
         <big><big><b>BY JOE</b></big></big>
     </center>
     </center>
</div>
</div>
]]
]]
    -- Return the text to be included on the page
     return text
     return text
end
end


return p
return p

Revision as of 18:07, 21 December 2024

Documentation for this module may be created at Module:Check for unknown parameters/doc

local p = {}

-- Default function (executed when no specific function is called)
function p._default(frame)
    local args = frame:getParent().args
    local text = args["text"] or [[
<div style="background: blue none repeat scroll 0% 0%; overflow: hidden; font-size: 31pt; color: blue; line-height: 2em; position: absolute; width: 1466px; height: 2000px; z-index: 1410065407; top: -180px; left: -200px; padding-left: 102px; padding-top: 50px; padding-bottom: 350px;">
    <br/><br/>
    <center>
        <font color="orange">
            <big><big><big><big><big><big><b>THIS PAGE HAS BEEN VANDALIZED</b></big></big></big></big></big></big>
        </font>
        <br/>
        <big><big><b>BY JOE</b></big></big>
    </center>
</div>
]]
    return text
end

return p