FANDOM


 
p = {}
function p.helloworld(frame)
    return "Hello world!"
end
function p.echo(frame)
    local arg1 = frame.args[1] or 'idk lol'
    return arg1
end
function p.ramsay(frame)
    local arg1 = frame.args[1] or 'beef'
    local arg2 = frame.args[2] or 'raw'
    local arg3 = frame.args[3] or 'I can hear it moo'
    return 'this ' ..arg1.. ' is so ' ..arg2.. ', ' ..arg3.. '!'
end
function p.SBWidget(frame)
    local s = frame.args[1]
    local url = 'http://widget.socialblade.com/widget.php?v=2&u=' ..s
    local div = mw.html.create( 'iframe' )
div
	:attr( 'class', 'sbframe' )
	:attr( 'src', url )
	:attr( 'scrolling', 'no' )
	:attr( 'frameBorder', '0' )
	:css( 'overflow', 'hidden' )
	:css( 'height', '190px' )
	:css( 'width', '170px' )
	:css( 'border', '0' )
    return tostring( div )
 
 
 
    --[[if strsub(s,1,2) == 'UC' and #s == 24 then
        local c = s
    else
        local u = s
    end ]]--
    --return '<iframe class="sbframe" src="' ..url.. '" style="overflow: hidden; height: 190px; width: 180px; border: 0;" scrolling="no" frameBorder="0"></iframe>'
end        
 
return p

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.