Module:Subject bar: Difference between revisions

m
→‎top: clean up, replaced: Wikipedia: → Bharatpedia: (4)
m (1 revision imported)
m (→‎top: clean up, replaced: Wikipedia: → Bharatpedia: (4))
Line 150: Line 150:


     local rows = {}
     local rows = {}
     --[=[ disabled per [[Wikipedia:Village pump (technical)/Archive 176#Suppress rendering of Template:Wikipedia books]]
     --[=[ disabled per [[Bharatpedia:Village pump (technical)/Archive 176#Suppress rendering of Template:Wikipedia books]]
     -- Get the book row text.
     -- Get the book row text.
     local bookHeading = "'''[[Wikipedia:Books|Books]]'''"
     local bookHeading = "'''[[Bharatpedia:Books|Books]]'''"
     local bookSubheading = 'View or order collections of articles'
     local bookSubheading = 'View or order collections of articles'
     local function getBookItemVals(book)
     local function getBookItemVals(book)
Line 163: Line 163:
     ]=]
     ]=]
     -- Get the portal row text
     -- Get the portal row text
     local portalHeading = "'''[[Wikipedia:Contents/Portals|Portals]]'''"
     local portalHeading = "'''[[Bharatpedia:Contents/Portals|Portals]]'''"
     local portalSubheading = 'Access related topics'
     local portalSubheading = 'Access related topics'
     local function getPortalItemVals(portal)
     local function getPortalItemVals(portal)
Line 219: Line 219:
     end
     end
     local sisterHeading = "Find out more on<br />Wikipedia's"
     local sisterHeading = "Find out more on<br />Wikipedia's"
     local sisterSubheading = "'''[[Wikipedia:Wikimedia sister projects|Sister projects]]'''"
     local sisterSubheading = "'''[[Bharatpedia:Wikimedia sister projects|Sister projects]]'''"
     local sisterRow = makeRow(sisterItems, sisterHeading, sisterSubheading, {swapHeadingSize = true})
     local sisterRow = makeRow(sisterItems, sisterHeading, sisterSubheading, {swapHeadingSize = true})
     table.insert(rows, sisterRow)
     table.insert(rows, sisterRow)
Bots, trusted
7,437

edits