Module:Listbox: Difference between revisions

Want an adless experience? Log in or Create an account.
add AoL, LttP, LA to staging. gonna do all four before going live
(match expanded {{Main}} in the case that it's in a transcluded page)
(add AoL, LttP, LA to staging. gonna do all four before going live)
Line 27: Line 27:
-- override
-- override
function Listbox:renderContent()
function Listbox:renderContent()
   local listing = Listing._parseListing( self.categories[1] == 'The Legend of Zelda' and self.subject .. '/Staging' or self.subject )
   local listing = Listing._parseListing( (self.categories[1] == 'The Legend of Zelda' or self.categories[1] == 'The Adventure of Link' or self.categories[1] == 'A Link to the Past' or self.categories[1] == 'Link\'s Awakening') and self.subject .. '/Staging' or self.subject )


   local content = mw.html.create( 'table' )
   local content = mw.html.create( 'table' )