Module:Listing: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
stage a few listings that I missed before: TFH Mini-Bosses, CoH Characters and Enemies
(meant to stage WW Enemies not Characters)
(stage a few listings that I missed before: TFH Mini-Bosses, CoH Characters and Enemies)
Line 81: Line 81:


function p._parseListing( pageName, pageContent )
function p._parseListing( pageName, pageContent )
   if pageName == "The Wind Waker Enemies" or pageName:sub(1, 18) == "Breath of the Wild" then pageName = pageName .. "/Staging" end
   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:sub(1, 18) == "Breath of the Wild" 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 = {

Navigation menu