FANDOM


local Box = {}
local SB = require('Module:Side box')
local Sidebar = require('Module:Sidebar2')
local HF = require('Module:HF')
local L = require('Module:List')
 
function Box.gueststars( frame )
    local guestlist = HF.explode( ";", frame.args[1] )
    local boxargs = { text = "'''Guest Stars'''", image = "[[File:Map symbol theatre 02.svg|40px|link=]]", class = "hlist hwrap plainlinks", style = "text-align: center", below = L.makeList('horizontal', guestlist ) }
    local box = SB._main(boxargs)
    return box
end
 
function Box.gueststars2( frame )
    local guestsidebarargs = { list1title = "Special Guest Stars", list2title = "Supporting Cast", list3title = "Featured Cast", list4title = "Guest Cast", title = "Guest Cast", navbar = "none" }
    if not HF.isempty( frame.args.special ) then 
      guestsidebarargs.list1 = L.makeList('bulleted', HF.explode( ";", frame.args.special ) ) end
    if not HF.isempty( frame.args.supporting ) then
      guestsidebarargs.list2 = L.makeList('bulleted', HF.explode( ";", frame.args.supporting ) ) end
    if not HF.isempty( frame.args.featured ) then 
      guestsidebarargs.list3 = L.makeList('bulleted', HF.explode( ";", frame.args.featured ) )end
    if not HF.isempty( frame.args.guests ) then
      guestsidebarargs.list4 = L.makeList('bulleted', HF.explode( ";", frame.args.guests ) ) end
    if not HF.isempty( frame.args[1] ) then 
      guestsidebarargs.list4 = guestsidebarargs.list4 .. L.makeList('bulleted', HF.explode( ";", frame.args[1] ) ) end
    local boxargs = { text = "'''Guest Stars'''", image = "[[File:Map symbol theatre 02.svg|40px|link=]]", class = "plainlinks", style = "text-align: center" }
     boxargs.below = Sidebar._sidebar( guestsidebarargs )
    local box = SB._main( boxargs )
    return box
end
 
function Box.music(frame)
-- Yeah, the only way to make a table is mw.html. Sucks, but makes sense.
    local musicboxargs = { }
 
end
return Box

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.