Module:Videoframe

Revision as of 21:16, 26 February 2024 by SeamusIsANigger (talk | contribs) (Created page with "--A Lua rewrite of Encyclopedia Dramatica's videoframe template. Made by SeamusIsANigger. local videoframe = {} function videoframe.videoframe(frame) local start = "<div class='cyclesequence' style='max-width:640px; margin-left:auto; margin-right:auto; text-align:center; " .. frame.args[2] .. "'>" local theend = "<div class='cyclesequencelinks'><span class='cyclesequencelinkprev showhidetext' style='" .. frame.args[3] .. "'>Previous Video</span> | <spa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Videoframe/doc

--[[ A Lua rewrite of Encyclopedia Dramatica's videoframe template.
     Made by SeamusIsANigger. ]]
local videoframe = {}

function videoframe.videoframe(frame)
	local start = "<div class='cyclesequence' style='max-width:640px; margin-left:auto; margin-right:auto; text-align:center; " .. frame.args[2] .. "'>"
	local theend = "<div class='cyclesequencelinks'><span class='cyclesequencelinkprev showhidetext' style='" .. frame.args[3] .. "'>Previous Video</span> &#124; <span class='cyclesequencelinknext showhidetext' style='" .. frame.args[3] .. "'>Next Video</span></div></div>"

	return start .. "Soon(TM)" .. theend
end

return videoframe