If you want an account, contact Ziggy via Discord: @ziggymoncher_. Read BonziPEDIA:Requesting accounts for more details.
Module:Videoframe: Difference between revisions
From BonziPEDIA, the Official BonziWORLD Encyclopedia of varied quality.
Jump to navigationJump to search
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..." |
No edit summary |
||
Line 4: | Line 4: | ||
function videoframe.videoframe(frame) | function videoframe.videoframe(frame) | ||
local | local videos = "" | ||
for i in frame.args do | |||
videos = videos .. i | |||
end | |||
return "<div class='cyclesequence' style='max-width:640px; margin-left:auto; margin-right:auto; text-align:center; " .. frame.args[2] .. "'>".. videos .. "<div class='cyclesequencelinks'><span class='cyclesequencelinkprev showhidetext' style='" .. frame.args[3] .. "'>Previous Video</span> | <span class='cyclesequencelinknext showhidetext' style='" .. frame.args[3] .. "'>Next Video</span></div></div>" | |||
end | end | ||
return videoframe | return videoframe |
Revision as of 21:24, 26 February 2024
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 videos = ""
for i in frame.args do
videos = videos .. i
end
return "<div class='cyclesequence' style='max-width:640px; margin-left:auto; margin-right:auto; text-align:center; " .. frame.args[2] .. "'>".. videos .. "<div class='cyclesequencelinks'><span class='cyclesequencelinkprev showhidetext' style='" .. frame.args[3] .. "'>Previous Video</span> | <span class='cyclesequencelinknext showhidetext' style='" .. frame.args[3] .. "'>Next Video</span></div></div>"
end
return videoframe