Modul:Portal-inline: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
←Membuat halaman berisi 'local getImageName = require( 'Module:Portal' ).image local p = {} local function checkPortalExists(portal) return not (mw.title.makeTitle(100, portal).id == 0) end local trackingEnabled = true -- Check whether to do tracking in this namespace -- Returns true unless the page is one of the banned namespaces local function checkTrackingNamespace() local thisPage = mw.title.getCurrentTitle() if (thisPage.namespace == 1) -- Talk or (thisPage.namespace == 2)...'
 
Tidak ada ringkasan suntingan
Baris 113:
displayName = portals[1]
else
displayName = portals[1] .. "Portal portal" .. portals[1]
end
-- display portal-inline content