Module:Game Credits
From JoJo's Bizarre Encyclopedia - JoJo Wiki
Documentation for this module may be created at Module:Game Credits/doc
local p = {}
function p.main(frame)
local output = ""
local l_buffer = ""
local r_buffer = ""
local bg2 = frame:GetParent().args["bg2"]
if bg2 == nil then
bg2 = "Game2" -- Default value
end
local i = 1
while frame:getParent().args["r" .. i] ~= nil do
l_buffer = frame:getParent().args["l" .. i]
r_buffer = frame:getParent().args["r" .. i]
output = output .. frame:expandTemplate{ title = "Row", args = {
"'''" .. l_buffer .. "'''",
r_buffer,
bg1 = bg2,
border = "#3f3e3e54",
w1 = "15%",
Image = "True"
}}
i = i + 1
end
return frame:preprocess(output)
end
return p
- Manga ▾
- Media ▾
- Characters ▾
- World ▾
- Archives ▾
- Misc ▾
- Wiki ▾
Retrieved from "http://jojowiki.com/index.php?title=Module:Game_Credits&oldid=919789"