Module:Listing: Difference between revisions

Want an adless experience? Log in or Create an account.
remove TFH and CoH from staging, add HW Characters
(add CoH Bosses to staging)
(remove TFH and CoH from staging, add HW Characters)
Line 81: Line 81:


function p._parseListing( pageName, pageContent )
function p._parseListing( pageName, pageContent )
   if pageName == "The Wind Waker Enemies" or pageName == "Tri Force Heroes Mini-Bosses" or pageName == "Cadence of Hyrule Characters" or pageName == "Cadence of Hyrule Enemies" or pageName == "Cadence of Hyrule Bosses" then pageName = pageName .. "/Staging" end
   if pageName == "The Wind Waker Enemies" or pageName == "Hyrule Warriors Characters" then pageName = pageName .. "/Staging" end
   local pageContent = pageContent or mw.text.killMarkers( mw.getCurrentFrame():expandTemplate{ title = ':' .. pageName, args = {} } )
   local pageContent = pageContent or mw.text.killMarkers( mw.getCurrentFrame():expandTemplate{ title = ':' .. pageName, args = {} } )
   local root = {
   local root = {