Module:Galbox: 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 40: Line 40:
-- override
-- override
function Galbox:renderContent()
function Galbox: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 )


   -- test if there are no sections at all
   -- test if there are no sections at all