Module:Listbox: Difference between revisions

Want an adless experience? Log in or Create an account.
remove TP and ST from staging, remove WW except Enemies which needs work, remove LBW Items (it's already done), add FSA, TFH, and HW
(remove MC from staging, add SS and LBW (leaving WW for now because it needs work))
(remove TP and ST from staging, remove WW except Enemies which needs work, remove LBW Items (it's already done), add FSA, TFH, and HW)
Line 26: Line 26:
-- override
-- override
function Listbox:renderContent()
function Listbox:renderContent()
   local listing = Listing._parseListing( (self.categories[1] == 'Twilight Princess' or self.categories[1] == 'Spirit Tracks' or self.categories[1] == 'The Wind Waker' or self.categories[1] == 'Skyward Sword' or self.categories[1] == 'A Link Between Worlds') and self.subject .. '/Staging' or self.subject )
   local listing = Listing._parseListing( ((self.categories[1] == 'The Wind Waker' and self.categories[3] == 'Enemies') or self.categories[1] == 'Skyward Sword' or (self.categories[1] == 'A Link Between Worlds' and self.categories[3] ~= 'Items') or self.categories[1] == 'Four Swords Adventures' or self.categories[1] == 'Tri Force Heroes' or self.categories[1] == 'Hyrule Warriors') and self.subject .. '/Staging' or self.subject )


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